LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   ./configure? (https://www.linuxquestions.org/questions/slackware-14/configure-211879/)

Alan Lakin 07-31-2004 01:30 PM

./configure?
 
I downloaded the source and compiled and installed all of the software required to get my digital camera working with slack last year. I cannot recall having any problems. It all went very smoothly. Well, I look after a very similar specked box for my sister-in-law. Guess what, she has just purchased a digital camera. I thought "no-probs, I can sort that out for you".

I first downloaded the source (stable) for libgphoto2 and did a default ./configure && make && checkinstall. Fine. Then I tried to do the same for gphoto2. The configure script errored because it could not find libgphoto2. It mentioned that I should set the variable path for PKG_CONFIG_PATH. I ran ./configure --help and looked at all of the options and tried a few things but cannot get the message across. I need to tell it to look in /usr/local/lib/pkgconfig. It appears to be looking in /usr/local/pkgconfig which does not exist on my system.

What is the simplist way to get this to work?

The only difference between this install and the last one is that I was running Slack9.0 and have since upgraded to 9.1 whereas this install is on Slack9.1.

Very puzzling :confused:

jailbait 07-31-2004 01:34 PM

"What is the simplist way to get this to work?"

Create a symbolic link from where ./configure is looking to where the file really is:

ln -s /usr/local/lib/pkgconfig /usr/local/pkgconfig

-----------------------
Steve Stites

Alan Lakin 07-31-2004 03:58 PM

Doh! I knew it would be staring me in the face. That's what two weeks of holiday does ;)

Thanks.

theYinYeti 08-02-2004 02:55 AM

Else you can use the PKG_CONFIG_PATH, which is IMO a better idea.

Yves.


All times are GMT -5. The time now is 11:04 AM.