Haiku Os lazarus / 3-General ---------------------------------------------------------------------- ecalogiuri · 2010-03-04 08:35 hi boys... I just noticed that fpc was released for Haiku  I want to know if i can compile Lazarus source code for this OS... Thanks to all... ---------------------------------------------------------------------- skalogryz · 2010-03-04 08:38 if you're using svn version, then you can: http://bugs.freepascal.org/view.php?id=15519 ---------------------------------------------------------------------- ecalogiuri · 2010-03-04 10:09 G R E A T !!!! but sorry for my ignorance, How can I apply the patch? Only in linux? ---------------------------------------------------------------------- skalogryz · 2010-03-04 12:50 Why don't you just check out Lazarus svn version? http://wiki.freepascal.org/Creating_A_Patch#Applying_a_patch Patches can be applied in any OS.  You can even apply the patch manually, the patch syntax is quite simple. are you using Haiku OS natively or via any VM? ---------------------------------------------------------------------- ecalogiuri · 2010-03-05 07:04 Via virtualbox, for now... Thanks for the tip. ---------------------------------------------------------------------- SunyD · 2010-03-06 06:23 I compiled one example from befpc with fpc 2.4.0 last week. befpc: http://sourceforge.net/projects/befpc/ Befpc is native haiku-gui. Maybe it can be used for lazarus. Here is some screenshots: ---------------------------------------------------------------------- marcov · 2010-03-06 10:56 Contact Olivier, he showed me a Lazarus under Haiku on FOSDEM.  (gtk2 or QT based, can't remember) ---------------------------------------------------------------------- ecalogiuri · 2010-03-08 08:45 Thanks to all, in a few days I will try to compile lazarus and a my program. We'll let you know if everything is ok. ---------------------------------------------------------------------- ecalogiuri · 2010-03-10 10:10 Well, i have installed fpc in Haiku and all work fine. But when compiling the sources of lazarus (get via svn and modified width patch for haiku) i have this messages: dialogs.pp(541,2) Error: Resource file are not supported for this target dialogs.pp(542,2) Error: Resource file are not supported for this target Compiling ./widgetset/wsdialogs.pp wsdialogs.pp(115,1) Fatal: There where 2 errors compiling module, stopping Fatal: Compilation aborted make[1]: *** [alllclunits.ppu] Error 1 make[1]: Leaving directyory '/boot/home/Desktop/lazarus/lcl' make: *** [lcl] Error 2 can someone help me? Thanks to all. ---------------------------------------------------------------------- marcov · 2010-03-11 09:17 Quote from: ecalogiuri on March 10, 2010, 11:10:23 amWell, i have installed fpc in Haiku and all work fine. But when compiling the sources of lazarus (get via svn and modified width patch for haiku) i have this messages: dialogs.pp(541,2) Error: Resource file are not supported for this target dialogs.pp(542,2) Error: Resource file are not supported for this target Compiling ./widgetset/wsdialogs.pp wsdialogs.pp(115,1) Fatal: There where 2 errors compiling module, stopping Fatal: Compilation aborted make[1]: *** [alllclunits.ppu] Error 1 make[1]: Leaving directyory '/boot/home/Desktop/lazarus/lcl' make: *** [lcl] Error 2 can someone help me? Thanks to all. Afaik I've seem commits relating to Haiku resource support. It is probably fixed post 2.4.0 ---------------------------------------------------------------------- CaptBill · 2012-08-12 04:46 I am attempting to compile the svn/fpcbuild on Haiku and have hit a snag. I am getting a "iVSPTPSOTO: command not found". I suspect I am not specifying the target correctly or not sending all the needed variables, etc. The WIKI has been down for hours unfortunately. This is an old thread and Haiku has since updated to GCC4 and I wonder of the implications for installing Lazarus/FPC. Do the patches still apply? I do know that some improving is going on for Haiku (implements the changes the wiki says you must do). Anyone know where Haiku stands today? I tried these make commands: make TARGET=i386-linux make install TARGET=i386-linux make clean all make make all etc... Thanks ---------------------------------------------------------------------- Leledumbo · 2012-08-12 07:52 QuoteI am getting a "iVSPTPSOTO: command not found"The makefile can't find the compiler somehow, either try explicitly providing it via PPC= when calling make or ensure it exists in PATH. ---------------------------------------------------------------------- CaptBill · 2012-08-12 16:11 Yep, I checked and compiler is there but apparently didn't check for FPC path too. Thanks Leledumbo. ---------------------------------------------------------------------- tatamata · 2012-12-31 11:24 Hello. I have tried to install Lazarus in the last Haiku OS. Everything done according to http://wiki.freepascal.org/Installing_Lazarus_on_Haiku, But, when execute "make LCL_PLATFORM=qt", I get the error: Code: [Select]Compiling lazarus.pp Compiling resource ../units/i386-haiku/qt/lazarus.or Linking ../lazarus /boot/develop/tools/gnupro/bin/ld: cannot find -llocale lazarus.pp(133,1) Error: Error while linking lazarus.pp(133,1) Fatal: There were 1 errors compiling module, stopping Fatal: Compilation aborted make[2]: *** [lazarus] Error 1 make[2]: Leaving directory `/boot/home/apps/lazarus/ide' make[1]: *** [ide] Error 2 make[1]: Leaving directory `/boot/home/apps/lazarus/ide' make: *** [ide] Error 2 ~/apps/lazarus> /code] How to solve this? ---------------------------------------------------------------------- tatamata · 2012-12-31 17:05 OK, I have found a dirty solution. It seems that "/boot/develop/tools/gnupro/bin/ld: cannot find -llocale" is due to missing liblocale.so library. There is however /boot/system/lib/libbe.so library, so I simlinked /boot/system/lib/libbe.so as "liblocale.so" wherever there was normal simlink as "libbe.so". This enabled normal lazarus installation. ---------------------------------------------------------------------- tatamata · 2012-12-31 18:32 Hm...sqldb database connections do not work for Haiku? It seems that zeosdbo package also can't be installed?