Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2002-11

Compiling problems

3 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Jason Cox

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?
Thanks
Jason

-------------- next part --------------
A non-text attachment was scrubbed...
Name: pgp00000.pgp
Type: application/octet-stream
Size: 188 bytes
Desc: "This is a digitally signed message part"
Url : http://localhost/pipermail/lazarus/attachments/20021121/cbfc4d36/pgp00000.obj

Reply by email

Peter Vreman
to Jason Cox
you wrote 33 lines
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

Reply by email

David Creelman
to Jason Cox: Its been a while since I had lazarus up and running ( several Problematic MDK9 installs…

Hi Jason,

I had this problem too.

There are a bunch of units in the 1.0.7 directory which can be downloaded onto your machine. The one you want is unitsgtk...gz

This is what's inside it.
drwxr-xr-x fpc/users 0 2002-11-04 12:35:04 lib/ drwxr-xr-x fpc/users 0 2002-11-04 12:35:04 lib/fpc/ drwxr-xr-x fpc/users 0 2002-11-04 12:35:04 lib/fpc/1.0.7/ drwxr-xr-x fpc/users 0 2002-11-04 12:35:04 lib/fpc/1.0.7/units/ drwxr-xr-x fpc/users 0 2002-11-04 12:35:04 lib/fpc/1.0.7/units/linux/
drwxr-xr-x fpc/users 0 2002-11-04 12:35:05 lib/fpc/1.0.7/units/linux/gtk/
-rw-r--r-- fpc/users 86 2002-11-04 12:35:04 lib/fpc/1.0.7/units/linux/gtk/Package.fpc
-rw-r--r-- fpc/users 100115 2002-11-04 12:35:04 lib/fpc/1.0.7/units/linux/gtk/glib.ppu
-rw-r--r-- fpc/users 3037 2002-11-04 12:35:04 lib/fpc/1.0.7/units/linux/gtk/gmodule.ppu
-rw-r--r-- fpc/users 163204 2002-11-04 12:35:04 lib/fpc/1.0.7/units/linux/gtk/gdk.ppu
-rw-r--r-- fpc/users 515998 2002-11-04 12:35:05 lib/fpc/1.0.7/units/linux/gtk/gtk.ppu
-rw-r--r-- fpc/users 21644 2002-11-04 12:35:05 lib/fpc/1.0.7/units/linux/gtk/gdkpixbuf.ppu
-rw-r--r-- fpc/users 9976 2002-11-04 12:35:05 lib/fpc/1.0.7/units/linux/gtk/glib.o
-rw-r--r-- fpc/users 2468 2002-11-04 12:35:05 lib/fpc/1.0.7/units/linux/gtk/gdk.o
-rw-r--r-- fpc/users 56028 2002-11-04 12:35:05 lib/fpc/1.0.7/units/linux/gtk/gtk.o
-rw-r--r-- fpc/users 1060 2002-11-04 12:35:05 lib/fpc/1.0.7/units/linux/gtk/gdkpixbuf.o
-rw-r--r-- fpc/users 14030 2002-11-04 12:35:05 lib/fpc/1.0.7/units/linux/gtk/gtkglarea.ppu
-rw-r--r-- fpc/users 796 2002-11-04 12:35:05 lib/fpc/1.0.7/units/linux/gtk/gtkglarea.o

Tony's list of needed units probably needs to be updated now to include some of these ?

Hope this helps.

Cheers
DC

Jason Cox wrote 35 lines
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? Thanks Jason

Reply by email