Lazarus
Installation => General => Topic started by: ecalogiuri on March 04, 2010, 09:35:51 am
-
hi boys...
I just noticed that fpc was released for Haiku >:D >:D
I want to know if i can compile Lazarus source code for this OS...
Thanks to all...
-
if you're using svn version, then you can: http://bugs.freepascal.org/view.php?id=15519
-
G R E A T !!!!
but sorry for my ignorance, How can I apply the patch? Only in linux?
-
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?
-
Via virtualbox, for now... Thanks for the tip.
-
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:
-
Contact Olivier, he showed me a Lazarus under Haiku on FOSDEM. (gtk2 or QT based, can't remember)
-
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.
-
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.
-
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.
Afaik I've seem commits relating to Haiku resource support. It is probably fixed post 2.4.0
-
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
-
I am getting a "iVSPTPSOTO: command not found"
The makefile can't find the compiler somehow, either try explicitly providing it via PPC=<path/to/fpc/or/ppcxxx> when calling make or ensure it exists in PATH.
-
Yep, I checked and compiler is there but apparently didn't check for FPC path too. :-[
Thanks Leledumbo.
-
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:
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?
-
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.
-
Hm...sqldb database connections do not work for Haiku?
It seems that zeosdbo package also can't be installed?