[no subject]



But, no matter what I try, I can't get Gtk-Perl to actually compile.
Not from CPAN, not from the src rpm above.

gcc -c  -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 
-I/usr/lib/glib/include -I/usr/X11R6/include  -I./Gtk -I./build 
-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -D_LARGEFILE_SOURCE 
-D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -march=i386 -mcpu=i686   
-DVERSION=\"0.7000\" -DXS_VERSION=\"0.7000\" -fPIC 
"-I/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE"  -DPERL_POLLUTE 
-DNEW_GNOME -DGTK_HVER=0x01020a Gtk/GdkTypes.c
gcc -c  -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 
-I/usr/lib/glib/include -I/usr/X11R6/include  -I./Gtk -I./build 
-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -D_LARGEFILE_SOURCE 
-D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -march=i386 -mcpu=i686   
-DVERSION=\"0.7000\" -DXS_VERSION=\"0.7000\" -fPIC 
"-I/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE"  -DPERL_POLLUTE 
-DNEW_GNOME -DGTK_HVER=0x01020a Gtk/GtkTypes.c
gcc -c  -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 
-I/usr/lib/glib/include -I/usr/X11R6/include  -I./Gtk -I./build 
-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -D_LARGEFILE_SOURCE 
-D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -march=i386 -mcpu=i686   
-DVERSION=\"0.7000\" -DXS_VERSION=\"0.7000\" -fPIC 
"-I/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE"  -DPERL_POLLUTE 
-DNEW_GNOME -DGTK_HVER=0x01020a Gtk/MiscTypes.c
gcc -c  -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 
-I/usr/lib/glib/include -I/usr/X11R6/include  -I./Gtk -I./build 
-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -D_LARGEFILE_SOURCE 
-D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -march=i386 -mcpu=i686   
-DVERSION=\"0.7000\" -DXS_VERSION=\"0.7000\" -fPIC 
"-I/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE"  -DPERL_POLLUTE 
-DNEW_GNOME -DGTK_HVER=0x01020a Gtk/Derived.c
Running Mkbootstrap for Gtk ()
chmod 644 Gtk.bs
rm -f blib/arch/auto/Gtk/Gtk.so
LD_RUN_PATH="/usr/lib:/usr/X11R6/lib" gcc  -shared -L/usr/local/lib 
build/GtkDefs.o build/PerlGtkExt.o Gtk/xs/Gtk.o Gtk/xs/GtkSelection.o 
Gtk/xs/Gtk-1.1.o Gtk/xs/GtkToolbar-1.1.6.o Gtk/xs/GtkAccelGroup.o 
Gtk/xs/GtkProgressBar-1.1.o Gtk/xs/GtkCList-1.2.o Gtk/xs/Gtk-1.2.o 
Gtk/xs/GtkAccelLabel.o Gtk/xs/GtkAdjustment.o Gtk/xs/GtkAlignment.o 
Gtk/xs/GtkArrow.o Gtk/xs/GtkAspectFrame.o Gtk/xs/GtkBin.o 
Gtk/xs/GtkBox.o Gtk/xs/GtkButton.o Gtk/xs/GtkButtonBox.o 
Gtk/xs/GtkCList.o Gtk/xs/GtkCTree.o Gtk/xs/GtkCalendar.o 
Gtk/xs/GtkCheckButton.o Gtk/xs/GtkCheckMenuItem.o Gtk/xs/GtkColorSelecti
on.o Gtk/xs/GtkColorSelectionDialog.o Gtk/xs/GtkCombo.o 
Gtk/xs/GtkContainer.o Gtk/xs/GtkCurve.o Gtk/xs/GtkData.o 
Gtk/xs/GtkDialog.o Gtk/xs/GtkDrawingArea.o Gtk/xs/GtkEditable.o 
Gtk/xs/GtkEntry.o Gtk/xs/GtkEventBox.o Gtk/xs/GtkFileSelection.o 
Gtk/xs/GtkFixed.o Gtk/xs/GtkFontSelection.o Gtk/xs/GtkFontSelectionDialo
g.o Gtk/xs/GtkFrame.o Gtk/xs/GtkGammaCurve.o Gtk/xs/GtkHBox.o 
Gtk/xs/GtkHButtonBox.o Gtk/xs/GtkHPaned.o Gtk/xs/GtkHRuler.o 
Gtk/xs/GtkHScale.o Gtk/xs/GtkHScrollbar.o Gtk/xs/GtkHSeparator.o 
Gtk/xs/GtkHandleBox.o Gtk/xs/GtkImage.o Gtk/xs/GtkInputDialog.o 
Gtk/xs/GtkInvisible.o Gtk/xs/GtkItem.o Gtk/xs/GtkItemFactory.o 
Gtk/xs/GtkLabel.o Gtk/xs/GtkLayout.o Gtk/xs/GtkList.o 
Gtk/xs/GtkListItem.o Gtk/xs/GtkMenu.o Gtk/xs/GtkMenuBar.o 
Gtk/xs/GtkMenuItem.o Gtk/xs/GtkMenuShell.o Gtk/xs/GtkMisc.o 
Gtk/xs/GtkNotebook.o Gtk/xs/GtkObject.o Gtk/xs/GtkOptionMenu.o 
Gtk/xs/GtkPacker.o Gtk/xs/GtkPaned.o Gtk/xs/GtkPixmap.o 
Gtk/xs/GtkPlug.o Gtk/xs/GtkPreview.o Gtk/xs/GtkProgress.o 
Gtk/xs/GtkProgressBar.o Gtk/xs/GtkRadioButton.o Gtk/xs/GtkRadioMenuItem.
o Gtk/xs/GtkRange.o Gtk/xs/GtkRuler.o Gtk/xs/GtkScale.o 
Gtk/xs/GtkScrollbar.o Gtk/xs/GtkScrolledWindow.o Gtk/xs/GtkSeparator.o 
Gtk/xs/GtkSocket.o Gtk/xs/GtkSpinButton.o Gtk/xs/GtkStatusbar.o 
Gtk/xs/GtkTable.o Gtk/xs/GtkTearoffMenuItem.o Gtk/xs/GtkText.o 
Gtk/xs/GtkTipsQuery.o Gtk/xs/GtkToggleButton.o Gtk/xs/GtkToolbar.o 
Gtk/xs/GtkTooltips.o Gtk/xs/GtkTree.o Gtk/xs/GtkTreeItem.o 
Gtk/xs/GtkVBox.o Gtk/xs/GtkVButtonBox.o Gtk/xs/GtkVPaned.o 
Gtk/xs/GtkVRuler.o Gtk/xs/GtkVScale.o Gtk/xs/GtkVScrollbar.o 
Gtk/xs/GtkVSeparator.o Gtk/xs/GtkViewport.o Gtk/xs/GtkWidget.o 
Gtk/xs/GtkWindow.o Gtk/GdkTypes.o Gtk/GtkTypes.o Gtk/MiscTypes.o 
Gtk/Derived.o  -o blib/arch/auto/Gtk/Gtk.so   -L/usr/X11R6/lib 
-L/usr/lib -lgtk -lgdk -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm
gcc: build/GtkDefs.o: No such file or directory
gcc: build/PerlGtkExt.o: No such file or directory
gcc: Gtk/xs/Gtk.o: No such file or directory
gcc: Gtk/xs/GtkSelection.o: No such file or directory
gcc: Gtk/xs/Gtk-1.1.o: No such file or directory
gcc: Gtk/xs/GtkToolbar-1.1.6.o: No such file or directory

...lots more...

gcc: Gtk/xs/GtkVSeparator.o: No such file or directory
gcc: Gtk/xs/GtkViewport.o: No such file or directory
gcc: Gtk/xs/GtkWidget.o: No such file or directory
gcc: Gtk/xs/GtkWindow.o: No such file or directory
gcc: Gtk/GdkTypes.o: No such file or directory
gcc: Gtk/GtkTypes.o: No such file or directory
gcc: Gtk/MiscTypes.o: No such file or directory
gcc: Gtk/Derived.o: No such file or directory
make: *** [blib/arch/auto/Gtk/Gtk.so] Error 1
  /usr/bin/make  -- NOT OK
Running make test
  Can't test without successful make
Running make install
  make had returned bad status, install seems impossible

Various attempts have given me unable to find orb/orbit.h and other
things; the perl Makefile.PL seems not to be building the include
chain right (I have two -- /usr/include/orbit-1.0 and 2.0).

[root localhost Gtk-Perl-0.7000]# make
gcc -c  -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 
-I/usr/lib/glib/include -I/usr/X11R6/include  -I./Gtk -I./Gnome/ 
-I./build -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing 
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 
-march=i386 -mcpu=i686   -DVERSION=\"0.7000\" -DXS_VERSION=\"0.7000\" 
-fPIC "-I/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE"  
-DPERL_POLLUTE -DNEW_GNOME -DGTK_HVER=0x01020a build/GtkDefs.c
In file included from build/GtkDefs.h:23,
                 from build/GtkDefs.c:10:
/usr/include/applet-widget.h:11:19: gnome.h: No such file or directory
/usr/include/applet-widget.h:12:30: libgnorba/gnorba.h: No such file or 
directory
In file included from /usr/include/applet-widget.h:14,
                 from build/GtkDefs.h:23,
                 from build/GtkDefs.c:10:
/usr/include/gnome-panel.h:7:23: orb/orbit.h: No such file or directory
In file included from /usr/include/applet-widget.h:14,
                 from build/GtkDefs.h:23,
                 from build/GtkDefs.c:10:
/usr/include/gnome-panel.h:21: parse error before "GNOME_PanelSpot"
/usr/include/gnome-panel.h:22: parse error before "GNOME_PanelSpot__clas
sid"
/usr/include/gnome-panel.h:43: parse error before "GNOME_Applet"

root localhost Gtk-Perl-0.7000]# find /usr/include -name gnome.h -print
/usr/include/gnome-1.0/gnome.h
/usr/include/libgnomeui-2.0/gnome.h


Ximian seems to have actually compiled with it:

[root localhost bin]# rpm -q -f /usr/lib/perl5/site_perl/5.005/i386-linu
x/auto/Gnome/Applet
Gtk-Perl-0.7008-ximian.3

but I can't use that for some reason.

use lib "/usr/lib/perl5/site_perl/5.005";
use lib "/usr/lib/perl5/site_perl/5.005/i386-linux";

gives me:

[root localhost bin]# ./ping_gateway.pl
Can't load '/usr/lib/perl5/site_perl/5.005/i386-linux/auto/Gtk/Gtk.so' 
for module Gtk: /usr/lib/perl5/site_perl/5.005/i386-linux/auto/Gtk/Gtk.s
o: undefined symbol: PL_sv_undef at /usr/lib/perl5/5.8.0/i386-linux-thre
ad-multi/DynaLoader.pm line 229.
 at /usr/lib/perl5/site_perl/5.005/i386-linux/Gnome.pm line 51
Compilation failed in require at /usr/lib/perl5/site_perl/5.005/i386-lin
ux/Gnome.pm line 51.
Compilation failed in require at ./ping_gateway.pl line 10.
BEGIN failed--compilation aborted at ./ping_gateway.pl line 10.

Other attempts have given me yet other errors.

I'm clearly doing something wrong here...

Suggestions?

Replies to rdv halfmoonbaylabs org, rdv alumni caltech edu, or
rdviii pacbell net, in order of preference; I'm not subscribed to this
list.

Thanks for any help!

           --Rod





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