LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Mandriva (https://www.linuxquestions.org/questions/mandriva-30/)
-   -   ./configure gtk error (https://www.linuxquestions.org/questions/mandriva-30/configure-gtk-error-217323/)

or3st3s 08-13-2004 06:49 PM

./configure gtk error
 
hi!...
well... i'm newbie with linux, im running a mdk 9.2, the thing is i'm trying to install wxWindows son i can install lmule, the thing is that when i run ./configure I get the next thing:

checking for gtk-config... /usr/bin/gtk-config
checking for GTK - version >= 1.2.7...
*** 'gtk-config --version' returned 1.2.9, but GTK+ (1.2.10)
*** was found! If gtk-config was correct, then it is best
*** to remove the old version of GTK+. You may also be able to fix the error
*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing
*** /etc/ld.so.conf. Make sure you have run ldconfig if that is
*** required on your system.
*** If gtk-config was wrong, set the environment variable GTK_CONFIG
*** to point to the correct copy of gtk-config, and remove the file config.cache
*** before re-running configure
no
checking for gtk-config... (cached) /usr/bin/gtk-config
checking for GTK - version >= 1.2.3...
*** 'gtk-config --version' returned 1.2.9, but GTK+ (1.2.10)
*** was found! If gtk-config was correct, then it is best
*** to remove the old version of GTK+. You may also be able to fix the error
*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing
*** /etc/ld.so.conf. Make sure you have run ldconfig if that is
*** required on your system.
*** If gtk-config was wrong, set the environment variable GTK_CONFIG
*** to point to the correct copy of gtk-config, and remove the file config.cache
*** before re-running configure
no
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.


so i erased the config.cache file and ran it like this, only cause i saw it
somewhere else

./configure --with-gtk-prefix=/usr/bin

this apparently solved the problem but this other error came up:

checking for GTK+ version...
checking for gtk-config... /usr/bin/bin/gtk-config
checking for GTK - version >= 1.2.7... ./configure: line 1: /usr/bin/bin/gtk-config: No such file or directory
./configure: line 1: /usr/bin/bin/gtk-config: No such file or directory
./configure: line 1: /usr/bin/bin/gtk-config: No such file or directory
./configure: line 1: /usr/bin/bin/gtk-config: No such file or directory
./configure: line 1: /usr/bin/bin/gtk-config: No such file or directory
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/bin/gtk-config
checking for gtk-config... (cached) /usr/bin/bin/gtk-config
checking for GTK - version >= 1.2.3... ./configure: line 1: /usr/bin/bin/gtk-config: No such file or directory
./configure: line 1: /usr/bin/bin/gtk-config: No such file or directory
./configure: line 1: /usr/bin/bin/gtk-config: No such file or directory
./configure: line 1: /usr/bin/bin/gtk-config: No such file or directory
./configure: line 1: /usr/bin/bin/gtk-config: No such file or directory
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/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.



sooo... i'm lost....could somebody please help me????
thx

doug_s 08-13-2004 08:35 PM

This is a guess but could you do

urpmi libgtk+1.2-devel

at the command line to see if you have the headers and libraries installed ?

or3st3s 08-14-2004 01:21 PM

thanks doug!

that command returned: everything is installed.
i actually fixed it uninstalling everything and installing all those packages again, but now when i run make install so that lmule compiles i get this:

/usr/bin/ld: cannot find -lxrc
collect2: ld returned 1 exit status
make[2]: *** [lmule] Error 1
make[2]: Leaving directory `/home/or3st3s/Documents/lmule-1.2.1/src'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/or3st3s/Documents/lmule-1.2.1/src'
make: *** [install-recursive] Error 1

after i installed the wxWindows i got a meeagge saing that i had tu ran ldconfig, which i did. may thats realted...
any guesses????


All times are GMT -5. The time now is 01:56 AM.