Comments on lazarus (free pascal delphi like ide) on ubuntu (amd64)
Download x86-64 (or i386) free pascal binary package from sf.nettar -xvf fpc-2.0.0.x86_64-linux.tarsudo sh install.sh
4 Comment(s)
Comments
A normal size screenshot whould have been nice.... I couldn't even find any screenshot on the sf.net page :(
I followed your instructions on my Breezy X86_64 Ubuntu install and it all worked great until I tried to build the source using: make build
It fails with this error:
/opt/fpc/bin/ppcx64 -Ur -Ur -Xs -n -Fi../inc -Fi../x86_64 -Fi../unix -Fix86_64 -FE. -FU/opt/fpc/rtl/units/x86_64-linux -dx86_64 -dRELEASE ../unix/cthreads.pp
cthreads.pp(600,30) Error: Incompatible types: got "<address of function(Pointer, QWord, TThreadFunc, Pointer, LongWord,var LongInt):LongInt;Register>" expected "<procedure variable type of function(Pointer, LongWord, TThreadFunc, Pointer, LongWord,var Lo
cthreads.pp(646) Fatal: There were 1 errors compiling module, stopping
cthreads.pp(646) Error: Compilation aborted
------
a google search leads to this bug posting:
http://www.freepascal.org/bugs/showrec.php3?ID=4527
I am unable to get past this problem at this time but thanks for the info on the rest!
I have updated the article with new fpc version
http://ovh.dl.sourceforge.net/sourceforge/freepascal/fpc-2.0.2.source.tar.gz
Very nice. Complete, clear and extact. Thanks a lot, this got be running in no time.
I installing on suse 9.2 with apt4suse
I just had to adjust the package names to the suse equiv. like gdk-pixbuf-devel . Using apt search if needed.
The only thing that really needs changing is in editing the Makefile.
Ubuntu/debs identifies itself $OSTYPE=darwin
so the test fails and laz compiles as for win32 platform.
My suse and gentoo systems identify as linux
Once I'd spotted that it worked beautifully.
Thanks again for posting a thorough guide.