Gnome2-Canvas 1.00 on fire



Hello,

I've been happily building the last stable release of Gtk2-Perl on my
Solaris 9 SPARC system for the last two months or so without (many)
issues.  This includes the then non-required Gnome2-Canvas 0.34.  

Yesterday, I updated my build system to include the latest 1.0X versions
of all of the Gtk2-Perl packages, and the build seemed to make it most
of the way through without (many) issues (Solaris 9 includes *ancient*
versions of glib/gtk+, but the Perl modules still manage to compile
without problems -- some tests have issues, but that's another email).

When I did a nightly build including the updates, the Gnome2-Canvas tree
configured correctly, finding everything it required for build.  As soon
as the 'make' command was issued, however, the source tree burst into
flames with an error output over 2000 lines long.  This leads me to
believe that there is something very small and critical wrong in the way
older versions of the libraries/headers are handled.

Solaris 9 comes with libgnomecanvas 2.0.4, built with the Sun One
(Forte) compiler.  I am also using Sun One (v8) in my build system (and
have been for quite some time).  I am using all of the module versions
listed in Bundle::Gnome2 (except Print and Vte, as Solaris does not
include them) and Perl 5.8.3.  As I mentioned before, all of the
dependencies up to Gnome2-Canvas build, pass (99% of) test and install.

I am not going to attach the 2000 line error output ( :) ), but the
error starts like this:

/opt/SUNWspro/bin/cc -c  -I/usr/include/libgnomecanvas-2.0 -I/usr/include/libart-2.0 -I/usr/include/pango-1.0 
-I/usr/sfw/include -I/usr/sfw/include/freetype2 -I/usr/include/gtk-2.0 -I/usr/include/glib-2.0 
-I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/openwin/include 
-I/usr/local/perl5/lib/site_perl/5.8.3/sun4-solaris-64int/Glib/Install -D_REENTRANT -I. 
-I/usr/local/perl5/lib/site_perl/5.8.3/sun4-solaris-64int/Gtk2/Install -I./build -w -xO3 -xdepend -xspace 
-I/usr/local/perl5/include -I/usr/local/tools/include -I/usr/local/include -D_LARGEFILE_SOURCE 
-D_FILE_OFFSET_BITS=64 -w -xO3 -xdepend -xspace   -DVERSION=\"1.00\" -DXS_VERSION=\"1.00\" -o 
xs/GnomeCanvas.o -KPIC "-I/usr/local/perl5/lib/5.8.3/sun4-solaris-64int/CORE"   xs/GnomeCanvas.c
"/usr/include/glib-2.0/gobject/gparamspecs.h", line 194: syntax error before or at: gunichar
"/usr/include/glib-2.0/gobject/gparamspecs.h", line 269: member cannot be function: g_param_spec_char
"/usr/include/glib-2.0/gobject/gparamspecs.h", line 276: member cannot be function: g_param_spec_uchar
"/usr/include/glib-2.0/gobject/gparamspecs.h", line 281: member cannot be function: g_param_spec_boolean

... and ends like this ...

"GnomeCanvas.c", line 159: undefined symbol: GnomeCanvas
"GnomeCanvas.c", line 159: undefined symbol: canvas
"GnomeCanvas.c", line 159: syntax error before or at: =
"GnomeCanvas.c", line 168: cannot recover from previous errors
cc: acomp failed for xs/GnomeCanvas.c
make: *** [xs/GnomeCanvas.o] Error 2


The first line is complaining that GParamSpec is not defined within
_GParamSpecUnichar starting at gobject/gparamspecs.h line 194.  I don't
know enough about what changed in the .xs between 0.34 and 1.00 to be
able to debug this.

Has anyone run into this yet, and if so, how can I fix the error(s)?

Thanks in advance,
Cory.







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