LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   Problem installing Bluefish. pkg-config missing (http://www.linuxquestions.org/questions/linux-software-2/problem-installing-bluefish-pkg-config-missing-313229/)

Rodotheos 04-14-2005 01:24 PM

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

kevinatkins 04-14-2005 01:42 PM

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.

Rodotheos 04-14-2005 02:45 PM

I'm sorry, it might sound like a stupid questionn but how do I set this environment variable?

kevinatkins 04-14-2005 03:11 PM

Hi,

Issue -

Code:

export PKG_CONFIG_PATH=/path/to/pkg-config

Rodotheos 04-15-2005 03:19 AM

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 ]

kevinatkins 04-15-2005 05:54 AM

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.


All times are GMT -5. The time now is 07:35 PM.