LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 01-28-2006, 07:02 PM   #1
Ross Clement
Member
 
Registered: Jun 2003
Location: UK
Distribution: Redhat 9 (work) Fedora 1 (home)
Posts: 171

Rep: Reputation: 30
Problems compiling from source


When I try to compile apps from source, I frequently get apps that complain about dependencies even though I have the dependency.

As an example, running ./configure for om-synth complains "checking for gtkmm-2.4... Package gtkmm-2.4 was not found in the pkg-config search path."

It then goes on to say "Perhaps you should add the directory containing `gtkmm-2.4.pc' to the PKG_CONFIG_PATH environment variable".

I certainly have gtkmm-2.4, and the -devel package as well. I got the same complains for jack-audio-connection-kit, and liblo. In both cases I had installed from source and various ".pc" files were present in the source directories. Adding those to PKG_CONFIG_PATH got me past those errors, but I installed gtkmm-2.4 and the devel package for it by rpm managed by yum.

What exactly does the above error, asking for the '.pc' files mean, and how can I fix this problem?

I've had this same problem of asking for the directories with the .pc files before, and assume that there is something basic that I don't know. Could some please fill me in?

Thanks in anticipation,

Ross-c
 
Old 01-28-2006, 07:35 PM   #2
paragn
Member
 
Registered: Jan 2006
Distribution: Red Hat EL5, Fedora 7
Posts: 259

Rep: Reputation: 30
hi,
check where those libraries are present on you system and then add that directory to /etc/ld.so.conf and then give ldconfig command. then check whether you are getting again same error or not?
 
Old 01-28-2006, 07:57 PM   #3
BinJajer
Member
 
Registered: Sep 2005
Location: Warsaw, Poland
Distribution: Slackware 10.2, Caldera OpenLinux 3.1, Corel Linux (Thanks xhi!), Debian GNU/HURD etc...
Posts: 296
Blog Entries: 1

Rep: Reputation: 30
check where the lib is, do an echo $PKG_CONFIG_PATH , copy the output and do an export PKG_CONFIG_PATH=(output)(the path to your lib).
In other words, just do what it says.
 
  


Reply



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
problems with compiling from source PKG_CONFIG_PATH ISSUES Nadim Slackware 7 01-20-2005 05:37 PM
If you're having problems regarding stability, compiling source,or RPMS read This! Eagle_Y Mandriva 0 05-28-2004 04:26 PM
Problems Compiling GTK C++ Source Code drdroid Programming 17 04-10-2004 07:08 PM
problems compiling from source in RH9 smirnoff Linux - Newbie 13 01-21-2004 09:11 AM
Problems with compiling source code cav Linux - General 4 02-06-2003 12:47 AM

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

All times are GMT -5. The time now is 01:35 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
Open Source Consulting | Domain Registration