Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problem running PERL apps
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
Sivar
Apprentice
Apprentice


Joined: 25 May 2002
Posts: 266
Location: USA

PostPosted: Mon Dec 02, 2002 10:46 pm    Post subject: Problem running PERL apps Reply with quote

I can't seem to run most complex PERL apps on Gentoo anymore. I keep getting dependency errors. For example, when I try to run "foomatic", I get:
Code:
Can't locate Foomatic/Defaults.pm in @INC (@INC contains: /usr/lib/perl5/5.6.1/i686-linux /usr/lib/perl5/5.6.1 /usr/lib/perl5/site_perl/5.6.1/i686-linux /usr/lib/perl5/site_perl/5.6.1 /usr/lib/perl5/site_perl .) at /usr/bin/foomatic-configure line 13.
BEGIN failed--compilation aborted at /usr/bin/foomatic-configure line 13.

Or, when I try to run the PERL game "Frozen Bubble" I get:
Code:
Can't locate fbmdkcommon.pm in @INC (@INC contains: /usr/lib/perl5/5.6.1/i686-linux /usr/lib/perl5/5.6.1 /usr/lib/perl5/site_perl/5.6.1/i686-linux /usr/lib/perl5/site_perl/5.6.1 /usr/lib/perl5/site_perl .) at /usr/bin/frozen-bubble line 43.
BEGIN failed--compilation aborted at /usr/bin/frozen-bubble line 43.

Note that "Defaults.pm" does not exist anywhere (not installed with ebuild?) and "fbmdkcommon.pm" does exist at:
/usr/lib/site_perl/5.6.1/i686-linux/fbmdkcommon.pm

I've tried reinstalling PERL, makemaker, and the PERL apps. What's wrong?
_________________
The greatest deeds are still undone, the greatest songs are still unsung...
Back to top
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Mon Dec 02, 2002 11:36 pm    Post subject: Re: Problem running PERL apps Reply with quote

Sivar wrote:
I've tried reinstalling PERL, makemaker, and the PERL apps.

Did you do it in exactly that order? The Perl ebuild (at least 5.6.1-r7) has a broken MakeMaker, that installs things where it can't find them. After emerging perl, make sure that you emerge ExtUtils-MakeMaker afterward. That will give you the MakeMaker that puts things in the right directories. With your system in that state, reemerge the programs containing the perl modules. If that still doesn't work, we'll have to investigate further.
_________________
For every higher wall, there is a taller ladder
Back to top
View user's profile Send private message
Sivar
Apprentice
Apprentice


Joined: 25 May 2002
Posts: 266
Location: USA

PostPosted: Wed Dec 04, 2002 9:08 am    Post subject: Re: Problem running PERL apps Reply with quote

rac wrote:
Sivar wrote:
I've tried reinstalling PERL, makemaker, and the PERL apps.

Did you do it in exactly that order? The Perl ebuild (at least 5.6.1-r7) has a broken MakeMaker, that installs things where it can't find them. After emerging perl, make sure that you emerge ExtUtils-MakeMaker afterward. That will give you the MakeMaker that puts things in the right directories. With your system in that state, reemerge the programs containing the perl modules. If that still doesn't work, we'll have to investigate further.


I just uninstalled perl,makemaker, and Froen Bubble, did an emerge rsync, touched the appropriate files to force a rebuild, and built Perl, ExtUtils-MakeMaker, then Frozen Bubble, and got the same @INC error. This game does work on an acquaintance's Gentoo Linux machine. He's taking on the rather ambitious project of porting it to Java for the final project of an Intro to Java class, and I was hoping to get it running and see how it works in case I might be of any help. (Well, okay, it's also a fun game I've played in arcades, and I want to be able to waste time with it :)
_________________
The greatest deeds are still undone, the greatest songs are still unsung...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum