Gentoo Archives: gentoo-user

From: Naga Toro <nagatoro@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: Perl module problem
Date: Wed, 10 Oct 2007 18:27:48
Message-Id: 200710102009.49297.nagatoro@gmail.com
In Reply to: [gentoo-user] Re: Perl module problem by Moshe Kamensky
1 On Sunday 07 October 2007 20.21.57 Moshe Kamensky wrote:
2 > Hi,
3 >
4 > Does /usr/lib/perl5/vendor_perl/5.8.8/Scalar/Util.pm exist? What is the
5 > output of
6 >
7 > perl -le 'print foreach @INC'
8
9 $ perl -le 'print foreach @INC'
10 /etc/perl
11 /usr/lib/perl5/vendor_perl/5.8.8/i686-linux
12 /usr/lib/perl5/vendor_perl/5.8.8
13 /usr/lib/perl5/vendor_perl
14 /usr/lib/perl5/site_perl/5.8.8/i686-linux
15 /usr/lib/perl5/site_perl/5.8.8
16 /usr/lib/perl5/site_perl
17 /usr/lib/perl5/5.8.8/i686-linux
18 /usr/lib/perl5/5.8.8
19 /usr/local/lib/site_perl
20 .
21
22 Same on both machines.
23
24 > By the way, I run urxvt fine with the Scalar::Util that comes with perl.
25 > do you have something like
26 > /usr/lib/perl5/5.8.8/i686-linux-thread-multi/auto/List/Util/Util.so
27
28 /usr/lib/perl5/vendor_perl/5.8.8/i686-linux/auto/List/Util/Util.so
29 /usr/lib/perl5/5.8.8/i686-linux/auto/List/Util/Util.so
30
31 Same on both machines (except that i686 == x86_64 on the working one).
32
33 >
34 > Moshe
35 >
36 > * Naga Toro <nagatoro@×××××.com> [05/10/07 16:06]:
37 > > Hi,
38 > >
39 > > I have two machines that uses x11-terms/rxvt-unicode-8.3. One is ~amd64
40 > > and one is ~x86, both have the same version of perl and
41 > > perl-core/Scalar-List-Utils. One can use the perl extensions (~amd64 one)
42 > > and one gives this error on startup:
43 > > ----
44 > > urxvt: perl hook 0 evaluation error: Undefined subroutine
45 > > &Scalar::Util::weaken called at /usr/lib/urxvt/urxvt.pm line 1191
46 > > ----
47 > > nonworking:
48 > > $ strace urxvt 2>&1 | egrep 'open.*perl'
49 > > /usr/lib/perl5/5.8.8/Scalar/Util.pm
50 > > /usr/lib/perl5/5.8.8/List/Util.pm
51 > > ----
52 > > working:
53 > > $ strace urxvt 2>&1 | egrep 'open.*perl'
54 > > /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux/Scalar/Util.pm
55 > > /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux/List/Util.pm
56 > > /usr/lib64/perl5/5.8.8/x86_64-linux/XSLoader.pm
57 > > /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux/auto/List/Util/Util.so
58 > > ----
59 > > This indicates that the working uses perl-core/Scalar-List-Utils but the
60 > > nonworking uses dev-lang/perl, but why?
61 > >
62 > > Does anyone have an idea as to how I can debug this?
63 --
64 gentoo-user@g.o mailing list

Replies

Subject Author
[gentoo-user] Re: Perl module problem Moshe Kamensky <moshe.kamensky@××××××××××.com>