LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 05-01-2005, 02:47 AM   #1
chippy73
LQ Newbie
 
Registered: Apr 2005
Location: S.W.Wales
Distribution: Mandrake
Posts: 12

Rep: Reputation: 0
PKG_CONFIG_PATH editing


I am using Mandrake 10.1, and am trying to install Anjuta.

When I do ./config I eventually get something like....

Libxxxxx not found. Try changing the PKG_CONFIG_PATH environment variable so that it knows where the library is.

The library that it is complaining about is installed, obviously not in the right place for the PKG_CONFIG_PATH file.

How do I edit, and where is this PKG_CONFIG_PATH ???

Any help welcomed.

Alan
 
Old 05-01-2005, 02:55 AM   #2
Dark_Helmet
Senior Member
 
Registered: Jan 2003
Posts: 2,786

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
PKG_CONFIG_PATH is an environment variable. From the man page for pkg-config:
Code:
       PKG_CONFIG_PATH
              A  colon-separated  (on  Windows,  semicolon-separated)  list of
              directories to search for .pc files.  The default directory will
              always be searched after searching the path; the default is lib-
              dir/pkgconfig where libdir is the libdir  where  pkg-config  was
              installed.
You'll need to find the .pc file associated with the library and add that to the end of PKG_CONFIG_PATH just as you would if you were editing PATH. You can do it as a one-time thing on the command line like so:
Code:
export PKG_CONFIG_PATH=${PKG_CONFIG_PATH}:your_library_dir_here
Or you can edit /etc/profile to make the change permanent.
 
Old 05-01-2005, 03:00 AM   #3
Boow
Member
 
Registered: Feb 2004
Distribution: Slackware 10.2
Posts: 669

Rep: Reputation: 32

Last edited by Boow; 05-01-2005 at 04:24 PM.
 
Old 05-01-2005, 03:37 AM   #4
chippy73
LQ Newbie
 
Registered: Apr 2005
Location: S.W.Wales
Distribution: Mandrake
Posts: 12

Original Poster
Rep: Reputation: 0
Mmmm.

Well libgnomeprint-2.6.2 is in /usr/lib but I don't see any .pc file there. Did a search but it didn't find anything relating to the lib with .pc on the end.

Any ideas please?

Alan
 
Old 05-01-2005, 03:48 AM   #5
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
rpm distro's split their packages, you need the -devel package:

libgnomeprint-xxxx-devel
 
Old 05-01-2005, 04:27 AM   #6
chippy73
LQ Newbie
 
Registered: Apr 2005
Location: S.W.Wales
Distribution: Mandrake
Posts: 12

Original Poster
Rep: Reputation: 0
Well, had a look on my 4 CD's but nothing there. Did a search on the net but still can't find anything with dev on the end.

Think I'll not bother. It's giving me a headache !! It's too complicated for me.

Thanks for your help.

Alan
 
Old 05-01-2005, 05:08 AM   #7
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
http://mirrors.usc.edu/pub/linux/dis...86/media/main/

libgnomeprint2-2_0-devel-2.6.2-1mdk.i586.rpm

this is what you want from the link above, acquired from google
 
Old 05-01-2005, 06:54 AM   #8
chippy73
LQ Newbie
 
Registered: Apr 2005
Location: S.W.Wales
Distribution: Mandrake
Posts: 12

Original Poster
Rep: Reputation: 0
OK, found that OK, thanks. Also needed the libgnomeprintui. Found that in the same place.

Then needed vte.

Downloaded it. Then I needed vte.pc. Eventually found it. Copied across to the pkgconfig folder and eventually got Anjuta to compile/make/make install successfully.

Phew !!! What a parlaver !!

Thanks for all your help.

Alan
 
  


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 rlnd Linux - Software 15 03-06-2009 03:26 PM
PKG_CONFIG_PATH problems Vindane Linux - Software 9 03-15-2005 04:59 PM
Pkg_config_path Kiwi UK Linux - Software 5 12-18-2004 02:36 PM
Pkg_config_path box_l Mandriva 3 08-03-2004 05:53 AM
Pkg_config_path kilgore_trout Linux - Software 0 09-08-2003 01:18 PM


All times are GMT -5. The time now is 04:30 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration