Re: configure



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
.



Relevant Pages

  • Re: configure
    ... The problem is the following error message: ... Package gtk+-2.0 was not found in the pkg-config search path. ... With these environment variables in effect, ... # rpm -qa | grep gtk ...
    (comp.os.linux.misc)
  • Re: configure
    ... The problem is the following error message: ... Package gtk+-2.0 was not found in the pkg-config search path. ... With these environment variables in effect, ...
    (comp.os.linux.misc)
  • Re: Office 2007: no default application templates seem to be work
    ... Check the temp environment variable". ... I do not know all the consequences of this error message. ... Upon starting Excel, I am alread in a blank workbook. ...
    (microsoft.public.office.setup)
  • Error building GNOME using JHBuild
    ... nsNSSCallbacks.cpp: At global scope: ... No package 'udisks' found ... you may set the environment variables UDISKS_CFLAGS ... See the pkg-config man page for more details. ...
    (GNOME)
  • Re: Environment Variables on NT
    ... I made the env setting changes, but then I got an error message when ... This setting is modifiable in the registry, ... Many of the Oracle related environment variables are stored in the ... To permanently change the environment variable, use the System Control ...
    (comp.databases.oracle.misc)