LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-04-2005, 11:42 AM   #1
yumener
Member
 
Registered: Oct 2005
Posts: 63

Rep: Reputation: 15
about PKG_CONFIG and *.pc


hello

I have a problem in PKG_CONFIG setting.

I want to compile source of gaim-1.5.0, it asked for
silc and silcclient library. I did installed these
two library and it is located at /usr/share/lib/silc/lib

but when I run configure in gaim-1.5.0 install dir, it
complains that can not find silc.pc, silcclient.pc,

I want to know do I need to create slic.pc and silcclient.pc
by myself? because I saw silc.pc.in and silcclient.pc.in in
the source dir of silc. but silc.pc does not exist /usr/lib/pkgconfig

In which cases, the installaton process of a library will
create *.pc in /usr/lib/pkgconfig ?

Y
 
Old 12-04-2005, 01:45 PM   #2
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
check in /usr/share/lib/silc/ for a directory called pkgconfig, if this is the install root this is where the files will be. If they are there ( /usr/share/lib/silc/pkgconfig), then do the following:

Code:
export PKG_CONFIG_PATH=/usr/share/lib/silc/pkgconfig:$PKG_CONFIG_PATH
what this does is set another path for pkg-config to look in for .pc files. you would be better off though installing silc and silc-client in a more standard place
like /usr/local or /opt or wherever you like to install to.
 
  


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 and LD_LIBRARY problems web250 Mandriva 1 06-24-2005 08:53 AM
PKG_CONFIG Probelm GomiCowboy Linux - Newbie 5 04-30-2003 06:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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