LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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 04-14-2005, 01:24 PM   #1
Rodotheos
LQ Newbie
 
Registered: Apr 2005
Location: Greece
Distribution: openSuSE 10.3
Posts: 25

Rep: Reputation: 15
Problem installing Bluefish. pkg-config missing


I'm trying to install bluefish and I'm getting the following error message:

pkg-config not found please install pkg-config

during the ./configure face

I have downloaded and install successfully the pkgconfig.0.17.2 into the usr/local directory but I still receive the same error message.
Why it can't see the pkg-config? Have I installed in a wrong place?

Thank you in advance,
Rodo
 
Old 04-14-2005, 01:42 PM   #2
kevinatkins
Member
 
Registered: Jan 2004
Location: cheshire, uk
Distribution: Ubuntu Hoary
Posts: 605

Rep: Reputation: 32
You might have to set the PKG_CONFIG_PATH environment variable to tell the configure script where to find pkg-config. If you've installed in /usr/local. the pkg-config path will probably be something like /ust/local/lib/pkg-config.
 
Old 04-14-2005, 02:45 PM   #3
Rodotheos
LQ Newbie
 
Registered: Apr 2005
Location: Greece
Distribution: openSuSE 10.3
Posts: 25

Original Poster
Rep: Reputation: 15
I'm sorry, it might sound like a stupid questionn but how do I set this environment variable?
 
Old 04-14-2005, 03:11 PM   #4
kevinatkins
Member
 
Registered: Jan 2004
Location: cheshire, uk
Distribution: Ubuntu Hoary
Posts: 605

Rep: Reputation: 32
Hi,

Issue -

Code:
export PKG_CONFIG_PATH=/path/to/pkg-config
 
Old 04-15-2005, 03:19 AM   #5
Rodotheos
LQ Newbie
 
Registered: Apr 2005
Location: Greece
Distribution: openSuSE 10.3
Posts: 25

Original Poster
Rep: Reputation: 15
sorry I forgot to ask you, where do I set that variable. I mean, do I have to open and edit a specific file or shall I execute a shell command?

[ thanks for the help ]
 
Old 04-15-2005, 05:54 AM   #6
kevinatkins
Member
 
Registered: Jan 2004
Location: cheshire, uk
Distribution: Ubuntu Hoary
Posts: 605

Rep: Reputation: 32
Hi,

yes, you execute the command in a shell. Do so just prior to running the bluefish configure script.

I've been thinking about this - it might be worth checking whether the variable has already been set, before you 're-set' it. From the command line, issue -

Code:
echo $PKG_CONFIG_PATH
If anything is returned, instead of resetting the variable, you can append the path you want to include to the existing path by issuing -

Code:
export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/extra/path/to/pkgconfig
Hope this makes sense. But I think that the variable probably isn't set at the moment.
 
  


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 and glib: Uninstalling Old and Installing New CooManChu Linux - Software 6 09-06-2005 04:35 PM
installing pkg-config minm Linux - Software 1 08-23-2004 12:54 PM
Installing Glib, ATK, GTK, Pkg Config, and Pango! LinuZ Linux - Newbie 9 10-26-2003 03:58 PM
installing pkg-config...where did it go?!?!? crispy Linux - Newbie 1 10-23-2003 10:45 AM
problems installing bluefish (gtk-config errors) a_morgan Linux - Software 3 09-05-2003 09:58 PM


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