LinuxQuestions.org
Help answer threads with 0 replies.
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 11-19-2003, 02:11 PM   #1
bhodi
LQ Newbie
 
Registered: Oct 2003
Location: Netherlands
Distribution: Slackware
Posts: 22

Rep: Reputation: 15
Adding a dir to PKG_CONFIG_PATH


Hi,

I added a dir containing the pygtk-2.0.pc to my PKG_CONFIG_PATH environment variable but when doing a ./configure I still get the message:

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

looking at my path it shows:

# echo $PKG_CONFIG_PATH
/usr/local/lib/pkgconfig/pygtk-2.0.pc


So it's there?!

Am I missing something here?

grz
 
Old 11-19-2003, 02:54 PM   #2
Andrew Benton
Senior Member
 
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
Yes, it doesn't need the full path, just the path leading up to pygtk-2.0.pc. Try

export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig

Sometimes it's useful to include /usr/lib/pkgconfig to. I have

export PKG_CONFIG_PATH=/usr/lib/pkgconfig:/usr/local/lib/pkgconfig

in ~.bashrc so the variable is set each time I open a terminal. Hope this helps. Good luck.
 
  


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_path box_l Mandriva 3 08-03-2004 05:53 AM
adding a dir to PATH for root Villain Linux - Newbie 3 06-20-2004 04:49 PM
howto make a dir shared that is not in my home dir Schmurff Linux - Newbie 2 06-19-2004 08:54 PM
krecipes and ./configure -with-qt-dir=DIR disco rugby Linux - Software 4 06-13-2004 10:06 PM
Adding default Dir to New user Accounts Joshsawyer77 Linux - General 2 01-25-2003 03:38 PM


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