Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 02-03-2005, 10:16 PM   #1
LQ Newbie
Registered: Feb 2005
Posts: 1

Rep: Reputation: 0
Problems with PKG-Config

I seem to be having lots of problems compile stuff because I get an error with PKG-Config every time.

Here is an example. When I try to install airsnort

checking for gtk+-2.0 >= 2.0.0... Package gtk+-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk+-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtk+-2.0' found

I have checked Yast and gtk+-2.0 is installed.

Old 02-04-2005, 04:00 AM   #2
Registered: Nov 2004
Location: Hellas
Distribution: Zenwalk 6.4
Posts: 337
Blog Entries: 4

Rep: Reputation: 30
i think you should find in which directory gtk+-2.0.pc file is under and then do:
export PKG_CONFIG_PATH=(full path of the directory which the *.pc file is under, in my SuSE is under /usr/lib/pkgconfig)

then do

it should print the path for the environment variable. You can do this also before you do "export" to see in which dir the variable was set.
Old 02-04-2005, 05:34 AM   #3
Senior Member
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
on suse you will have to have gtk2-devel installed (it should be named something along those lines) to have the .pc file on your system.


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
pkg-config sinXposed Linux - Software 12 10-30-2008 06:48 AM
pkg-config version problems Spooled Linux - Software 0 09-04-2005 05:53 PM
I got problems with pkg-config and pango Boogieman Mandriva 1 09-11-2003 09:45 PM
pkg-config TraCe66 Linux - Newbie 1 07-01-2003 03:56 PM
pkg-config Keebler Linux - Software 2 04-30-2003 03:10 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:12 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
Open Source Consulting | Domain Registration