Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
SUSE / openSUSE This Forum is for the discussion of Suse Linux.


  Search this Thread
Old 02-06-2006, 02:05 AM   #1
LQ Newbie
Registered: Jan 2006
Distribution: SLES, RH9
Posts: 15

Rep: Reputation: 0
How to set the path for pkg-config??

I have a problem installing gaim in SLES 9. When I tried to configure(./configure)the source file, I get an error message showing that pkg-config is missing and it failed to find glib2. But I've already installed both! So, what is the problem here? At the end of the configuration, it also says something about PKG_CONFIG_PATH. Actually, what is that? Hope someone can help me takcle this problem. TQ
Old 02-06-2006, 02:20 AM   #2
Senior Member
Registered: Mar 2004
Location: Munich
Distribution: SuSE, Ubuntu
Posts: 3,513

Rep: Reputation: 58
If pkg-config is installed it can be found in /usr/bin, so you could run ./configure PKG_CONFIG_PATH=/usr/bin. But usually this should not be required. In case of glib2, make sure the 'devel' package is installed. Also check the version requirement of your software.
Old 02-06-2006, 11:53 PM   #3
Registered: Feb 2005
Location: Seattle WA USA
Distribution: openSUSE 10.2 / Kubuntu 7.04
Posts: 46

Rep: Reputation: 15
Lightbulb A few ideas...

Have you seen these write-ups?

How to build RPMs for SuSE 9.2 x86_64

How to Build Gaim for SUSE Linux 9.1...

I have done the compile thing with Gaim before, but have since forgotten what I learned. I ultimately gave up on compiling, and my solution for apps like Gaim was to find a few reliable YAST repositories where I could get the latest stable versions. With Gaim in particular, it's difficult to get a compatible version of gaim-encryption, but I get mine from the Guru site now:

Guru's RPM Site: Home Packages Network gaim

If you have other reasons for wanting to compile, then I'd be interested to hear them. I only ask because it seems like you're trying to mix oil and water. SLES 9 came out in August of 2004, and you're trying to install a cutting edge desktop app like Gaim 1.5.

Good luck,
Old 02-07-2006, 08:24 PM   #4
LQ Newbie
Registered: Jan 2006
Distribution: SLES, RH9
Posts: 15

Original Poster
Rep: Reputation: 0
Smile Continueee...

Hi again,

Hey Brett, thanks for the info and url. It certainly give me new knowledge.

FYI, I've already done it before(compiling gaim1.5) and successfully installed it. But I forgot the steps how I accomplished the job and having a difficult time remembering it.Hehe...

Right now, I'm facing a new problem. The pkg-config is now working, but the gtk+ seems have gone missing.

checking for pkg-config... /usr/local/bin/pkg-config
checking for GLIB - version >= 2.0.0... yes (version 2.2.3)
checking for pkg-config... (cached) /usr/local/bin/pkg-config
checking for GTK+ - version >= 2.0.0... 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 occurred. This usually means GTK+ is incorrectly installed.configure: error:
*** GTK+ 2.0 is required to build Gaim; please make sure you have the GTK+
*** development headers installed. The latest version of GTK+ is
*** always available at
I checked with the yast and found that gtk2 (version 2.2.4) was already installed(or did I ). I don't know if I have to configure gtk or not in this case. Any idea?

Last edited by westman; 02-07-2006 at 08:26 PM.
Old 02-07-2006, 09:16 PM   #5
LQ Guru
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 75
You need to install the development packages of gtk2 and glib2, not just the binaries. Search for gtk and glib using yast and you should find the development (devel) packages.


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
Set the path systemwide/Set the path for a user with Slackware jayhel Slackware 1 06-12-2005 12:24 AM
pkg-config help gexzd Linux - Newbie 14 05-03-2004 10:27 AM
How to set PATH How do I set PATH environment variable? Tranquil Linux - Newbie 3 11-02-2003 02:52 AM
pkg-config TraCe66 Linux - Newbie 1 07-01-2003 02:56 PM
pkg-config Keebler Linux - Software 2 04-30-2003 02:10 PM > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

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

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration