Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 12409 - dvdrip doesn't work with latest perl and gdk-pixbuf packages
Summary: dvdrip doesn't work with latest perl and gdk-pixbuf packages
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Michael Cummings (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-12-18 12:18 UTC by Shane Helms
Modified: 2003-02-19 16:17 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Shane Helms 2002-12-18 12:18:56 UTC
My only outdated package is
[ebuild    U ] sys-devel/gcc-3.2.1-r6 [3.2.1-r0]
the rest are all upto latest, as this moment.

when I run dvdrip, I get the following:
shane ~>dvdrip &
[1] 18188
shane ~>
You're using Perl 5.8.0 without PERLIO set to 'stdio'.
Most Perl 5.008 installations currently have a bug.
dvd::rip doesn't work with them if PERLIO isn't set.

I will set PERLIO=stdio for you and restart dvd::rip...

You can get rid of this messages, by setting PERLIO=stdio
in your ~/.profile, or whatever your shell uses.

Can't locate Gtk/Gdk/Pixbuf.pm in @INC (@INC contains: lib /usr/lib/perl5/5.8.0/
i686-linux-thread /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i686-linux
-thread /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl/5.6.1 /usr/lib/p
erl5/site_perl /usr/lib/perl5/vendor_perl/5.8.0/i686-linux-thread /usr/lib/perl5
/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl .) at /usr/lib/perl5/site_perl/5.8
.0/Video/DVDRip/GUI/ImageClip.pm line 12.
BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.8.0/Video/DVDRip
/GUI/ImageClip.pm line 12.
Compilation failed in require at /usr/lib/perl5/site_perl/5.8.0/Video/DVDRip/GUI
/Project.pm line 14.
BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.8.0/Video/DVDRip
/GUI/Project.pm line 14.
Compilation failed in require at /usr/lib/perl5/site_perl/5.8.0/Video/DVDRip/GUI
/Main.pm line 16.
BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.8.0/Video/DVDRip
/GUI/Main.pm line 16.
Compilation failed in require at /usr/bin/dvdrip line 47.
BEGIN failed--compilation aborted at /usr/bin/dvdrip line 47.

[1]+  Exit 2                  dvdrip

Note: after warning about Perl5.8.0, the program restarts with PERLIO=stdio set
automatically.
Comment 1 Michael Cummings (RETIRED) gentoo-dev 2002-12-18 17:52:36 UTC
Did you emerge gtk-perl before or after your perl 5.8 install? I just manually
re-emerged the perl deps for dvdrip, ran the 20 odd dep installs for it (don't
use gnome - no reason to have had them previously), and emerge dvdrip without a
problem. Not having much use for the app, I poked around at the menus and pretty
dvd::rip logo, but near as I could tell runs fine.

Also - which version (-r) of perl 5.8 are you using? Did you enable threading?

And I never got the stdio error (and I wrote the perl 5.8 ebuild).
Comment 2 Shane Helms 2002-12-19 04:33:05 UTC
*  dev-perl/gtk-perl
      Latest version available: 0.7008-r9
      Latest version installed: 0.7008-r9

*  sys-devel/perl
      Latest version available: 5.8.0-r5
      Latest version installed: 5.8.0-r5

*  media-video/dvdrip
      Latest version available: 0.48.5
      Latest version installed: 0.48.5

I say gtk-perl was installed after perl, because I only recently emerged dvdrip
(which I think emerged gtk-perl as well), but perl would have been emerged
before for a number of other packages. Having said that, I'm not 100% sure.

I didn't enable threading for perl, I just did it in the normal way (emerge perl).
Just in case this is related, I'm using the following GCC flags.
CFLAGS="-march=athlon-tbird -O3 -pipe -fomit-frame-pointer -mmmx -m3dnow"

finally, can you tell me how to _just_ re-emerge the perl dependencies of dvdrip
(emerge -e perl ?), and should I enable threading ?
Comment 3 Michael Cummings (RETIRED) gentoo-dev 2002-12-19 13:13:10 UTC
The easiest way I know to re-emerge the deps is to more the ebuild for dvdrip 
and in pull out the three lines from the DEPEND block for perl deps and hand 
emerge them (not -u, literrally force the emerge over again).

Enabling threading in perl is an 'at your own risk' thing. I made it optional 
in the ebuild for the die-hard perl folks who wanted it, but it can complicate 
normal perl deps. (ie, there are some cases where it simply won't work).
Comment 4 Shane Helms 2002-12-28 04:35:34 UTC
The problem is fixed :-)
My dvdrip now starts up, I haven't tested it or done anything else yet, but
atleast it now starts.

I did the following:

emerge -C Storable
emerge -C Event
emerge perl gnome-libs gdk-pixbuf gtk-perl Storable Event gtk-perl dvdrip

NO ebuild modification is necessary, and all packages are the latest versions to
this moment. I also updated other packages (such as gcc) to latest version,
which could have indeed been the solution. No threading support for perl.
Finally, as you can see gtk-perl is reinstalled twice in last line!

I'm gonna test the dvdrip soon as well, but as far as I'm concerned this bug is
resolved.

Thanks
Comment 5 Tobias Sager 2002-12-30 02:13:11 UTC
The above instruction fixes the problem for me too.
Comment 6 Michael Cummings (RETIRED) gentoo-dev 2003-01-12 12:39:22 UTC
Is dvdrip continuing to give anyone problems?
Comment 7 atom 2003-01-15 02:48:31 UTC
*  sys-devel/perl
      Latest version available: 5.8.0-r8
      Latest version installed: 5.8.0-r8

*  media-video/dvdrip
      Latest version available: 0.48.5
      Latest version installed: 0.48.5

*  dev-perl/gtk-perl
      Latest version available: 0.7008-r9
      Latest version installed: 0.7008-r9

I have had no problems running dvdrip. I don't think I emerged perl with threads
enabled.
Comment 8 Robert Coie (RETIRED) gentoo-dev 2003-02-19 16:17:40 UTC
Initial reporter claims it is fixed, and no other people surfaced with the problem remaining.