On Sunday 07 October 2007 20.21.57 Moshe Kamensky wrote: > Hi, > > Does /usr/lib/perl5/vendor_perl/5.8.8/Scalar/Util.pm exist? What is the > output of > > perl -le 'print foreach @INC'
$ perl -le 'print foreach @INC' /etc/perl /usr/lib/perl5/vendor_perl/5.8.8/i686-linux /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib/perl5/site_perl/5.8.8/i686-linux /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib/perl5/5.8.8/i686-linux /usr/lib/perl5/5.8.8 /usr/local/lib/site_perl . Same on both machines. > By the way, I run urxvt fine with the Scalar::Util that comes with perl. > do you have something like > /usr/lib/perl5/5.8.8/i686-linux-thread-multi/auto/List/Util/Util.so /usr/lib/perl5/vendor_perl/5.8.8/i686-linux/auto/List/Util/Util.so /usr/lib/perl5/5.8.8/i686-linux/auto/List/Util/Util.so Same on both machines (except that i686 == x86_64 on the working one). > > Moshe > > * Naga Toro <[EMAIL PROTECTED]> [05/10/07 16:06]: > > Hi, > > > > I have two machines that uses x11-terms/rxvt-unicode-8.3. One is ~amd64 > > and one is ~x86, both have the same version of perl and > > perl-core/Scalar-List-Utils. One can use the perl extensions (~amd64 one) > > and one gives this error on startup: > > ---- > > urxvt: perl hook 0 evaluation error: Undefined subroutine > > &Scalar::Util::weaken called at /usr/lib/urxvt/urxvt.pm line 1191 > > ---- > > nonworking: > > $ strace urxvt 2>&1 | egrep 'open.*perl' > > /usr/lib/perl5/5.8.8/Scalar/Util.pm > > /usr/lib/perl5/5.8.8/List/Util.pm > > ---- > > working: > > $ strace urxvt 2>&1 | egrep 'open.*perl' > > /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux/Scalar/Util.pm > > /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux/List/Util.pm > > /usr/lib64/perl5/5.8.8/x86_64-linux/XSLoader.pm > > /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux/auto/List/Util/Util.so > > ---- > > This indicates that the working uses perl-core/Scalar-List-Utils but the > > nonworking uses dev-lang/perl, but why? > > > > Does anyone have an idea as to how I can debug this? -- [EMAIL PROTECTED] mailing list