[lazarus] Compiling problems

Peter Vreman peter at freepascal.org
Thu Nov 21 16:17:49 EST 2002


At 20:24 21-11-2002, you wrote:
>Hi all,
>Its been a while since I had lazarus up and running ( several
>Problematic MDK9 installs latter ), downloaded the fpc from
>
>www.lazarus.freepascal.org and the cvs for lazarus.
>the problem occurs while compiling lazzarus. It bombs out in the ide
>with :
>
>make --assume-new=lazarus.pp lazarus
>make[1]: Entering directory `/usr/src/lazarus'
>/usr/bin/ppc386 -gl -Fucomponents/custom -Fulcl/units -Fulcl/units/gtk
>-Fudesigner -Fudesigner/units -Fudebugger -Fucomponents/units -Fu.
>-Fu/usr/lib/fpc/1.0.7/units/linux/rtl
>-Fu/usr/lib/fpc/1.0.7/units/linux/paszlib
>-Fu/usr/lib/fpc/1.0.7/units/linux/inet
>-Fu/usr/lib/fpc/1.0.7/units/linux/fcl
>-Fu/usr/lib/fpc/1.0.7/units/linux/regexpr
>-Fu/usr/lib/fpc/1.0.7/units/linux/mysql
>-Fu/usr/lib/fpc/1.0.7/units/linux/ibase -Fiinclude -Fiinclude/linux -FE.
>-Fl/usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.2 -Fl/usr/local/lib
>-Fl/usr/lib -Fl/lib -Fl/usr/X11R6/lib -Fl/usr/lib/qt3/lib -di386
>lazarus.pp
>Free Pascal Compiler version 1.0.7 [2002/09/21] for i386
>Copyright (c) 1993-2002 by Florian Klaempfl
>Target OS: Linux for i386
>Compiling lazarus.pp
>gdkpixbuf.pp(48,13) Fatal: Can't find unit GLIB
>make[1]: *** [lazarus] Error 1
>make[1]: Leaving directory `/usr/src/lazarus'
>make: *** [ide] Error 2
>
>all other glib and gtk stuff compiles.
>Any ideas?

The gtk unit directory is not in the commandline. Add 
/usr/lib/fpc/$VERSION/units/$TARGET/* to your fpc.cfg (or ppc386.cfg).




Peter






More information about the Lazarus mailing list