Gentoo Archives: gentoo-user

From: Naga Toro <nagatoro@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Perl module problem
Date: Fri, 05 Oct 2007 20:16:28
Message-Id: 200710052201.00265.nagatoro@gmail.com
1 Hi,
2
3 I have two machines that uses x11-terms/rxvt-unicode-8.3. One is ~amd64 and
4 one is ~x86, both have the same version of perl and
5 perl-core/Scalar-List-Utils. One can use the perl extensions (~amd64 one) and
6 one gives this error on startup:
7 ----
8 urxvt: perl hook 0 evaluation error: Undefined subroutine
9 &Scalar::Util::weaken called at /usr/lib/urxvt/urxvt.pm line 1191
10 ----
11 nonworking:
12 $ strace urxvt 2>&1 | egrep 'open.*perl'
13 /usr/lib/perl5/5.8.8/Scalar/Util.pm
14 /usr/lib/perl5/5.8.8/List/Util.pm
15 ----
16 working:
17 $ strace urxvt 2>&1 | egrep 'open.*perl'
18 /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux/Scalar/Util.pm
19 /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux/List/Util.pm
20 /usr/lib64/perl5/5.8.8/x86_64-linux/XSLoader.pm
21 /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux/auto/List/Util/Util.so
22 ----
23 This indicates that the working uses perl-core/Scalar-List-Utils but the
24 nonworking uses dev-lang/perl, but why?
25
26 Does anyone have an idea as to how I can debug this?
27
28 --
29 Naga
30 --
31 gentoo-user@g.o mailing list

Replies

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