public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Moshe Kamensky <moshe.kamensky@googlemail.com>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] Re: Perl module problem
Date: Wed, 10 Oct 2007 17:12:11 -0400	[thread overview]
Message-ID: <20071010211211.GA5271@detritus> (raw)
In-Reply-To: <200710102009.49297.nagatoro@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 2599 bytes --]

* Naga Toro <nagatoro@gmail.com> [10/10/07 14:15]:
> 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.
> 

Strange. Can you edit /usr/lib/urxvt/urxvt.pm and add the line

warn $INC{'Scalar/Util.pm'};

just before line 1191? Then run urxvt from a terminal, and see what it 
says.

> > 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

What about /usr/lib/perl5/vendor_perl/5.8.8/i686-linux/Scalar/Util.pm ?

Moshe

> 
> Same on both machines (except that i686 == x86_64 on the working one).
> 
> >
> > Moshe
> >
> > * Naga Toro <nagatoro@gmail.com> [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?
> -- 
> gentoo-user@gentoo.org mailing list
> 

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2007-10-10 21:27 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-05 20:00 [gentoo-user] Perl module problem Naga Toro
2007-10-07 18:21 ` [gentoo-user] " Moshe Kamensky
2007-10-10 18:09   ` Naga Toro
2007-10-10 21:12     ` Moshe Kamensky [this message]
2007-10-12 17:09 ` [gentoo-user] [Solved] " Naga Toro

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20071010211211.GA5271@detritus \
    --to=moshe.kamensky@googlemail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox