Error while trying to build pkg-config

Dan Nicholson dbn.lists at gmail.com
Wed Jun 12 06:24:28 PDT 2013


On Jun 12, 2013 1:14 AM, "Anirudha Bose" <ani07nov at gmail.com> wrote:
>
> On Wed, Jun 12, 2013 at 1:31 AM, Tollef Fog Heen <tfheen at err.no> wrote:
>>
>> ]] Anirudha Bose
>>
>> > Hi everyone.
>> > I am facing a problem while trying to build pkg-config-0.27.1. Here is
the
>> > log after I enter ./configure
>>
>> Either build from a tarball or run autoreconf -f, your configure was
>> built without libtool installed.
>
>
> Thanks. It worked. But now I am seeing another problem. When I run
./configure, I get this error:
>
> checking if internal glib should be used... no
> checking for pkg-config... /usr/bin/pkg-config
> checking pkg-config is at least version 0.9.0... yes
> checking for GLIB... no
> configure: error: Either a previously installed pkg-config or "glib-2.0
>= 2.16" could not be found. Please set GLIB_CFLAGS and GLIB_LIBS to the
correct values or pass --with-internal-glib to configure to use the bundled
copy.
>
> I want to be able to do this by specifying it in the build-pkg-config.mkfile. Also tell me what change should I do in GLIB_CFLAGS and GLIB_LIBS.

If you have glib available, set the environment variables the way the
message says. Otherwise, run ./configure --with-internal-glib like it says.

Dan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/pkg-config/attachments/20130612/258cb51b/attachment.html>


More information about the pkg-config mailing list