LinuxQuestions.org
Visit Jeremy's Blog.
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 07-18-2006, 03:45 PM   #1
needlern32724
LQ Newbie
 
Registered: Apr 2006
Location: Zip 32724
Distribution: gentoo
Posts: 2

Rep: Reputation: 0
pkg-config - how do I make a .pc file?


I'm trying to compile a cvs version of libofx. It's configure warns of not being able to find a particular "libxml++-1.0" (libxml). Then make fails due to the libxml not being found.

I have libxml++-1.0 soft linked to libxml++-1.0.5 in my pkgconfig dir. If I can figure out how to make it into libxml++-1.0.5.pc, that should resolve the problem (I hope).

Please tell me how to make a .pc file.

Thank you,
Bill
 
Old 07-18-2006, 03:59 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
if you want to fudge one yourself just look at other ones already on your system and modify to suit your needs
 
Old 07-19-2006, 10:33 AM   #3
needlern32724
LQ Newbie
 
Registered: Apr 2006
Location: Zip 32724
Distribution: gentoo
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks for the quick reply, Chris. I took a look at fudging it, but it did not look like something that I could figure out how to do (without copying some libraries to different places than normal).

Did some more reading and found that a .pc file comes with a package, if it is to exist at all. So, for the hell of it, I re-compiled the program and there was the .pc file!

I guess I forgot that simple troubleshooting technique about 3 days ago when it first stumped me.

Thanks again,
Bill
 
  


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
make file don't work ??? .config ??? supergrey Linux - Software 1 04-17-2006 03:54 AM
DPKG & "files list file for package `pkg-config' contains empty filename" error :( Angelus Debian 2 04-02-2005 07:34 AM
bash scripting - how to make config file? Neorio Programming 3 10-22-2004 06:39 AM
make .config file from bzImage luponec Linux - Software 3 05-02-2004 03:58 AM
I can't make sshd like my config file Travis86 Linux - Networking 5 07-28-2003 09:23 PM

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

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