Sign up now! · Forgot password?
RSS/Atom feed Twitter

glib can't find pkg-config

This discussion is connected to the gimp-user-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

7 of 7 messages available
Toggle history

Please log in to manage your subscriptions.

glib can't find pkg-config Hago Ziegler 11 Nov 11:55
  glib can't find pkg-config Falk Pauser 11 Nov 22:13
glib can't find pkg-config Hago Ziegler 11 Nov 22:42
glib can't find pkg-config Hago Ziegler 12 Nov 00:01
  glib can't find pkg-config Falk Pauser 12 Nov 01:41
glib can't find pkg-config Kevin Myers 12 Nov 07:39
glib can't find pkg-config Kevin Myers 12 Nov 07:54
Hago Ziegler
2002-11-11 11:55:00 UTC (almost 18 years ago)

glib can't find pkg-config

Hi everybody,

I'm trying to install gimp-1.3.10. First I installed pkgconfig-0.14.0.- Without errors. Then I tried to configure glib.2.0.6. Error: can't find pkg-config. - But it's there, in /usr/local/bin

Earlier installations didn't have this problem.

What could Ido? Give me some help, please.

Regards, Hago

Falk Pauser
2002-11-11 22:13:00 UTC (almost 18 years ago)

glib can't find pkg-config

Hi,

I'm trying to install gimp-1.3.10. First I installed pkgconfig-0.14.0.- Without errors. Then I tried to configure glib.2.0.6. Error: can't find pkg-config. - But it's there, in /usr/local/bin

mayby setting PKG_CONFIG_PATH could solve your problem?

$ export PKG_CONFIG_PATH="/usr/local/lib/pkg-config/" $ make distclean
$ ./configure --prefix=/...

hth, falk

Hago Ziegler
2002-11-11 22:42:49 UTC (almost 18 years ago)

glib can't find pkg-config

> it should be - what's the exact error message you get?

"checking for pkg-config... no configure: error: ***pkg-config not found." See http://www.freedesktop....."

That's all. It doesn't help very much. I already downloaded a fresh version of pkg from freedesktop and installed it, but also this made no difference.

Hago

Hago Ziegler
2002-11-12 00:01:53 UTC (almost 18 years ago)

glib can't find pkg-config

Hi,

$ export PKG_CONFIG_PATH="/usr/local/lib/pkg-config/"

I tried it this way, just "/usr/local/bin"

But it made no difference. Is this the exact way to set a path?

Hago

Falk Pauser
2002-11-12 01:41:01 UTC (almost 18 years ago)

glib can't find pkg-config

But it made no difference.
Is this the exact way to set a path?

it should be - what's the exact error message you get?

greets, falk

Kevin Myers
2002-11-12 07:39:56 UTC (almost 18 years ago)

glib can't find pkg-config

Take a look at the instructions that I recently posted on gimpwin-dev regarding building the gimp under Windows. Info on how to point to pkg-config is included that should work essentially the same on other platforms.

s/KAM

----- Original Message ----- From: "Hago Ziegler"
To:
Sent: Monday, November 11, 2002 3:42 PM Subject: Re: [Gimp-user] glib can't find pkg-config

it should be - what's the exact error message you get?

"checking for pkg-config... no
configure: error: ***pkg-config not found." See http://www.freedesktop....."

That's all. It doesn't help very much. I already downloaded a fresh version of pkg from freedesktop and installed it, but also this made no difference.

Hago

Kevin Myers
2002-11-12 07:54:54 UTC (almost 18 years ago)

glib can't find pkg-config

Well shoot, I was just being lazy, let me try to save you a little bit of trouble...

As I recall, you need to point to the pkg-config executable by one of two methods:
A. the directory containing the pkg-config executable is listed in your PATH environment variable, OR
B. set an environment variable named PKG_CONFIG to the complete path including the name of the pkg-config executable.

Note that PKG_CONFIG_PATH does NOT point to the pkg-config executable. PKG_CONFIG_PATH points to a list of the directories containing the pkg-config configuration info for the packages that will be configured. For example, using mingw under Windows, I set PKG_CONFIG_PATH as follows:

#!/bin/sh

export PKG_CONFIG_PATH=\ D:\\source\\gettext-dev-0.10.40-20020904\\lib\\pkgconfig\;\ D:\\source\\glib-dev-2.0.6-20020802\\lib\\pkgconfig\;\ D:\\source\\gtk+-dev-1.3.0-20020912\\lib\\pkgconfig echo PKG_CONFIG_PATH=$PKG_CONFIG_PATH

You ought to be able to adjust that to work with the appropriate path style and delimiters on your system. Hope this helps.

s/KAM

----- Original Message ----- From: "Kevin Myers"
To: "Hago Ziegler" ;
Sent: Tuesday, November 12, 2002 12:39 AM Subject: Re: [Gimp-user] glib can't find pkg-config

Take a look at the instructions that I recently posted on gimpwin-dev regarding building the gimp under Windows. Info on how to point to pkg-config is included that should work essentially the same on other platforms.

s/KAM

----- Original Message ----- From: "Hago Ziegler"
To:
Sent: Monday, November 11, 2002 3:42 PM Subject: Re: [Gimp-user] glib can't find pkg-config

it should be - what's the exact error message you get?

"checking for pkg-config... no
configure: error: ***pkg-config not found." See http://www.freedesktop....."

That's all. It doesn't help very much. I already downloaded a fresh version of pkg from freedesktop and installed it, but also this made no difference.

Hago