[lazarus] compiling error -- can not find the unit GTK

Alexander Reiter r.alex at utanet.at
Mon May 13 16:42:45 EDT 2002

hello all,

  i have changed the compiler from 1.0.6-beta. but since this time, i got
  an error message during compiling the latest cvs-source of lazarus.
  where can i fix the path /usr/lib/fpc/1.0.6/linux/gtk so that the 
  compiler search always in this directory ? i have already change the
  fpc.cfg file, but it seems not used during compiling lazarus ?

  thanks a lot in advance.

best regards, alex

here is the error message during compiling:

/usr/bin/ppc386 -gl -Fu../../lcl/units/gtk -Fu../../lcl/units -Fu. 
-Fu/usr/lib/fpc/1.0.6/units/linux/inet -Fu/usr/lib/fpc/1.0.6/units/linux/fcl 
-Fu/usr/lib/fpc/1.0.6/units/linux/ibase -FU../units 
-Fl/usr/lib/gcc-lib/i486-suse-linux/2.95.3 -Fl/usr/X11R6/lib/Xaw95 
-Fl/usr/X11R6/lib/Xaw3d -Fl/usr/X11R6/lib -Fl/usr/i486-linux/lib 
-Fl/usr/i486-linux-libc5/lib=libc5 -Fl/usr/i486-linux-libc6/lib=libc6 
-Fl/usr/i486-linuxaout/lib -Fl/usr/i386-suse-linux/lib -Fl/usr/local/lib 
-Fl/usr/openwin/lib -Fl/opt/kde/lib -Fl/opt/kde2/lib -Fl/opt/kde3/lib 
-Fl/opt/gnome/lib -Fl/opt/gnome2/lib -di386 allunits.pp
Free Pascal Compiler version 1.0.6-beta [2002/04/30] for i386
Copyright (c) 1993-2002 by Florian Klaempfl
Target OS: Linux for i386
Compiling allunits.pp
gtkint.pp(17,16) Fatal: Can't find unit GTK
make[2]: *** [allunits.ppu] Fehler 1
make[2]: Verlassen des Verzeichnisses Verzeichnis 
make[1]: *** [synedit_all] Fehler 2
make[1]: Verlassen des Verzeichnisses Verzeichnis 
make: *** [components] Fehler 2

More information about the Lazarus mailing list