Gentoo Archives: gentoo-perl

From: Yuval Yaari <yuval@g.o>
To: gentoo-perl@l.g.o
Subject: Re: [gentoo-perl] Scalar::Util qw( weaken )
Date: Wed, 25 Mar 2009 10:19:13
Message-Id: 49CA048C.7060400@gentoo.org
In Reply to: [gentoo-perl] Scalar::Util qw( weaken ) by Alex Efros
1 Alex Efros wrote:
2 > This bug probably related to http://bugs.gentoo.org/show_bug.cgi?id=247585
3 >
4 > Because of broken Compress::Zlib we can't use cpan command anymore to
5 > reinstall Scalar::Util, and have to download/unpack/install it manually.
6 >
7 > So, it looks like only way to work around this issue is use hook in
8 > /etc/portage/bashrc to reinstall Scalar::Util on "postinst" EBUILD_PHASE
9 > for dev-lang/perl package. Is there any better solution exists?
10 >
11 Oh, almost forgot:
12 The bug/fix is only relevant when switching between threaded and
13 unthreaded `perl` (the paths change...).
14
15 I could be wrong, but maybe you have/had 2 different installations of
16 Compress::Zlib/Scalar::Util, one from portage and one directly from cpan?
17 Just guessing...
18
19 Regards,
20
21 ~Y