Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Perl upgrade disruption
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
vervain
n00b
n00b


Joined: 09 Jan 2003
Posts: 11
Location: Leeds, UK

PostPosted: Fri Jan 31, 2003 8:35 am    Post subject: Perl upgrade disruption Reply with quote

Hello all,

On a recent '--update system' perl was upgraded to 5.8. Now mod_perl is broken becuase @INC no longer includes /usr/lib/perl5/site_perl/5.6.1/i686-linux

I have also noticed that there are a number of structures in the /usr/lib area for perl that I would not expect... eg:
/usr/lib/site_perl

I have always seen this under:
/usr/lib/perlX/site_perl or even:
/usr/lib/perlX/X.x.x/site_perl

Which in my opinion is much tidier.

Can anyone suggest a way to clean all of this up? I know that perl installations (mod_perl esp) can get themselves twisted up but in this case I have only ever used emerge to handle things but the results all seem a little odd.

For what it's worth:
magpie site_perl # perl -e 'for (@INC) { print "$_\n"; }'
/usr/lib/perl5/5.8.0/i686-linux
/usr/lib/perl5/5.8.0
/usr/lib/perl5/site_perl/5.8.0/i686-linux
/usr/lib/perl5/site_perl/5.8.0
/usr/lib/perl5/site_perl/5.6.1
/usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.8.0/i686-linux
/usr/lib/perl5/vendor_perl/5.8.0
/usr/lib/perl5/vendor_perl

and mod_perl @INC:
/var/tmp/portage/mod_perl-1.27-r1/image/usr/lib/site_perl/5.8.0/i686-linux
/usr/lib/perl5/5.8.0/i686-linux
/usr/lib/perl5/5.8.0
/usr/lib/perl5/site_perl/5.8.0/i686-linux
/usr/lib/perl5/site_perl/5.8.0
/usr/lib/perl5/site_perl/5.6.1
/usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.8.0/i686-linux
/usr/lib/perl5/vendor_perl/5.8.0
/usr/lib/perl5/vendor_perl
.
/etc/apache/
/etc/apache/lib/perl

Cheers for any help.

Verv
Back to top
View user's profile Send private message
iapetus
n00b
n00b


Joined: 04 Nov 2002
Posts: 28

PostPosted: Fri Jan 31, 2003 6:53 pm    Post subject: MakeMaker? Reply with quote

Try this. https://forums.gentoo.org/viewtopic.php?t=28726&highlight=perl+emerge+inc

Gentoo doesn't seem to handle upgrading perl very well, I've had problems several times. It is supposedly fixed.... but I can't find the posting.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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