[lazarus] Newbie Q : Can't find classes.pas...

Mattias Gaertner nc-gaertnma at netcologne.de
Sat Jun 29 11:20:16 EDT 2002


On 29 Jun 2002 21:55:38 +1000
David Creelman <dave at geko.net.au> wrote:

> Sorry,
> 
> pressed the wrong button....
> 
> last part of the output of make OPT=-vat
> 
> [...]
> Unitsearch: gtkint.ppu
> [...]
> Unitsearch: /home/davidc/develop/lazarus/lcl/units/gtk/gtk.ppu
> Unitsearch: /home/davidc/develop/lazarus/lcl/units/gtk/gtk.pp
> Unitsearch: /home/davidc/develop/lazarus/lcl/units/gtk/gtk.pas
> Unitsearch: /home/davidc/develop/lazarus/lcl/units/gtk.ppu
> Unitsearch: /home/davidc/develop/lazarus/lcl/units/gtk.pp
> Unitsearch: /home/davidc/develop/lazarus/lcl/units/gtk.pas
> Unitsearch: gtk.ppu
> Unitsearch: gtk.pp
> Unitsearch: gtk.pas
> Unitsearch: /usr/local/lib/fpc/1.0.6/units/linux/rtl/gtk.ppu
> Unitsearch: /usr/local/lib/fpc/1.0.6/units/linux/rtl/gtk.pp
> Unitsearch: /usr/local/lib/fpc/1.0.6/units/linux/rtl/gtk.pas
> Unitsearch: /usr/local/lib/fpc/1.0.6/units/linux/paszlib/gtk.ppu
> Unitsearch: /usr/local/lib/fpc/1.0.6/units/linux/paszlib/gtk.pp
> Unitsearch: /usr/local/lib/fpc/1.0.6/units/linux/paszlib/gtk.pas
> Unitsearch: /usr/local/lib/fpc/1.0.6/units/linux/inet/gtk.ppu
> Unitsearch: /usr/local/lib/fpc/1.0.6/units/linux/inet/gtk.pp
> Unitsearch: /usr/local/lib/fpc/1.0.6/units/linux/inet/gtk.pas
> Unitsearch: /usr/local/lib/fpc/1.0.6/units/linux/fcl/gtk.ppu
> Unitsearch: /usr/local/lib/fpc/1.0.6/units/linux/fcl/gtk.pp
> Unitsearch: /usr/local/lib/fpc/1.0.6/units/linux/fcl/gtk.pas
> Unitsearch: /usr/local/lib/fpc/1.0.6/units/linux/regexpr/gtk.ppu
> Unitsearch: /usr/local/lib/fpc/1.0.6/units/linux/regexpr/gtk.pp
> Unitsearch: /usr/local/lib/fpc/1.0.6/units/linux/regexpr/gtk.pas
> Unitsearch: /usr/local/lib/fpc/1.0.6/units/linux/mysql/gtk.ppu
> Unitsearch: /usr/local/lib/fpc/1.0.6/units/linux/mysql/gtk.pp
> Unitsearch: /usr/local/lib/fpc/1.0.6/units/linux/mysql/gtk.pas
> Unitsearch: /usr/local/lib/fpc/1.0.6/units/linux/ibase/gtk.ppu
> Unitsearch: /usr/local/lib/fpc/1.0.6/units/linux/ibase/gtk.pp
> Unitsearch: /usr/local/lib/fpc/1.0.6/units/linux/ibase/gtk.pas
> Unitsearch: /usr/local/lib/fpc/1.0.6/units/linux/gtk.ppu
> Unitsearch: /usr/local/lib/fpc/1.0.6/units/linux/gtk.pp
> Unitsearch: /usr/local/lib/fpc/1.0.6/units/linux/gtk.pas
> Unitsearch: /usr/local/lib/fpc/1.0.6/gtk.ppu
> Unitsearch: /usr/local/lib/fpc/1.0.6/gtk.pp
> Unitsearch: /usr/local/lib/fpc/1.0.6/gtk.pas
> gtkint.pp(74,11) Fatal: Can't find unit GTK

These are only the unit paths provided by the Makefile. Where are the standard unitpaths to the fpc packages?
Normally the following line in your /etc/fpc.cfg should add them:
-Fu/usr/lib/fpc/1.0.6/units/$target/*

Can you plz make sure that your standard unitpath is setup correct. Plz invoke:
ppc386 -vt bogus
Does it contain the /usr/local/lib/fpc/1.0.6/units/linux/gtk path?


Mattias






More information about the Lazarus mailing list