[fpc-devel] new install on Linux

Peter Vreman peter at freepascal.org
Fri Mar 10 11:20:36 CET 2006


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

Use option -vt to see where fpc looks.
Configure paths in fpc.cfg
For the makefiles you can add FPCDIR=/opt/fpc to specify which fpc
isntallation it shall use.






More information about the fpc-devel mailing list