Re: GTK compile error: ../gdk-pixbuf/gdk-pixbuf-enum-types.h:19:9: error: macro names must be identifiers



Thanks for the quick reply!

I believe I do have a new version of glib -- I've basically started installing everything from scratch this morning. I compiled glib-2.18.0 this morning and installed it to $HOME/vision/local
The following objects are in this directory:

/home/users/branson/vision/local/bin/glib-genmarshal
/home/users/branson/vision/local/bin/glib-gettextize
/home/users/branson/vision/local/bin/glib-mkenums
/home/users/branson/vision/local/lib/libglib-2.0.la
/home/users/branson/vision/local/lib/libglib-2.0.so
/home/users/branson/vision/local/lib/libglib-2.0.so.0
/home/users/branson/vision/local/lib/libglib-2.0.so.0.1800.0
/home/users/branson/vision/local/include/glib-2.0:

I just made sure that the new glib-mkenums was 2.18.0, did a make distclean
followed by
./configure --prefix=${HOME}/vision/local --without-libjasper
and you got the same error

In case it helps, I'm using a brand new version of gcc as well, gcc-4.3.2. Other things that are new:
cairo-1.8.4 (which required fontconfig-2.6.0, freetype-2.3.7, pixman-0.12.0)
pango-1.20.5
atk-1.24.0
libpng-1.2.33
jpeg-6b
tiff-3.8.2

Thanks,
Kristin

On Fri, Nov 14, 2008 at 1:05 PM, Tristan Van Berkom <tvb gnome org> wrote:
2008/11/14 Kristin Branson <kristinbranson gmail com>:
[...]
>
> 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

Seems like you setup PATH there... do you have a freshly built
glib installed in that prefix ? you need to be using the fresh glib
tools to generate the enums for fresh gtk+.

Cheers,
                 -Tristan



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