From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1IfgHc-0000NA-0Z for garchives@archives.gentoo.org; Wed, 10 Oct 2007 18:27:48 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.1/8.14.0) with SMTP id l9AIG2S4014615; Wed, 10 Oct 2007 18:16:02 GMT Received: from proxy2.bredband.net (proxy2.bredband.net [195.54.101.72]) by robin.gentoo.org (8.14.1/8.14.0) with ESMTP id l9AI9rIM006051 for ; Wed, 10 Oct 2007 18:09:53 GMT Received: from ironport.bredband.com (195.54.101.120) by proxy2.bredband.net (7.3.127) id 470CE9210003B244 for gentoo-user@lists.gentoo.org; Wed, 10 Oct 2007 20:09:52 +0200 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ao9CAJKyDEdV4PXARmdsb2JhbACBWoxkAQEBNw Received: from c-c0f5e055.104-1-64736c15.cust.bredbandsbolaget.se (HELO hest.homelinux.org) ([85.224.245.192]) by ironport1.bredband.com with ESMTP; 10 Oct 2007 20:09:51 +0200 From: Naga Toro To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Re: Perl module problem Date: Wed, 10 Oct 2007 20:09:48 +0200 User-Agent: KMail/1.9.7 References: <200710052201.00265.nagatoro@gmail.com> <20071007182157.GA26038@detritus> In-Reply-To: <20071007182157.GA26038@detritus> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <200710102009.49297.nagatoro@gmail.com> X-Archives-Salt: 202e97d9-afd5-4546-9b0a-81930175ce27 X-Archives-Hash: 33e391a24473c41dc0ad61633fce156f 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 [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