Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 8958 - sdl-perl-1.18.5-r2.ebuilds bug or perl path problem
Summary: sdl-perl-1.18.5-r2.ebuilds bug or perl path problem
Status: RESOLVED DUPLICATE of bug 9067
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC Linux
: High normal (vote)
Assignee: Michael Cummings (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-10-09 22:41 UTC by Marcio Teixeira
Modified: 2006-02-04 06:03 UTC (History)
1 user (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 Marcio Teixeira 2002-10-09 22:41:16 UTC
When I do "emerge apps-games/frozen-bubble-0.9.3-r1.ebuild", it fails with this error:  >>> md5 ;-) frozen-bubble-0.9.3.tar.bz2 >>> Unpacking source... >>> Unpacking frozen-bubble-0.9.3.tar.bz2 >>> Source unpacked.  Can't locate SDL.pm in @INC (@INC contains: /usr/lib/perl5/5.6.1/powerpc-linux / usr/lib/perl5/5.6.1 /usr/lib/perl5/site_perl/5.6.1/powerpc-linux /usr/lib/perl5/ site_perl/5.6.1 /usr/lib/perl5/site_perl .) at -e line 1. BEGIN failed--compilation aborted at -e line 1.      *** I need perl-SDL installed make: *** [dirs] Error 1  !!! ERROR: The ebuild did not complete successfully. !!! Function src_compile, Line 2, Exitcode 2 !!! (no error message)   So, I went ahead and did "emerge dev-perl/sdl-perl" figuring that would solve the problem. It didn't. I did some poking around and found the problem. Aparently the SDL.pm gets installed in the wrong place. If I do "qpkg -l sdl-perl | grep SDL.pm", I get:     /usr/lib/site_perl/5.6.1/powerpc-linux/SDL.pm  Notice that this is not one of the paths that shows up in the error message above. Aparently there are multiple "site_perl" directories lying around. If it's not supposed to be that way, the sdl-perl emerge might be putting things in the wrong directory. If it is the correct directory, it ought to be added to perl's default path.
Comment 1 Marcio Teixeira 2002-10-09 22:54:01 UTC
 perl-sdl is not the only emerge which puts stuff in "/usr/lib/site_perl/5.6.1/powerpc-linux/". On my system, I have additional files in that directory, such as:    /usr/lib/site_perl/5.6.1/powerpc-linux/Image/Magick.pm   /usr/lib/site_perl/5.6.1/powerpc-linux/XML/Parser.pm   I used "qpkg -f" to find which ebuild they came from and it implicated "dev-perl/XML-Parser" and "media-gfx/imagemagick." These packages might need to be looked at as well, to make sure they aren't broken too. 
Comment 2 Maik Schreiber 2002-10-11 11:21:08 UTC
This bug is the same as in bug #8725.
Comment 3 Michael Cummings (RETIRED) gentoo-dev 2002-10-11 11:25:00 UTC
This has been a documented and addressed problem in both other bugs and the 
mailing lists. You will need to *either* emerge dev-utils/ExtUtils-MakeMaker OR 
emerge perl -r7. There was a problem with the MakeMaker module that came with 
the default perl - among other things, it was placing sandbox-created ebuilds 
into /usr/lib/site_perl instead of /usr/lib/perl5/site_perl. Emerging either of 
the two above will correct this problem for FUTURE emerges. You will need to re-
emerge the offending applications again to resolve the problem with their 
current location. This should have been caught by the perl-modules eclass, but 
on randomly rare occasions it wasn't. Sorry for the inconvenience, let me know 
if you you continue to have problems.
Comment 4 SpanKY gentoo-dev 2002-10-13 15:27:39 UTC
Bug 9067 fixes this 

*** This bug has been marked as a duplicate of 9067 ***