READ ME !! Problems with gtk+-2.2.4
Im running suse 8.2 and due to compiling problems I needed to upgrade gtk libs.
I compiled + ldconfig: atk-1.2.4.tar.gz glib-2.2.3.tar.gz pango-1.2.5.tar.gz pkgconfig-0.14.0.tar.gz all of them into /usr [./configure --prefix=/usr] Everything went fine, every tarball compiled with no problems nor errors. I even exported CPPFLAGS LDFLAGS PKG_CONFIGPATH LD_LIBRARY_PATH PATH as it says in the tutorial from gtk.org The problem is that when I try to compile any tarbal such as xmms-1.2.8 I get this error: checking for glib-config... checking for GLIB - version >= 1.2.2... ./configure: line 1: /usr/lib/glib-2.0: is a directory ./configure: line 1: /usr/lib/glib-2.0: is a directory ./configure: line 1: /usr/lib/glib-2.0: is a directory ./configure: line 1: /usr/lib/glib-2.0: is a directory ./configure: line 1: /usr/lib/glib-2.0: is a directory no *** Could not run GLIB test program, checking why... *** The test program failed to compile or link. See the file config.log for the *** exact error that occured. This usually means GLIB was incorrectly installed *** or that you have moved GLIB since it was installed. In the latter case, you *** may want to edit the glib-config script: /usr/lib/glib-2.0 configure: error: *** GLIB >= 1.2.2 not installed - please install first *** I checked it and: /usr/lib/glib-2.0 empty ./include > there is only one file > glibconfig.h where should glib-config be? thanks in advance |
I ran into similar problems when I upgraded my glib. I ended up re-installing to the lastest release of my distro so I can't tell you the exact steps. Although IIRC I had to uninstall my old glib before I could use the upgrade. Another thing you can try is making symbolic links to what it's looking for until it works (long and slow, but it's worked in the past on MANY apps I've installed). Hope this helps. :)
|
do you know where is glib-config in? The compilation did not create that file. Do I have to do it myself?
I do know where everything went because I prefixed everything :P thanks |
Try typing locate glib-config and you should see wherever it is located.
|
thanks, but that command does not exist in suse :(
|
that command WILL exist wherever you have glib installed, which you do not. you have got Glib2 installed, which is NOT the same thing at all. exactly the same difference as Gtk adn Gtk2. you don't seem to realise that xmms does not use gtk2....
|
oh. then what should I install first to make things work ?
thanks in advance |
gtk and glib
|
any particular version? thanks a lot for you help acid_kewpie
|
the newest ones... remember this is NOT gtk2, and glib2... i think it's gtk 1.4 and glib 1.2
|
OK, I will do it all over again from the scratch :)
thank you both Texicle and Acid_kewpie for your help |
NP, but acid_kewpie was far more helpful than I was. I didn't really give it much time when I was playing around with them as I got a new computer shortly after I had the problem, so I just installed the latest slack on it and away it went. :)
Good luck with it. BTW, you don't have to do it all over again. Just grab those 2 packages and install them. That should be all you need to do to get whatever needs them running. :) |
no when Im compiling gtk+-1.3.15 I get this error:
checking for XOpenDisplay in -lX11... no configure: error: *** libX11 not found. I also tried: ./configure --x-libraries=/usr/X11R6/lib --x-include=/usr/X11R6/include/X11 --prefix=/usr I verified the installed rpms: rpm -qa | grep XFree86-devel XFree86-devel-4.3.0-111 I also checked the libs: /usr/X11R6/lib libX11.a libX11.so symlink to libX11.so.6.2 libX11.so.6 symlink to libX11.so.6.2 libX11.so.6.2 any ideas ??? thanks |
All times are GMT -5. The time now is 08:46 PM. |