building GTK+ 2.14.1 fails

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi all,

building GTK+ 2.14.1 from sources fails for me. System: Debian 4.0 etch
(stable), gcc Version 4.1.2

I'm installing into /opt/gtkmm .
I installed the libjasper, atk and glib without any problems. So, now
I'm trying to compile GTK+.
I set the environment variables
PKG_CONFIG_PATH=/opt/gtkmm/lib/pkg-config
CPPFLAGS="-I/opt/gtkmm/include"
LDFLAGS="-L/opt/gtkmm/lib"
and executed ./configure --prefix=/opt/gtkmm without any error messages
popping up. But the make runs aborts after some seconds, the failing
command is:

 gcc -DHAVE_CONFIG_H -I. -I. -I.. -DG_LOG_DOMAIN=\"GdkPixbuf\"
- -DGDK_PIXBUF_COMPILATION -I.. -I.. -I../gdk-pixbuf -I../gdk
- -pixbuf -DGTK_SYSCONFDIR=\"/opt/gtkmm/etc\" -DGTK_VERSION=\"2.14.1\"
- -DGTK_BINARY_VERSION=\"2.10.0\" -DGTK_PREFIX=\"/opt/g
tkmm\" -DG_DISABLE_CAST_CHECKS -pthread -I/opt/gtkmm/include/glib-2.0
- -I/opt/gtkmm/lib/glib-2.0/include -I/usr/include/lib
png12 -DGDK_PIXBUF_ENABLE_BACKEND
- -DPIXBUF_LIBDIR=\"/opt/gtkmm/lib/gtk-2.0/2.10.0/loaders\"
- -DBUILT_MODULES_DIR=\"./.libs\
" -I/opt/gtkmm/include -DG_DISABLE_SINGLE_INCLUDES
- -DATK_DISABLE_SINGLE_INCLUDES -DGDK_PIXBUF_DISABLE_SINGLE_INCLUDES -DGT
K_DISABLE_SINGLE_INCLUDES -DGDK_PIXBUF_DISABLE_DEPRECATED -g -O2 -Wall
- -MT gdk-pixbuf.lo -MD -MP -MF .deps/gdk-pixbuf.Tpo
- -c gdk-pixbuf.c  -fPIC -DPIC -o .libs/gdk-pixbuf.o
In file included from gdk-pixbuf.h:41,
                 from gdk-pixbuf.c:31:
../gdk-pixbuf/gdk-pixbuf-enum-types.h:17:9: error: macro names must be
identifiers
../gdk-pixbuf/gdk-pixbuf-enum-types.h:19:9: error: macro names must be
identifiers
../gdk-pixbuf/gdk-pixbuf-enum-types.h:21:9: error: macro names must be
identifiers
../gdk-pixbuf/gdk-pixbuf-enum-types.h:25:9: error: macro names must be
identifiers
../gdk-pixbuf/gdk-pixbuf-enum-types.h:27:9: error: macro names must be
identifiers
gdk-pixbuf.c: In function âgdk_pixbuf_class_initâ:
gdk-pixbuf.c:101: error: âGDK_TYPE_COLORSPACEâ undeclared (first use in
this function)
gdk-pixbuf.c:101: error: (Each undeclared identifier is reported only once
gdk-pixbuf.c:101: error: for each function it appears in.)
make[4]: *** [gdk-pixbuf.lo] Error 1
make[4]: Leaving directory `/home/cl/gtkmm-build/gtk+-2.14.1/gdk-pixbuf'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/cl/gtkmm-build/gtk+-2.14.1/gdk-pixbuf'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/cl/gtkmm-build/gtk+-2.14.1/gdk-pixbuf'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/cl/gtkmm-build/gtk+-2.14.1'
make: *** [all] Error 2

In the include file gdk-pixbuf/gdk-pixbuf-enum-types.h there are lines like
#define @ENUMPREFIX@_TYPE_PIXBUF_ERROR (gdk_pixbuf_error_get_type ())
This is line 21 from the include.

What's my mistake?

regards
	Christoph
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIw+7OWo2QgtqY4K8RAqLlAJ97rz36mdaxmQfbWX5sieepZr0oagCfTS+g
9gNETFzWczzBfhrxejE7Kg4=
=snH6
-----END PGP SIGNATURE-----
_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list


[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux