LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 02-03-2005, 10:16 PM   #1
wmustudent99
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.

Thanks
 
Old 02-04-2005, 04:00 AM   #2
vangelis
Member
 
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

echo $PKG_CONFIG_PATH
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
__J
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.
 
  


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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:10 PM.

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