LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 07-01-2003, 03:15 PM   #1
TraCe66
LQ Newbie
 
Registered: Jun 2003
Posts: 11

Rep: Reputation: 0
Cool pkg-config


Hi all

Can you guys help me out how to use pkg-config and how to add the path in the pkg-config so that it can recoganize all the gtk or glib i install.

I am facing problem how to this: -

checking for sigc++-1.2 >= 1.2.0 glib-2.0 >= 2.2.0 gobject-2.0 >= 2.2.0 gmodule-2.0 >= 2.2.0... Package sigc++-1.2 was not found in the pkg-config search path.
Perhaps you should add the directory containing `sigc++-1.2.pc'
to the PKG_CONFIG_PATH environment variable
No package 'sigc++-1.2' found

configure: error: Library requirements (sigc++-1.2 >= 1.2.0 glib-2.0 >= 2.2.0 gobject-2.0 >= 2.2.0 gmodule-2.0 >= 2.2.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.


HOW TO GO ABOUT IT AND HOW TO PUT THE PATH!!!!! SO THAT THE PKG-CONFIG CAN FIND OUT>

TraCe66
------------------------------------------------------------------------------------------
Somethings can change but something can not.
 
Old 07-01-2003, 03:56 PM   #2
contrasutra
Guru
 
Registered: Mar 2003
Location: New Jersey
Distribution: Arch Linux
Posts: 1,445

Rep: Reputation: 46
First, make sure you have sigc++ installed.

Then type:

export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig

That will only stay for that terminal session, so dont exit that terminal until you are done installing the program.

Also, it may not be in that location, though thats the norm. do a:

su -c "updatedb"
locate "sigc++-1.2.pc"

Look for the directory that contains "pkgconfig".
 
  


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 brimble2010 Suse/Novell 3 05-19-2008 09:01 AM
pkg-config supersucker Linux - Software 3 09-07-2004 10:45 AM
pkg-config help gexzd Linux - Newbie 14 05-03-2004 11:27 AM
How do i use PKG-Config? A1Ph4 Linux - Software 1 08-08-2003 10:06 PM


All times are GMT -5. The time now is 07:51 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration