LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-12-2004, 09:21 PM   #1
looper
Member
 
Registered: Apr 2003
Posts: 68

Rep: Reputation: 15
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

Last edited by looper; 01-13-2004 at 05:50 AM.
 
Old 01-13-2004, 11:04 AM   #2
Texicle
Member
 
Registered: Oct 2002
Location: Northern Ontario, Canada
Distribution: Slackware 10.0
Posts: 789

Rep: Reputation: 30
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.
 
Old 01-13-2004, 01:17 PM   #3
looper
Member
 
Registered: Apr 2003
Posts: 68

Original Poster
Rep: Reputation: 15
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
 
Old 01-13-2004, 01:45 PM   #4
Texicle
Member
 
Registered: Oct 2002
Location: Northern Ontario, Canada
Distribution: Slackware 10.0
Posts: 789

Rep: Reputation: 30
Try typing locate glib-config and you should see wherever it is located.
 
Old 01-13-2004, 02:29 PM   #5
looper
Member
 
Registered: Apr 2003
Posts: 68

Original Poster
Rep: Reputation: 15
thanks, but that command does not exist in suse
 
Old 01-13-2004, 02:48 PM   #6
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
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....

Last edited by acid_kewpie; 01-13-2004 at 02:50 PM.
 
Old 01-13-2004, 02:50 PM   #7
looper
Member
 
Registered: Apr 2003
Posts: 68

Original Poster
Rep: Reputation: 15
oh. then what should I install first to make things work ?

thanks in advance
 
Old 01-13-2004, 02:53 PM   #8
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
gtk and glib
 
Old 01-13-2004, 02:54 PM   #9
looper
Member
 
Registered: Apr 2003
Posts: 68

Original Poster
Rep: Reputation: 15
any particular version? thanks a lot for you help acid_kewpie
 
Old 01-13-2004, 02:55 PM   #10
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
the newest ones... remember this is NOT gtk2, and glib2... i think it's gtk 1.4 and glib 1.2
 
Old 01-13-2004, 02:57 PM   #11
looper
Member
 
Registered: Apr 2003
Posts: 68

Original Poster
Rep: Reputation: 15
OK, I will do it all over again from the scratch

thank you both Texicle and Acid_kewpie for your help
 
Old 01-13-2004, 04:23 PM   #12
Texicle
Member
 
Registered: Oct 2002
Location: Northern Ontario, Canada
Distribution: Slackware 10.0
Posts: 789

Rep: Reputation: 30
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.
 
Old 01-13-2004, 08:35 PM   #13
looper
Member
 
Registered: Apr 2003
Posts: 68

Original Poster
Rep: Reputation: 15
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
GTK problems . . . lydgate Slackware 2 10-08-2005 10:24 PM
Problems with GTK davholla Linux - Software 4 04-07-2005 08:23 AM
gtk problems derfaust Linux - Software 2 06-19-2004 03:34 AM
GTK install problems oudent Linux - Software 0 01-05-2003 07:07 PM
GTK Problems natesch Linux - General 2 05-09-2002 04:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:13 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration