Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problem with gtk
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
suizide_efnet
n00b
n00b


Joined: 13 Mar 2003
Posts: 4

PostPosted: Thu Mar 13, 2003 2:38 pm    Post subject: Problem with gtk Reply with quote

If I try to install something that needs gtk, I get an error like this:

----------------------
checking for glib-config... /usr/bin/glib-config
checking for GLIB - version >= 1.2.2... yes
checking for gtk-config... /usr/bin/gtk-config
checking for GTK - version >= 1.2.2... no
*** Could not run GTK 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 GTK was incorrectly installed
*** or that you have moved GTK since it was installed. In the latter case, you
*** may want to edit the gtk-config script: /usr/bin/gtk-config
configure: error: *** GTK+ >= 1.2.2 not installed - please install first ***

------------------


jokke root # gtk-config --version
1.2.10

I have installed the lastest x11-libs/gtk+ (2.2.1), but gtk-config shows 1.2.10, and the installation doesn't find either.

Anyone that could tell me what I've done wrong? It's probably a user-fault.. But I can't figure out what.

- Jørn
Back to top
View user's profile Send private message
suizide_efnet
n00b
n00b


Joined: 13 Mar 2003
Posts: 4

PostPosted: Thu Mar 13, 2003 5:21 pm    Post subject: Reply with quote

I found that I had to 'emerge gtk+-1.2.10' to get it to work. Aren't gtk+-2.2.1 an update of gtk+-1.2.10? ..
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Thu Mar 13, 2003 7:28 pm    Post subject: Reply with quote

The 2 series is not backwards compatible with the 1 series.
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
hazelb030
n00b
n00b


Joined: 13 Mar 2003
Posts: 17

PostPosted: Thu Mar 13, 2003 8:32 pm    Post subject: Reply with quote

i installed both but i've the same problem.

checking for gtk-config... /usr/bin/gtk-config
checking for GTK - version >= 1.2.7... no
*** Could not run GTK 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 GTK was incorrectly installed
*** or that you have moved GTK since it was installed. In the latter case, you
*** may want to edit the gtk-config script: /usr/bin/gtk-config
checking for gtk-config... (cached) /usr/bin/gtk-config
checking for GTK - version >= 1.2.3... no
*** Could not run GTK 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 GTK was incorrectly installed
*** or that you have moved GTK since it was installed. In the latter case, you
*** may want to edit the gtk-config script: /usr/bin/gtk-config
configure: error:
Please check that gtk-config is in path, the directory
where GTK+ libraries are installed (returned by
'gtk-config --libs' command) is in LD_LIBRARY_PATH or
equivalent variable and GTK+ is version 1.2.3 or above.


my ld.so.conf:
/usr/local/lib
/usr/lib
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2
/usr/lib/opengl/nvidia/lib
/usr/lib/mozilla
/usr/X11R6/lib
/opt/blackdown-jdk-1.4.1/jre/lib/i386/
/opt/blackdown-jdk-1.4.1/jre/lib/i386/native_threads/
/usr/qt/3/lib
/usr/kde/3.1/lib
/usr/lib/fltk-1.1


USE-FLAG gtk is set
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum