Problem with gtk and pkg-config
- From: manuel op de coul eon-benelux com
- To: gtk-list gnome org
- Subject: Problem with gtk and pkg-config
- Date: Wed, 29 May 2002 15:12:33 +0200
I have problems building applications with gtk+ 2.0.3.
This happens with one of the examples in the gtk+ 2.0.3
examples directory:
$ make
gcc base.c -o base -Wall -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED
-DGDK_P
IXBUF_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED `pkg-config gtk+-2.0
--cflags
--libs`
gcc:
$(top_builddir)//usr/users/coul1358/local/lib/pkgconfig/libgtk-x11-2.0.la:
No such file or directory
make: *** [base] Error 1
I have no idea why it wants to find a library in my pkgconfig directory.
Is the file syntax even correct?
I use pkg-config 0.12.0. The contents of gtk+-2.0.pc in the directory
where PKG_CONFIG_PATH points to is this:
--------------------------------begin--------------
prefix=/usr/users/coul1358/local
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include
target=x11
gtk_binary_version=2.0.0
gtk_host=alphaev5-dec-osf4.0e
Name: GTK+
Description: GIMP Tool Kit (${target} target)
Version: 2.0.3
Requires: gdk-${target}-2.0 atk
Libs: -L${libdir} -lgtk-${target}-2.0
Cflags: -I${includedir}/gtk-2.0
---------------------------------end---------------
I have no idea what's wrong, please help. Thanks,
Manuel
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]