gpdf-2.10.0-1008 on 32-bit 10.6

Robert Wyatt <[email protected]> Mon, 14 Sep 2009 14:38:26 -0500
Newsgroups gmane.os.apple.fink.gnome
Message-ID <[email protected]>
I'm getting the following error while building gpdf on 32-bit 10.6.

g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../goo -I../lib/ggv-sidebar 
-I../fofi -I../splash -DDATADIR=\""/sw/share"\" 
-DGNOMELOCALEDIR=\""/sw/share/locale"\" 
-DGNOMEICONDIR=\""/sw/share/pixmaps"\" -I/sw/include/pango-1.0 
-I/sw/lib/fontconfig2/include -I/sw/include/freetype2 -I/sw/include 
-I/sw/include/gtk-2.0 -I/sw/lib/gtk-2.0/include -I/sw/include/atk-1.0 
-I/sw/include/cairo -I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/include 
-I/sw/include/pixman-1 -I/sw/include/libpng12 
-I/sw/include/libgnomeui-2.0 -I/sw/include/libart-2.0 
-I/sw/include/gconf/2 -I/sw/include/gnome-keyring-1 
-I/sw/include/libgnome-2.0 -I/sw/include/libbonoboui-2.0 
-I/sw/include/libgnomecanvas-2.0 -I/sw/include/gnome-vfs-2.0 
-I/sw/lib/gnome-vfs2.16/gnome-vfs-2.0/include -I/sw/include/orbit-2.0 
-I/sw/include/dbus-1.0 -I/sw/lib/dbus-1.0/include 
-I/sw/include/libbonobo-2.0 -I/sw/include/bonobo-activation-2.0 
-I/sw/include/libxml2 -I/sw/include/gail-1.0 
-I/sw/include/gnome-vfs-module-2.0 -I/sw/include/libgnomeprint-2.2 
-I/sw/include/libgnomeprintui-2.2 -I/sw/include/libglade-2.0 
-I/usr/X11R6/include -I/usr/X11/include -DORBIT2=1 
-I/sw/include/libgnomeprint-2.2/libgnomeprint/private    -I/sw/include  
-g -O2 -g -O2 -Wall -Wno-unused -Wshadow -Woverloaded-virtual  -c -o 
TextOutputDev.o `test -f 'TextOutputDev.cc' || echo './'`TextOutputDev.cc
In file included from TextOutputDev.cc:33:
TextOutputDev.h:172: error: expected `)' before '*' token
TextOutputDev.h:198: error: ISO C++ forbids declaration of 'TextBlock' 
with no type
TextOutputDev.h:198: error: expected ';' before '*' token
<snipped many similar>
TextOutputDev.cc: In constructor 'TextOutputDev::TextOutputDev(char*, 
GBool, GBool, GBool)':
TextOutputDev.cc:3440: warning: deprecated conversion from string 
constant to 'char*'
make[4]: *** [TextOutputDev.o] Error 1

I'm happy to test solutions. This was being built as a dependency for 
bundle-gnome. Complete output is available here: 
http://reg066.reg.utexas.edu/~bentones/fink/10.6-home/gpdf-2.10.0-1008.txt

--Robert

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july