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