LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 08-13-2004, 07:49 PM   #1
or3st3s
LQ Newbie
 
Registered: Aug 2004
Location: argentina
Distribution: mandrake 9.2
Posts: 2

Rep: Reputation: 0
./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
 
Old 08-13-2004, 09:35 PM   #2
doug_s
Member
 
Registered: Apr 2004
Posts: 82

Rep: Reputation: 15
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 ?
 
Old 08-14-2004, 02:21 PM   #3
or3st3s
LQ Newbie
 
Registered: Aug 2004
Location: argentina
Distribution: mandrake 9.2
Posts: 2

Original Poster
Rep: Reputation: 0
Unhappy

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????
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 ./configure error invinciblegod Linux - General 7 07-24-2005 03:09 AM
Help!!! I can't resolve a gtk+ 2.4.7 configure error RJARRRPCGP Linux - Newbie 1 11-22-2004 03:08 AM
GTK+ 2.4.4 configure error NoxVampyre Linux - Software 9 08-04-2004 07:56 PM
gtk+-2.2.3 configure error. eye Linux - Software 7 11-20-2003 09:21 AM
can't configure GTK!-gtk-gnutella ogkyusa Linux - Software 2 08-09-2003 05:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 08:23 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration