Gentoo Archives: gentoo-user

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

Replies

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