Re: configure
- From: Dan Espen <daneNO@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Mon, 13 Nov 2006 10:06:45 -0500
Allan Adler <ara@xxxxxxxxxxxxxxxxxxxx> writes:
Bob Little <"rlittle WhosAt littleAcres Dot nEt "> writes:
If you do 'which pkg-config' then you'll see which path configure is
using when it does it's thing. You may have two pkg-config(s) one in
/usr/bin and another in /usr/local/bin. So you would make your
PKG_CONFIG_PATH = /usr/bin/pkg-config:/usr/local/bin/pkg-config
As I indicated in my posting, I solved the problem of locating pkg-config
by setting the environment variables PKG_CONFIG and PKG_CONFIG_PATH to
/home/allan/PIC/LINUX/pkg-config-0.20/pkg-config and
/home/allan/PIC/LINUX/pkg-config-0.20/
respectively. The problem is the following error message:
checking for gtk+-2.0 >= 2.0.0...
Package gtk+-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk+-2.0.pc' to the
PKG_CONFIG_PATH environment variable
No package 'gtk+-2.0' found
configure: error: Library requirements (gtk+-2.0 >= 2.0.0) not met;
consider adjusting the PKG_CONFIG_PATH environment variable if your
libraries are in a nonstandard prefix so pkg-config can find them.
The directory in which I am running configure is:
/home/allan/PIC/LINUX/gtk+extra-2.1.1
I tried changing PKG_CONFIG_PATH with
export PKG_CONFIG_PATH=/home/allan/PIC/LINUX/pkg-config-0.20:/home/allan/PIC/LINUX/gtk+extra-2.1.1
but I got the same error message.
So, this falls under the category of receiving an error message that I don't
know how to respond to. With these environment variables in effect, I now
change directory to /home/allan/PIC/LINUX/gpsim-0.21.11 and execute configure
and instead get the error message:
linking with GTK+ 2.x
checking for pkg-config... no
configure: error: Cannot find pkg-config
This last message indicates pkg-config is not installed.
What do you get when you type:
type pkg-config
.
- Follow-Ups:
- Re: configure
- From: Allan Adler
- Re: configure
- References:
- configure
- From: Allan Adler
- Re: configure
- From: Bob Little
- Re: configure
- From: Allan Adler
- configure
- Prev by Date: Re: I'd like to know some meaning of shell scripts?
- Next by Date: Re: 'raw' backup of hard disk (Linux to Windows)
- Previous by thread: Re: configure
- Next by thread: Re: configure
- Index(es):
Relevant Pages
|