Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
PERL Downgrade?
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
mr-simon
Guru
Guru


Joined: 22 Nov 2002
Posts: 367
Location: Leamington Spa, Warks, UK

PostPosted: Sun Jan 12, 2003 1:41 pm    Post subject: PERL Downgrade? Reply with quote

I'd like to try downgrading perl to 5.6.something, for this reason. When I tried before, I added the line: >=sys-devel/perl-5.7.0 to package.mask and did an emerge -u perl.

Perl itself was downgraded, but subsequently emerging qmail-scanner (and I presume any other perl software) failed because it couldn't find Time::HiRes. (Even though according to 'emerge -s Time-HiRes' it was installed... I also tried re-emerging it.)

I figured this might have something to do with libperl 5.8.0 still being on there... So I tried to mask >=sys-devel/libperl-5.7.0, but then I couldn't re-emerge it because it said it was masked. So... No ebuild for early versions of libperl available?

How do I go about getting There from Here?
_________________
"Pokey, are you drunk on love?"
"Yes. Also whiskey. But mostly love... and whiskey."
Back to top
View user's profile Send private message
Lovechild
Advocate
Advocate


Joined: 17 May 2002
Posts: 2858
Location: Århus, Denmark

PostPosted: Sun Jan 12, 2003 1:43 pm    Post subject: Reply with quote

here's what I do

emerge -ep world |grep dev-perl

that should give you a list of the perl modules you have installed... now emerge those again to have them linked against the new perl.

hope it helps :P
Back to top
View user's profile Send private message
steveb
Advocate
Advocate


Joined: 18 Sep 2002
Posts: 4564

PostPosted: Sun Jan 12, 2003 2:35 pm    Post subject: Reply with quote

when i upgraded to perl 5.8.x then i was requested by the emerge application to execute the following command to update some perl libraries:
Code:
/usr/portage/sys-devel/perl/files/libperl_rebuilder


i think if you downgrade perl, then you probably need to rebuild some perl libraries. try to re-emerge the packages you get by executing the following code:
Code:
for i in $(ls -1 cd /var/db/pkg/dev-perl|sort|uniq);do echo "dev-perl/${i}";done|sed 's/-[0-9].*//g'|sort -u
or execute the
Code:
/usr/portage/sys-devel/perl/files/libperl_rebuilder
command.

cheers

SteveB
Back to top
View user's profile Send private message
steveb
Advocate
Advocate


Joined: 18 Sep 2002
Posts: 4564

PostPosted: Mon Jan 13, 2003 1:00 pm    Post subject: Reply with quote

btw... this is the output i get when i run /usr/portage/sys-devel/perl/files/libperl_rebuilder again:
Code:
Ok... We're done (really)...
The following packages merged successfully:
dev-perl/Audio-Tools-0.01
dev-perl/Audio-Wav-0.02
dev-perl/Digest-MD5-2.20-r1
dev-perl/ExtUtils-F77-1.14-r1
dev-perl/ExtUtils-MakeMaker-6.05-r4
dev-perl/HTML-Parser-3.26-r2
dev-perl/HTML-Tagset-3.03-r2
dev-perl/MIME-Base64-2.12-r2
dev-perl/MP3-Info-1.01-r2
dev-perl/PDL-2.3.2-r2
dev-perl/Parse-RecDescent-1.80-r3
dev-perl/SGMLSpm-1.03-r4
dev-perl/Safe-2.09
dev-perl/URI-1.18-r1
dev-perl/XML-DOM-1.39-r4
dev-perl/XML-Parser-2.31-r1
dev-perl/XML-RegExp-0.03-r1
dev-perl/XML-Writer-0.4-r2
dev-perl/XML-XSLT-0.40-r1
dev-perl/gtk-perl-0.7008-r9
dev-perl/libnet-1.11-r1
dev-perl/libwww-perl-5.64-r1
dev-perl/libxml-perl-0.07-r2
-------------------------------------------

All packages merged successfully.
All packages cleaned successfully.


Everything Completed Successfully.
Have a nice day and thank you for flying with Gentoo.


cheers

SteveB
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