[fpc-devel] new install on Linux

Graeme Geldenhuys graemeg.lists at gmail.com
Fri Mar 10 11:06:44 CET 2006


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
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.

graemeg at porky:/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
graemeg at porky:/opt/lazarus$


  - Graeme -

More information about the fpc-devel mailing list