Re: cannot compile per module for gnome

On 10/25/00 Igor Borojevic wrote:
> Skip blib/arch/Gtk/Install/GtkDefs.h (unchanged)
> Skip blib/arch/Gtk/Install/PerlGtkExt.h (unchanged)
> cc -c -I/opt/gnome/lib/glib/include -I/opt/gnome/include  -I./Gtk
> -I./build  -xO3 -xdepend     -DVERSION=\"0.7000\"  -DXS_VERSION=\"0.7000\"
> -KPIC -I/usr/perl5/5.00503/sun4-solaris/CORE -DPERL_POLLUTE -DNEW_GNOME
> -DGTK_HVER=0x010208 build/GtkDefs.c
> "/opt/gnome/include/glib.h", line 1554: undefined or not a type: inline
> "/opt/gnome/include/glib.h", line 1555: parameter not in identifier list:
> g_bit_nth_lsf

Version 0.7000 is very old, you should use version 0.7004
( or CPAN)
Anyway, your problem is that the compiler you use doesn't
support the inline keyword: you probably compiled glib/gtk
with a compiler (gcc?) and perl with another one. Try
using the same compiler for both (possibly gcc).
I just got a mail from the CPAN testers with this subject:
	PASS Gtk-Perl-0.7004 sun4-solaris 2.7
So the module compiles on solaris (they used gcc).

> This is my first post to this mailing list, I hope that I didn't broke
> some rules with this email..

There is a mailing list dedicated to the perl binding
(gtk-perl-list gnome org), but I guess posting here is
fine as well (at least until I'm still subscribed to it:-)).


Paolo Molaro, Open Source Developer, Linuxcare, Inc.
+39.049.8043411 tel, +39.049.8043412 fax
lupus linuxcare com,
Linuxcare. Support for the revolution.

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