Couldn't compile Perl/Gtk 0.4



Dear Sir,

I couldn't compile Pearl/Gtk 0.4. Here what I get:

bash-2.02# perl Makefile.PL
Configuring GTK/Perl... Note that additional packages can be added
by giving switches to Makefile.PL, including:
        --with-gdkimlib
        --with-gtkglarea
        --with-gtktty
Unfortunately, these packages aren't terribly smart, and you may need
to tweak the resultant Makefile or the config/* files to properly
locate the files needed for a package.

Located Gtk version 1.1.11...
Invoking gendefs.pl with [config/pkg-gtk.defs, config/pkg-gtk-1.1.defs]
Overriding flags `GtkSignalRunType'
Overriding enum `GtkScrollType'
Overriding enum `GtkTroughType'
Overriding enum `GtkVisibility'
Overriding object `GtkProgress'
Overriding object `GtkProgressBar'
Unrecognized argument in LIBS ignored: '-rdynamic'
Writing Makefile for Gtk


bash-2.02# /usr/bin/perl genext.pl Gtk
cp PerlGtkExt.h blib/arch/Gtk/Install/PerlGtkExt.h
Skip blib/lib/Gtk/Gdk.pm (unchanged)
Skip blib/arch/Gtk/Install/GdkTypes.h (unchanged)
cp GtkTypes.pm blib/arch/Gtk/Types.pm
Skip blib/arch/Gtk/Install/gendefs.pl (unchanged)
cp GtkTypemap blib/arch/Gtk/Install/GtkTypemap
cp config/pkg-gtk-1.1.defs blib/arch/Gtk/Install/pkg-gtk-1.1.defs
cp IFiles.pm blib/arch/Gtk/Install/Files.pm
Skip blib/arch/Gtk/Install/pkg-gtk.typemap (unchanged)
Skip blib/arch/Gtk/Install/pkg-gtk.defs (unchanged)
Skip blib/lib/Gtk/ColorSelectButton.pm (unchanged)
Skip blib/lib/Gtk/Atoms.pm (unchanged)
Skip blib/arch/Gtk/Install/GtkTypes.h (unchanged)
Skip blib/lib/Gtk.pm (unchanged)
Skip blib/arch/Gtk/Install/genext.pl (unchanged)
Skip blib/arch/Gtk/Install/MiscTypes.h (unchanged)
cp GtkDefs.h blib/arch/Gtk/Install/GtkDefs.h
/usr/bin/perl -I/usr/lib/perl5/5.00502/i586-linux
-I/usr/lib/perl5/5.00502 /usr/lib/perl5/5.00502/ExtUtils/xsubpp
-noprototypes -noversioncheck -typemap
/usr/lib/perl5/5.00502/ExtUtils/typemap -typemap GtkTypemap -typemap
config/pkg-gtk.typemap Gtk.xs >Gtk.tc && mv Gtk.tc Gtk.c
cc -c -I/usr/X11R6/include -I/usr/local/lib/glib/include
-I/usr/local/include  -Dbool=char -DHAS_BOOL -I/usr/local/include -O2
-pipe    -DVERSION=\"0.4\" -DXS_VERSION=\"0.4\" -fpic
-I/usr/lib/perl5/5.00502/i586-linux/CORE  Gtk.c
Gtk.xs: In function `XS_Gtk__Rc_add_widget_name_style':
Gtk.xs:1045: warning: passing arg 1 of `gtk_rc_add_widget_name_style'
from incompatible pointer type
Gtk.xs: In function `XS_Gtk__Rc_add_widget_class_style':
Gtk.xs:1053: warning: passing arg 1 of `gtk_rc_add_widget_class_style'
from incompatible pointer type
cc -c -I/usr/X11R6/include -I/usr/local/lib/glib/include
-I/usr/local/include  -
Dbool=char -DHAS_BOOL -I/usr/local/include -O2 -pipe
-DVERSION=\"0.4\" -DXS_V
ERSION=\"0.4\" -fpic -I/usr/lib/perl5/5.00502/i586-linux/CORE  GtkDefs.c

GtkDefs.c: In function `Gtk_InstallTypedefs':
GtkDefs.c:2559: `GDK_OTHER_EVENT' undeclared (first use in this
function)
GtkDefs.c:2559: (Each undeclared identifier is reported only once
GtkDefs.c:2559: for each function it appears in.)
GtkDefs.c:2712: `PIXELS_METRIC' undeclared (first use in this function)
GtkDefs.c:2713: `POINTS_METRIC' undeclared (first use in this function)
GtkDefs.c:3002: `GTK_RESERVED_2' undeclared (first use in this function)

GtkDefs.c:3003: `GTK_OBJECT_FLAG_LAST' undeclared (first use in this
function)
GtkDefs.c:3009: `GTK_RUN_MASK' undeclared (first use in this function)
make: *** [GtkDefs.o] Error 1








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