GTK compile error: ../gdk-pixbuf/gdk-pixbuf-enum-types.h:19:9: error: macro names must be identifiers
- From: "Kristin Branson" <kristinbranson gmail com>
- To: gtk-list gnome org
- Subject: GTK compile error: ../gdk-pixbuf/gdk-pixbuf-enum-types.h:19:9: error: macro names must be identifiers
- Date: Fri, 14 Nov 2008 13:00:19 -0800
I am trying to compile GTK, and have encountered an error I can't figure out. Here is the tail of what make spits out:
make[4]: Entering directory `/home/users/branson/vision/
gtk+-2.14.4/gdk-pixbuf'
if /bin/sh ../libtool --mode=compile /home/users/branson/vision/local/bin/gcc
-DHAVE_CONFIG_H -I. -I. -I.. -DG_LOG_DOMAIN=\"GdkPixbuf\"
-DGDK_PIXBUF_COMPILATION -I.. -I.. -I../gdk-pixbuf -I../gdk-pixbuf
-DGTK_SYSCONFDIR=\"/home/users/branson/vision/local/etc\" -DGTK_VERSION=\"2.14.4\" -DGTK_BINARY_VERSION=\"2.10.0\" -DGTK_PREFIX=\"/home/users/branson/vision/local\" -DG_DISABLE_CAST_CHECKS -pthread -I/home/users/branson/vision/local/include/glib-2.0 -I/home/users/branson/vision/local/lib/glib-2.0/include -I/home/users/branson/vision/local/include/libpng12 -DGDK_PIXBUF_ENABLE_BACKEND "-DPIXBUF_LIBDIR=\"/home/users/branson/vision/local/lib/gtk-2.0/2.10.0/loaders\"" "-DBUILT_MODULES_DIR=\"./.libs\"" -I/home/users/branson/vision/local/include -DG_DISABLE_SINGLE_INCLUDES -DATK_DISABLE_SINGLE_INCLUDES -DGDK_PIXBUF_DISABLE_SINGLE_INCLUDES -DGTK_DISABLE_SINGLE_INCLUDES -I/usr/X11R6/include -DGDK_PIXBUF_DISABLE_DEPRECATED -g -O2 -Wall -MT gdk-pixbuf.lo -MD -MP -MF ".deps/gdk-pixbuf.Tpo" \
-c -o gdk-pixbuf.lo `test -f 'gdk-pixbuf.c' || echo './'`gdk-pixbuf.c; \
then mv -f ".deps/gdk-pixbuf.Tpo" ".deps/gdk-pixbuf.Plo"; \
else rm -f ".deps/gdk-pixbuf.Tpo"; exit 1; \
fi
/home/users/branson/vision/local/bin/gcc
-DHAVE_CONFIG_H -I. -I. -I.. -DG_LOG_DOMAIN=\"GdkPixbuf\"
-DGDK_PIXBUF_COMPILATION -I.. -I.. -I../gdk-pixbuf -I../gdk-pixbuf
-DGTK_SYSCONFDIR=\"/home/users/branson/vision/local/etc\" -DGTK_VERSION=\"2.14.4\" -DGTK_BINARY_VERSION=\"2.10.0\" -DGTK_PREFIX=\"/home/users/branson/vision/local\" -DG_DISABLE_CAST_CHECKS -pthread -I/home/users/branson/vision/local/include/glib-2.0 -I/home/users/branson/vision/local/lib/glib-2.0/include -I/home/users/branson/vision/local/include/libpng12 -DGDK_PIXBUF_ENABLE_BACKEND -DPIXBUF_LIBDIR=\"/home/users/branson/vision/local/lib/gtk-2.0/2.10.0/loaders\" -DBUILT_MODULES_DIR=\"./.libs\" -I/home/users/branson/vision/local/include -DG_DISABLE_SINGLE_INCLUDES -DATK_DISABLE_SINGLE_INCLUDES -DGDK_PIXBUF_DISABLE_SINGLE_INCLUDES -DGTK_DISABLE_SINGLE_INCLUDES -I/usr/X11R6/include -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:19:9: error: macro names must be identifiers
../gdk-pixbuf/gdk-pixbuf-enum-types.h:22: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:31:9: error: macro names must be identifiers
../gdk-pixbuf/gdk-pixbuf-enum-types.h:34: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/users/branson/vision/gtk+-2.14.4/gdk-pixbuf'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/users/branson/vision/gtk+-2.14.4/gdk-pixbuf'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/users/branson/vision/gtk+-2.14.4/gdk-pixbuf'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/users/branson/vision/gtk+-2.14.4'
make: *** [all] Error 2
Here is the configure command:
./configure --prefix=$HOME/vision/local --exec-prefix=$HOME/vision/local --without-libjasper
Because most of the required packages were installed locally, here are the updates I've made to various environment variables:
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/users/branson/vision/local/lib:/home/users/branson/vision/local/lib64
export PATH=/home/users/branson/vision/local/bin/:$PATH
export CC=$HOME/vision/local/bin/gcc
export CPP=$HOME/vision/local/bin/cpp
export CXX=$HOME/vision/local/bin/g++
export LDFLAGS="-L$HOME/vision/local/lib -L$HOME/vision/local/lib64
export CPPFLAGS=-I$HOME/vision/local/include
export PKG_CONFIG=$HOME/vision/local/bin/pkg-config
The machine has a 64-bit, 8-core Intel CPU, and is running Linux CentOS release 4.7.
Any suggestions would be much appreciated!
Thanks,
Kristin
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]