LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices



Reply
 
Search this Thread
Old 02-14-2003, 11:17 AM   #1
t1mc00per
Member
 
Registered: Jan 2003
Location: Midlands, England
Distribution: Mandrake 9.0, Slackware 8.1
Posts: 76

Rep: Reputation: 15
Please also check that PKG_CONFIG_PATH contains ${libdir}/pkgconfig


I'm installing libgphoto and the configure script tells me to:

"Please also check that PKG_CONFIG_PATH contains ${libdir}/pkgconfig"

How do I do this? I've typed echo $PATH and it doesn't mention anything like this, so what do I do?
 
Old 02-14-2003, 11:20 AM   #2
je_fro
Member
 
Registered: Nov 2002
Location: /texas/austin/home/desk
Distribution: Gentoo
Posts: 341

Rep: Reputation: 30
Maybe....

That may be something in your /etc/profile.
or perhaps /.bash_profile?
??

Or maybe something in the configure script of the package you're installing?

Last edited by je_fro; 02-14-2003 at 11:21 AM.
 
Old 02-14-2003, 11:26 AM   #3
t1mc00per
Member
 
Registered: Jan 2003
Location: Midlands, England
Distribution: Mandrake 9.0, Slackware 8.1
Posts: 76

Original Poster
Rep: Reputation: 15
I don't think so. I can't find a /.bash_profile and /etc/profile doesn't look helpful.

Is it something to do with typing ln -s ?
I think I'm trying to add a directory to my $PATH, or is it to a $PKG_CONFIG_PATH?
 
Old 02-14-2003, 11:30 AM   #4
t1mc00per
Member
 
Registered: Jan 2003
Location: Midlands, England
Distribution: Mandrake 9.0, Slackware 8.1
Posts: 76

Original Poster
Rep: Reputation: 15
Yeah it says this in the readme:

"Please check the output of the configure script for whether all
desired libraries have been detected correctly. E.g., you might
have to add the path where libusb-config resides to your PATH
before running configure."

I know the directory, but how do I add it to my PATH?
 
Old 02-14-2003, 11:33 AM   #5
je_fro
Member
 
Registered: Nov 2002
Location: /texas/austin/home/desk
Distribution: Gentoo
Posts: 341

Rep: Reputation: 30
EXPORT

export PATH=$PATH:/dir/you/want/to/add (that's a colon between $PATH and /dir)

or you could add it to
/home/yourname/bash_profile

Last edited by je_fro; 02-14-2003 at 11:34 AM.
 
Old 02-14-2003, 11:39 AM   #6
t1mc00per
Member
 
Registered: Jan 2003
Location: Midlands, England
Distribution: Mandrake 9.0, Slackware 8.1
Posts: 76

Original Poster
Rep: Reputation: 15
Sorry, that was just me being lazy and not working it out by myself.
One last thing: I've got "PATH=$PATH:$HOME/bin"
in .bash_profile, is it OK to just add the new directory on the end of this statement, seperated by a colon, or do I add it on the next line?
 
Old 02-14-2003, 11:58 AM   #7
je_fro
Member
 
Registered: Nov 2002
Location: /texas/austin/home/desk
Distribution: Gentoo
Posts: 341

Rep: Reputation: 30
Sure!

You can add it. (colon separated)
Note that the order listed is the order in which your computer looks for stuff.
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Make and configure: odd libdir problem Rendaw Linux - Software 4 09-24-2005 05:47 PM
problems with pkgconfig cloudnyne132 Linux - Software 1 11-08-2004 11:13 PM
pkgconfig issues garretwp Linux - Software 3 04-09-2004 10:36 AM
Boot disk; check. CD in drive; check. Doesn't work; check. Hal DamnSmallLinux 7 02-04-2004 03:10 AM
pkgconfig TechHarper Linux - General 2 11-10-2003 06:47 PM


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