Posted on 2005-06-01 12:56:15-07 by frenchguy
GTK-Perl Install help Needed, Please !
Hi There: I am running red hat 7.3 and trying to install Gtk-Perl-0.7009. I cannot even pass this portion below. ----- /usr/local/bin/perl Makefile.PL Can't exec "gtk-config": No such file or directory at Makefile.PL line 141. Package 'gtk' needed but it was not detected on your system. You may want to force it using --with-gtk-force if you know better than me. ----- I am installing gtk package so why it says the package is needed ? Where do I get gtk-config ? Thank You.
Direct Responses: 541 | Write a response
Posted on 2005-06-01 13:04:37-07 by szabgab in response to 540
Re: GTK-Perl Install help Needed, Please !
You need to install GTK itself, before you can install the Perl binding to it.

Look at the GTK2-Perl home page or the GTK2 Perl FAQ

Even though these are about GTK2 and not GTK, they might give you an explanation.

BTW Why not GTK2 ?

Direct Responses: 552 | Write a response
Posted on 2005-06-01 23:13:48-07 by frenchguy in response to 541
Re: GTK-Perl Install help Needed, Please !
Thank you for a reply. Will get GTK package from CPAN. A question I have Will GTK, and GTK-Perl allow me to build progress bar status that will display on a browser as the web server executes the script in the backend or GTK is really only usable for GNome etc... desktops apps ? I am new to GTK as you may gather from the above question.
Direct Responses: 554 | Write a response
Posted on 2005-06-02 04:24:36-07 by sukhu in response to 552
Re: GTK-Perl Install help Needed, Please !
how much is nok3230
Direct Responses: 556 | Write a response
Posted on 2005-06-02 09:36:46-07 by frenchguy in response to 554
Re: GTK-Perl Install help Needed, Please !
I tried to install GTK (Gtk-0.5120 downloaded from CPAN) and I get this error from "make test" ------------ make test cp build/GtkTypes.pm blib/arch/Gtk/Types.pm cp Gtk/Gtk.pm blib/lib/Gtk.pm AutoSplitting blib/lib/Gtk.pm (blib/lib/auto/Gtk) cp Gtk/Atoms.pm blib/lib/Gtk/Atoms.pm cp Gtk/LogHandler.pm blib/lib/Gtk/LogHandler.pm cp Gtk/Gdk.pm blib/lib/Gtk/Gdk.pm AutoSplitting blib/lib/Gtk/Gdk.pm (blib/lib/auto/Gtk/Gdk) cp Gtk/GtkColorSelectButton.pm blib/lib/Gtk/ColorSelectButton.pm /usr/bin/perl tools/genext.pl Gtk gcc -c -I./Gtk -I./build -fno-strict-aliasing -I/usr/local/include -O2 -march=i386 -mcpu=i686 -DVERSION=\"0.5120\" -DXS_VERSION=\"0.5120\" -fPIC -I/usr/lib/perl5/5.6.1/i386-linux/CORE -DGTK_HVER=0x000000 build/GtkDefs.c In file included from build/GtkDefs.c:10: build/GtkDefs.h:18:21: gtk/gtk.h: No such file or directory make: *** [build/GtkDefs.o] Error 1 ------------
Direct Responses: Write a response
Perl Weekly newsletter
A free weekly newsletter for people who are busy to read all the blogs. click here to check it out.