[lazarus] hello

Mattias Gaertner nc-gaertnma at netcologne.de
Sun Feb 9 11:20:05 EST 2003


On Thu, 06 Feb 2003 10:00:09 +0100
Julius Chrobak <chrobak9 at kepler.fmph.uniba.sk> wrote:

> problems with compiling Lazarus...
> I downloaded all the unit from ftp.us.freepascal.org, and copy them to 
> my /usr/local/... directories...
> I have instaled fpc 1.0.7, and system SuSE 8.1
> and then I try to compile source of lazarus, and get error message:
> 
> Compiling interfacebase.pp
> interfacebase.pp(44,10) Fatal: Can't compile unit CLASSES, no sources 
> available
> 
> please write me what should I do..

Probably your fpc.cfg is not setup correct. The unit path does not contain
the path to classes.ppu. If for example your classes.ppu is

/usr/local/lib/fpc/1.0.7/units/linux/fcl/classes.ppu 

then in fpc.cfg there should be lines like

-Fu/usr/local/lib/fpc/1.0.7/units/$target
-Fu/usr/local/lib/fpc/1.0.7/units/$target/*
-Fu/usr/local/lib/fpc/1.0.7/units/$target/rtl


Also check the FAQ.


Mattias






More information about the Lazarus mailing list