LinuxQuestions.org
Visit Jeremy's Blog.
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 06-17-2004, 12:52 PM   #1
jsaxton86
LQ Newbie
 
Registered: Jun 2004
Location: Minneapolis, MN, USA
Distribution: Debian (etch)
Posts: 12

Rep: Reputation: 0
./configure problems


Hello,

I am relatively new to Linux. I have been running various distributions for about 2 weeks, and decided to stick with SuSE 9.1, which I have been using for about the past week. Today I tried to install aMule, a cross platform eDonkey client. I followed the installation instructions (amule.org/wiki/index.php/Compilation_Installation I can't post URLs yet, I need 5 posts) to a T, and I thought everything had been done sucessfully. However, after I installed the aMule tarball it would not work. I tried reinstalling everything, and finally but I came across an error while trying to install wxGTK+ (well, technically it was when I typed ./configure). It basically refused to install, for reasons I cannot decipher. Here is the log:

Code:
linux:/home/john/wxGTK-2.4.2 # ./configure --prefix=/usr --disable-gtk2 --with-gtk && make
loading cache ./config.cache
checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
loading argument cache configarg.cache
checking for --enable-gui... yes
... (this part was omitted, becasue it simply says "checking for XXX"
checking for GTK+ version...
checking for gtk-config... no
checking for GTK - version >= 1.2.7... no
*** The gtk-config script installed by GTK could not be found
*** If GTK was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the GTK_CONFIG environment variable to the
*** full path to gtk-config.
checking for gtk-config... (cached) no
checking for GTK - version >= 1.2.3... no
*** The gtk-config script installed by GTK could not be found
*** If GTK was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the GTK_CONFIG environment variable to the
*** full path to 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.
Logically, I downloaded the latest GTK+ libraries (2.4.3). I ran ./configure and ran into problems, again.

Code:
checking for pkg-config... no
*** The pkg-config script could not be found. Make sure it is
*** in your path, or set the PKG_CONFIG environment variable
*** to the full path to pkg-config.
*** Or see freedesktop.org/software/pkgconfig to get pkg-config. (can't post URLs, sorry)
configure: error: Library requirements (glib-2.0 >= 2.4.0    atk >= 1.0.1    pango >= 1.4.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.
Again, I did the logical thing and went to freedesktop.org/software/pkgconfig to get pkg-config (0.15.0). Something finally appeared to install without errors, logs (lengthy and probably not important) will be posted at request.

Now that pkg-config was installed I went back to installing GTK+. Again, I got the same error when I tried to run ./configure. I got the same error.

Code:
*** The pkg-config script could not be found. Make sure it is
*** in your path, or set the PKG_CONFIG environment variable
*** to the full path to pkg-config.
*** Or see freedesktop.org/software/pkgconfig to get pkg-config.
configure: error: Library requirements (glib-2.0 >= 2.4.0    atk >= 1.0.1    pango >= 1.4.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.
I know for a fact that I have pkg-config now. I would assume that I would just have to tell the installer (my semantics are probably wrong, please correct me and forgive me if this is so) where it is (that is what I assumed the error message was saying anyway). I couldn't figure out how to do this, and google wasn't much help (I probably didn't know how to go around looking for what I needed). Any help would be greatly appriciated.

Thanks!
 
Old 06-17-2004, 01:07 PM   #2
aliiscool
Member
 
Registered: Oct 2003
Location: New Jersey
Distribution: Slackware 9.1(current tree)
Posts: 32

Rep: Reputation: 15
Library requirements (glib-2.0 >= 2.4.0 atk >= 1.0.1 pango >= 1.4.0)

umm do u have those deps? its probably one of those thats giving you hell.
 
Old 06-17-2004, 01:14 PM   #3
darkarcon2015
Member
 
Registered: Jun 2004
Location: Potsdam, NY
Distribution: Fedora Core 6
Posts: 201

Rep: Reputation: 30
Oh boy, I had these same problems when using KNOPPIX 3.4, what a hassel. I eventually stopped trying to get it to work. Good luck.
 
Old 06-17-2004, 01:22 PM   #4
Andrew Benton
Senior Member
 
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
I notice you ./configured wxGTK with --prefix=/usr, where did you install pkg-config? If you didn't use --prefix=/somewhere it will install in the default location, /usr/local, with the actual pkg-config binary in /usr/local/bin. Is /usr/local/bin not in your $PATH? To find out use
echo $PATH
 
Old 06-17-2004, 01:23 PM   #5
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
You need to
export PKG_CONFIG_PATH=/usr/lib/pkgconfig
or wherever the 'pc' files are.

Why they say 'the PKG_CONFIG environment variable' when it seems to be the 'PKG_CONFIG_PATH environment variable', I dunno. Maybe it is, but I got an annoying tarball or two (or several) to work with that.
 
Old 06-17-2004, 01:27 PM   #6
jsaxton86
LQ Newbie
 
Registered: Jun 2004
Location: Minneapolis, MN, USA
Distribution: Debian (etch)
Posts: 12

Original Poster
Rep: Reputation: 0
Thanks fro your responses; I really appriciate them.

Ok, I tried resolving those dependencies, but ran into similar problems. I started with glib. When I ran ./configure I got:

Code:
checking for pkg-config... no
configure: error: *** pkg-config not found. See http://www.freedesktop.org/software/pkgconfig/
Next I tried to install ATK. Here's the error I got when I ran, guess what, ./configure

Code:
checking for pkg-config... no
checking for GLIB - version >= 2.0.0... no
*** A new enough version of pkg-config was not found.
*** See http://www.freedesktop.org/software/pkgconfig/
configure: error:
*** GLIB 2.0.0 or better is required. The latest version of
*** GLIB is always available from ftp://ftp.gtk.org/.
GLIB is a dependency, but it wouldn't install, so there wasn't anything I could do about that except move on to pango. Of course, when I ran .configure it asked me to get pkg-config again. I probably just need to the installer where it is. I can't seem to figure that out. Again, any help is greatly appriciated.

Thanks!
 
Old 06-17-2004, 03:34 PM   #7
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 53
Re: ./configure problems

Quote:
Originally posted by jsaxton86
be posted at request.

Now that pkg-config was installed I went back to installing GTK+. Again, I got the same error when I tried to run ./configure. I got the same error.

whenever you fix a configure error make sure you delete the config.cache file in the top dir
or better yet just delete the entire folder and untar again to get a new start........
some rocket scientist along the way decided to have some configure
scripts "remember" cache errors and then just repeat them without actually retrying.
 
Old 06-18-2004, 12:00 AM   #8
l32
LQ Newbie
 
Registered: Jun 2004
Distribution: Mandrake 10
Posts: 23

Rep: Reputation: 15
I have similar problem with you when I tried to install aMule. However I tried to use the RPM installers and all worked well.

I used Mandrake 10 however, I'm not sure about SUSE. since I'm a newbie too.
 
  


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
X Configure problems? Firewielder Linux - Hardware 9 11-02-2005 05:21 AM
Problems with ./configure PeterWelzien Slackware 16 07-08-2004 02:46 PM
./configure problems poacher Linux - Software 1 09-11-2002 01:11 AM
./configure problems KeithKessler Linux - General 5 07-15-2002 03:02 PM
./configure problems fritzlero Linux - General 0 10-23-2000 12:34 PM

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

All times are GMT -5. The time now is 02:10 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