Forum > Linux

gtkint.pp(50,13) Fatal: Can't find unit GLIB

(1/1)

Anonymous:
make[1]: Entering directory `/home/me/Downloads/Apps/lazarus'
/usr/bin/ppc386 -gl -Fulcl/units/i386/linux -Fulcl/units/i386/linux/gtk -Fucomponents/units/i386/linux -Fucomponents/custom -Fucomponents/mpaslex -Fudesigner -Fudesigner/units -Fudebugger -Fuideintf/units -Fupackager -Fupackager/units/i386/linux -Fu. -Fu/usr/lib/fpc/1.0.10/units/linux/rtl -Fu/usr/lib/fpc/1.0.10/units/linux/paszlib -Fu/usr/lib/fpc/1.0.10/units/linux/netdb -Fu/usr/lib/fpc/1.0.10/units/linux/libasync -Fu/usr/lib/fpc/1.0.10/units/linux/pthreads -Fu/usr/lib/fpc/1.0.10/units/linux/fcl -Fu/usr/lib/fpc/1.0.10/units/linux/regexpr -Fu/usr/lib/fpc/1.0.10/units/linux/mysql -Fu/usr/lib/fpc/1.0.10/units/linux/ibase -Fu/usr/lib/fpc/1.0.10/units/linux/sqlite -Fiinclude -Fiinclude/linux -FE. -Fl/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3 -Fl/opt/blackdown-jdk-1.4.1/jre/lib/i386/ -Fl/opt/blackdown-jdk-1.4.1/jre/lib/i386/classic/ -Fl/opt/blackdown-jdk-1.4.1/jre/lib/i386/native_threads/ -Fl/usr/X11R6/lib -Fl/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3 -Fl/usr/lib/mozilla -Fl/usr/lib/opengl/nvidia/lib -Fl/usr/local/lib -Fl/usr/qt/3/lib -di386 lazarus.pp
gtkint.pp(50,13) Fatal: Can't find unit GLIB
make[1]: *** [lazarus] Error 1
make[1]: Leaving directory `/home/scott/Downloads/Apps/lazarus'
make: *** [ide] Error 2

Vincent Snijders:
See FAQ:
When compiling lazarus the compiler can not find a unit. e.g.: Fatal: Can't find unit GLIB
Edit the right config file.

HTH,
Vincent

Anonymous:

--- Quote from: "Vincent" ---See FAQ:
When compiling lazarus the compiler can not find a unit. e.g.: Fatal: Can't find unit GLIB
Edit the right config file.

HTH,
Vincent
--- End quote ---
I looked at the FAQ and there seems to be a substantial ammt of post-install configuration required, when can we expect a more comprehensive install script or distro-specific rpm's made avail.  I understand that the main focus is on developing the app however, it seems like many non-guru coders will not feel comfortable using Lazarus until this occurs, any help w/ easier (i.e. a complete/scripted and/or rpm/deb/etc.. install) would greatly improve the way new programmers and win32 "defectors" appreciate Lazarus.  Thanks in advance for any of this additional help you (or someone out there) could provide.

Vincent Snijders:
There are rpm's and a win32 installer available at:
http://sourceforge.net/project/showfiles.php?group_id=89339

They are supposed to work right out of the box, no with post-install configuration.
If you find any problem with your configuration afterwards, please tell, so it can be fixed.

dirk-g:
You can build Lazarus in following steps:

1.Download fpcsrc****.tgz
2.extract it to i.e. /home/xxx/fpc
3.Copy the makepack script form /home/xxx/fpc/install to the fpc-root dir.  I.e. to /home/xxx/fpc
4.run makepack
5.now you have an file named fpc-xxx.tar
6.extract it
7.run ./install.sh
8.if you run fpc then it must show as version your new compiled version
9.if it show an ppc386 error, create a new link in /usr/local/bin with :
  ln -sf /usr/local/lib/fpc/1.9.3/ppc386 /usr/local/bin/ppc386
10.extract the lazarus source
11.run make
12.if you get the error GLIB not found, edit the fpc.cfg
   include
  -Fu/usr/local/lib/fpc/$version/units/$target
  -Fu/usr/local/lib/fpc/$version/units/$target/*
  -Fu/usr/local/lib/fpc/$version/units/$target/rtl
   and run make

Navigation

[0] Message Index

Go to full version