gnome-perl: build problem




I have gnome-perl 0.3 (from CVS, as of 12/23/98) installed, but want to
compile and install the recent version (from CVS), as README in
gimp/plug-ins/perl recommend so. I just run 'perl ./Makefile.PL' and do
'make'. But it won't compile and the build aborts with:

cc -c -I/opt/gnome/include -DNEED_GNOMESUPPORT_H
-I/opt/gnome/lib/gnome-libs/include -I/usr/X11R6/include
-I/opt/gnome/lib/glib/include  -I/usr/X11R6/include
-I/opt/gnome/lib/glib/include -I/opt/gnome/include  -I./Gtk -I./GdkImlib/
-I./Gnome/ -I./build -D_REENTRANT -Dbool=char -DHAS_BOOL
-I/usr/local/include -O2    -DVERSION=\"0.5000\" -DXS_VERSION=\"0.5000\"
-fPIC -I/usr/share/perl5/5.00502/i586-pc-linux-gnu-thread/CORE -DNEW_GNOME
-DNEW_GNOME -DGTK_HVER=0x010201 build/GtkDefs.c
In file included from /opt/gnome/include/libgnomeui/libgnomeui.h:35,
                 from build/GtkDefs.h:13,
                 from build/GtkDefs.c:10:
/opt/gnome/include/libgnomeui/gnome-icon-list.h:48: parse error before
`->'
/opt/gnome/include/libgnomeui/gnome-icon-list.h:48: warning: no semicolon
at end of struct or union
/opt/gnome/include/libgnomeui/gnome-icon-list.h:73: parse error before `:'
/opt/gnome/include/libgnomeui/gnome-icon-list.h:74: parse error before `:'
/opt/gnome/include/libgnomeui/gnome-icon-list.h:94: parse error before `}'
/opt/gnome/include/libgnomeui/gnome-icon-list.h:94: warning: data
definition has no type or storage class
/opt/gnome/include/libgnomeui/gnome-icon-list.h:99: parse error before `*'
/opt/gnome/include/libgnomeui/gnome-icon-list.h:100: parse error before
(snipped)
/opt/gnome/include/libgnomeui/gnome-icon-list.h:191: parse error before
`*'
/opt/gnome/include/libgnomeui/gnome-icon-list.h:193: parse error before
`*'
In file included from build/GtkDefs.c:10:
build/GtkDefs.h:730: parse error before `*'
build/GtkDefs.h:730: warning: data definition has no type or storage class
build/GtkDefs.h:731: parse error before `*'
build/GtkDefs.h:731: warning: data definition has no type or storage class
build/GtkDefs.h:732: parse error before `*'
build/GtkDefs.h:732: warning: data definition has no type or storage class
make: *** [build/GtkDefs.o] Error 1
 
I tried a tarball and a patched version by Marc Lehmann with the identical
result. So there must be something wrong on my end, but I can't figure it
out.

gnome 1.0.3
gtk+ 1.2
perl 5.00502


How do I manage to compile it ?


junichi




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