Problem with Gtk-0.3
- From: "Pete Peterson" <petersonp genrad com>
- To: gtk-list redhat com
- Subject: Problem with Gtk-0.3
- Date: Wed, 14 Oct 1998 21:12:42 -0400
I installed gtk 1.0.6 and Gtk-0.3 and ran the tests and everything appeared
normal. When I tried PhotoShow, however, I got a complaint:
'Can't locate object method "init" via package "Gtk::Gdk::ImlibImage"'
Checking the web page for PhotoShow said that this error meant:
Make sure Perl/Gtk was configured with the --with-gdkimlib option.
I tried that and got the results shown below.
"updatedb" and "locate" confirmed that gdk_imlib.h was nowhere to be found on the machine.
What did I do wrong here?
pete peterson
GenRad, Inc.
7 Technology Park Drive
Westford, MA 01886-0033
petersonp@genrad.com or rep@genrad.com
+1-978-589-7478 (GenRad); +1-978-256-5829 (Home: Chelmsford, MA)
+1-978-589-2088 (Closest FAX); +1-978-589-7007 (Main GenRad FAX)
***************************************************************************
[root@petep Gtk-0.3]# perl Makefile.PL --with-gdkimlib
Gtk version 1.0.6
Invoking gendefs.pl with [config/pkg-gtk.defs, config/pkg-gtk-1.0.defs, config/pkg-gdkimlib.defs]
Note (probably harmless): No library found for -lgdk_imlib
Note (probably harmless): No library found for -lgif
Writing Makefile for Gtk
[root@petep Gtk-0.3]# make test
Skip ./blib/lib/Gtk/Gdk.pm (unchanged)
Skip ./blib/lib/Gtk.pm (unchanged)
Skip ./blib/lib/Gtk/ColorSelectButton.pm (unchanged)
Skip ./blib/lib/Gtk/Types.pm (unchanged)
Skip ./blib/lib/Gtk/Atoms.pm (unchanged)
cc -c -I/usr/local/lib/glib/include -I/usr/local/include -I/usr/X11R6/include -Dbool=char -DHAS_BOOL -O2 -DVERSION=\"0.3\" -DXS_VERSION=\"0.3\" -fpic -I/usr/lib/perl5/i386-linux/5.00404/CORE Gtk.c
cc -c -I/usr/local/lib/glib/include -I/usr/local/include -I/usr/X11R6/include -Dbool=char -DHAS_BOOL -O2 -DVERSION=\"0.3\" -DXS_VERSION=\"0.3\" -fpic -I/usr/lib/perl5/i386-linux/5.00404/CORE GtkDefs.c
cc -c -I/usr/local/lib/glib/include -I/usr/local/include -I/usr/X11R6/include -Dbool=char -DHAS_BOOL -O2 -DVERSION=\"0.3\" -DXS_VERSION=\"0.3\" -fpic -I/usr/lib/perl5/i386-linux/5.00404/CORE GtkTypes.c
cc -c -I/usr/local/lib/glib/include -I/usr/local/include -I/usr/X11R6/include -Dbool=char -DHAS_BOOL -O2 -DVERSION=\"0.3\" -DXS_VERSION=\"0.3\" -fpic -I/usr/lib/perl5/i386-linux/5.00404/CORE GdkTypes.c
cc -c -I/usr/local/lib/glib/include -I/usr/local/include -I/usr/X11R6/include -Dbool=char -DHAS_BOOL -O2 -DVERSION=\"0.3\" -DXS_VERSION=\"0.3\" -fpic -I/usr/lib/perl5/i386-linux/5.00404/CORE MiscTypes.c
/usr/local/bin/perl -I/usr/lib/perl5/i386-linux/5.00404 -I/usr/lib/perl5 /usr/lib/perl5/ExtUtils/xsubpp -noprototypes -noversioncheck -typemap /usr/lib/perl5/ExtUtils/typemap -typemap xtypemap -typemap config/pkg-gtk.typemap -typemap config/pkg-gdkimlib.typemap GtkAcceleratorTable.xs >GtkAcceleratorTable.tc && mv GtkAcceleratorTable.tc GtkAcceleratorTable.c
cc -c -I/usr/local/lib/glib/include -I/usr/local/include -I/usr/X11R6/include -Dbool=char -DHAS_BOOL -O2 -DVERSION=\"0.3\" -DXS_VERSION=\"0.3\" -fpic -I/usr/lib/perl5/i386-linux/5.00404/CORE GtkAcceleratorTable.c
/usr/local/bin/perl -I/usr/lib/perl5/i386-linux/5.00404 -I/usr/lib/perl5 /usr/lib/perl5/ExtUtils/xsubpp -noprototypes -noversioncheck -typemap /usr/lib/perl5/ExtUtils/typemap -typemap xtypemap -typemap config/pkg-gtk.typemap -typemap config/pkg-gdkimlib.typemap GtkProgressBar-1.0.xs >GtkProgressBar-1.0.tc && mv GtkProgressBar-1.0.tc GtkProgressBar-1.0.c
cc -c -I/usr/local/lib/glib/include -I/usr/local/include -I/usr/X11R6/include -Dbool=char -DHAS_BOOL -O2 -DVERSION=\"0.3\" -DXS_VERSION=\"0.3\" -fpic -I/usr/lib/perl5/i386-linux/5.00404/CORE GtkProgressBar-1.0.c
/usr/local/bin/perl -I/usr/lib/perl5/i386-linux/5.00404 -I/usr/lib/perl5 /usr/lib/perl5/ExtUtils/xsubpp -noprototypes -noversioncheck -typemap /usr/lib/perl5/ExtUtils/typemap -typemap xtypemap -typemap config/pkg-gtk.typemap -typemap config/pkg-gdkimlib.typemap GdkImlib.xs >GdkImlib.tc && mv GdkImlib.tc GdkImlib.c
cc -c -I/usr/local/lib/glib/include -I/usr/local/include -I/usr/X11R6/include -Dbool=char -DHAS_BOOL -O2 -DVERSION=\"0.3\" -DXS_VERSION=\"0.3\" -fpic -I/usr/lib/perl5/i386-linux/5.00404/CORE GdkImlib.c
GdkImlib.xs:7: gdk_imlib.h: No such file or directory
make: *** [GdkImlib.o] Error 1
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]