LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Perl - Error installing Gtk::Gdk::Pixbuf for dvd::rip (https://www.linuxquestions.org/questions/linux-software-2/perl-error-installing-gtk-gdk-pixbuf-for-dvd-rip-443461/)

revof11 05-10-2006 09:44 AM

Perl - Error installing Gtk::Gdk::Pixbuf for dvd::rip
 
So I try to install dvd::rip and get this error:
Code:

[root@minilaptop Video-DVDRip-0.52.7]# perl Makefile.PL
Checking if your kit is complete...
Looks good
Warning: prerequisite Gtk 0.7008 not found.
Warning: prerequisite Gtk::Gdk::Pixbuf 0 not found.
Writing Makefile for Video::DVDRip

So I attempt to install Gtk::Gdk::Pixbuf in Perl and get the following error:
Code:

[root@minilaptop Video-DVDRip-0.52.7]# perl -MCPAN -e 'install Gtk::Gdk::Pixbuf'
...
Loading pkg.defs
Dir ||
gtktypexp.c:1:30: error: gtk/gtktypeutils.h: No such file or directory
gtktypexp.c: In function ‘main’:
gtktypexp.c:9: error: ‘GSList’ undeclared (first use in this function)
gtktypexp.c:9: error: (Each undeclared identifier is reported only once
gtktypexp.c:9: error: for each function it appears in.)
gtktypexp.c:9: error: ‘names’ undeclared (first use in this function)
make: *** [GdkPixbuf/Makefile] Error 141
  /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

Does anyone have any suggestions on how to get this working?
I'm not too familiar with Perl, so I'm a wee bit lost.

hold_breal 05-10-2006 01:06 PM

gtk/gtktypeutils.h

isn't being found. do you have it installed? try

find / -name *gtktypeutils.h 2>/dev/null

to see if it's on your system. if you have got it, check to see in what directory it is, and then check to see if this file is included in your $PATH

echo $PATH

of course, that's what you'd do if it was a c++ programm, but as it's a perl programm, this method may not work.

hold

revof11 05-10-2006 01:25 PM

It's not in the path, but it does exist on the system (as you can see).

Code:

[root@minilaptop jbrutto]# find / -name *gtktypeutils.h 2>/dev/null
/usr/include/gtk-2.0/gtk/gtktypeutils.h
/usr/include/gtk-1.2/gtk/gtktypeutils.h
[root@minilaptop jbrutto]# echo $PATH
/usr/kerberos/sbin:/jdks/64/jdk1.5.0_06/bin:/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/jbrutto/bin

I'll try adding it to my PATH env variable and see what happens.

revof11 05-11-2006 03:42 PM

No luck.
I'm still getting the same error.


All times are GMT -5. The time now is 08:42 PM.