Compiling GTK gtk-pixbuf error



Folks:

I am trying to compile GTK+ 2.14.7 to a specific place on my system so that I can run xulrunner 1.9.

I have compiled & installed atk-1.25.2, cairo-1.8.6, glib-2.18.4, pango-1.20.5 and pixman-0.13.2 without problem to /usr/local/gtk+

I am using custom PATH, PKG_CONFIG_PATH and LD_LIBRARY_PATH environment variables to direct most of the configure scripts for these sources to look in /usr/local/gtk+

Unfortunately when I reach gtk+ I get the following error almost immediately after issuing make:

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/matt/cypress/svn/webpdf/resources/gtk+/src/gtk+-2.14.7/gdk-pixbuf'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/matt/cypress/svn/webpdf/resources/gtk+/src/gtk+-2.14.7/gdk-pixbuf'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/matt/cypress/svn/webpdf/resources/gtk+/src/gtk+-2.14.7/gdk-pixbuf'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/matt/cypress/svn/webpdf/resources/gtk+/src/gtk+-2.14.7'
make: *** [all] Error 2

I have seen one or two emails to the effect that this is a conflict with an existing version of gtk or glib but I'm not entirely sure what to do about it. None of those emails had any clear explanation of how to handle this error.

Any thoughts or suggestions are appreciated.


Thanks,

Matt
--
Matt Adams
Development & Network Services
Cypress Interactive
http://cypressinteractive.com, http://edsuite.com


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