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 - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-31-2004, 01:30 PM   #1
Alan Lakin
Member
 
Registered: Sep 2002
Location: Wallington, Surrey, UK
Distribution: Ubuntu, Android phone
Posts: 119

Rep: Reputation: 15
./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
 
Old 07-31-2004, 01:34 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,340

Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
"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
 
Old 07-31-2004, 03:58 PM   #3
Alan Lakin
Member
 
Registered: Sep 2002
Location: Wallington, Surrey, UK
Distribution: Ubuntu, Android phone
Posts: 119

Original Poster
Rep: Reputation: 15
Doh! I knew it would be staring me in the face. That's what two weeks of holiday does

Thanks.
 
Old 08-02-2004, 02:55 AM   #4
theYinYeti
Senior Member
 
Registered: Jul 2004
Location: France
Distribution: Arch Linux
Posts: 1,897

Rep: Reputation: 66
Else you can use the PKG_CONFIG_PATH, which is IMO a better idea.

Yves.
 
  


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
Configure dhcpd (Configure DHCP Server) hanserver2004 LinuxQuestions.org Member Success Stories 3 10-23-2006 06:39 AM
ardour wont configure: configure: error: C preprocessor "/lib/cpp" fails sanity check disciple061 Linux - Software 4 01-22-2005 12:35 PM
Configure dhcpd (Configure DHCP Server) hanserver2004 General 1 08-16-2004 01:39 PM
How to use GNU autoconf to generate a new configure from configure.in ?? vanhelsing Programming 5 08-05-2004 10:02 AM
configure: error: when trying to install / configure new software ? met tomfer007 Linux - Software 1 07-25-2004 03:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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