Hi, I am new to developing under Linux and installing fpc/lazarus on Linux. I downloaded the FPC 2.0.2 .tar.gz file. Unpacked it, and ran ./install.sh Selected /opt/fpc as my install path. Everything seem to have gone fine. Added /opt/fpc/bin to my PATH. Ran fpc -i and got the correct output
If I try and compile any sample application or Lazarus (using make all), I get this error. Fatal: Can't find unit System The full output is below. Am I supposed to put something else in my path or LD_LIBRARY path to find the fpc compiled units? I am running Ubuntu 5.10 and have all the dev packages I could find or think of installed. -------------------------------- [EMAIL PROTECTED]:/opt/lazarus$ make all Makefile:3511: warning: overriding commands for target `examples' Makefile:3473: warning: ignoring old commands for target `examples' make -C lcl all make[1]: Entering directory `/opt/lazarus/lcl' /bin/rm -f units/i386-linux/alllclunits.ppu /opt/fpc/bin/ppc386 -gl -Fu. -Funonwin32 -Fuwidgetset -Fiinclude -FE. -FUunits/i386-linux -Fl/usr/lib/gcc/i486-linux-gnu/4.0.2 -Fl/usr/lib/libc5-compat -Fl/lib/libc5-compat -Fl/usr/i486-linuxlibc1/lib -di386 alllclunits.pp Free Pascal Compiler version 2.0.2 [2005/12/07] for i386 Copyright (c) 1993-2005 by Florian Klaempfl Target OS: Linux for i386 Compiling alllclunits.pp Fatal: Can't find unit System Fatal: Compilation aborted make[1]: *** [alllclunits.ppu] Error 1 make[1]: Leaving directory `/opt/lazarus/lcl' make: *** [lcl] Error 2 [EMAIL PROTECTED]:/opt/lazarus$ -------------------------------- Regards, - Graeme - _________________________________________________________________ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives