View previous topic :: View next topic |
Author |
Message |
suizide_efnet n00b
Joined: 13 Mar 2003 Posts: 4
|
Posted: Thu Mar 13, 2003 2:38 pm Post subject: Problem with gtk |
|
|
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 |
|
|
suizide_efnet n00b
Joined: 13 Mar 2003 Posts: 4
|
Posted: Thu Mar 13, 2003 5:21 pm Post subject: |
|
|
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 |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20067
|
Posted: Thu Mar 13, 2003 7:28 pm Post subject: |
|
|
The 2 series is not backwards compatible with the 1 series. _________________ Quis separabit? Quo animo? |
|
Back to top |
|
|
hazelb030 n00b
Joined: 13 Mar 2003 Posts: 17
|
Posted: Thu Mar 13, 2003 8:32 pm Post subject: |
|
|
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 |
|
|
|