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 1Ifj5X-0000Bz-Ef for garchives@archives.gentoo.org; Wed, 10 Oct 2007 21:27:31 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.1/8.14.0) with SMTP id l9ALGakS019462; Wed, 10 Oct 2007 21:16:36 GMT Received: from services107.math.uwaterloo.ca (services107.math.uwaterloo.ca [129.97.140.58]) by robin.gentoo.org (8.14.1/8.14.0) with ESMTP id l9ALCGG0014484 for ; Wed, 10 Oct 2007 21:12:17 GMT Received: from detritus (bas2-kitchener06-1096651615.dsl.bell.ca [65.93.147.95]) (authenticated bits=0) by services107.math.uwaterloo.ca (8.13.8/8.13.8) with ESMTP id l9ALCC68011417 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for ; Wed, 10 Oct 2007 17:12:15 -0400 (EDT) Received: by detritus (Postfix, from userid 1000) id C7ED52876E3; Wed, 10 Oct 2007 17:12:11 -0400 (EDT) Date: Wed, 10 Oct 2007 17:12:11 -0400 From: Moshe Kamensky To: gentoo-user@lists.gentoo.org Subject: [gentoo-user] Re: Perl module problem Message-ID: <20071010211211.GA5271@detritus> Mail-Followup-To: gentoo-user@lists.gentoo.org References: <200710052201.00265.nagatoro@gmail.com> <20071007182157.GA26038@detritus> <200710102009.49297.nagatoro@gmail.com> 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-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="gBBFr7Ir9EOA20Yy" Content-Disposition: inline In-Reply-To: <200710102009.49297.nagatoro@gmail.com> X-Accept-Language: en X-Editor: Vim 7.1 http://vim.sf.net/ User-Agent: Mutt/1.5.16 (2007-06-09) X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0 (services107.math.uwaterloo.ca [129.97.140.58]); Wed, 10 Oct 2007 17:12:15 -0400 (EDT) X-Miltered: at mailchk-m05 with ID 470D402C.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Virus-Scanned: ClamAV version 0.91.2, clamav-milter version 0.91.2 on localhost X-Virus-Status: Clean X-UUID: a33a1329-d363-4f80-87ce-530692c5a50b X-Archives-Salt: f503afbe-e55f-4dfa-9f49-95ea3bc5a0cf X-Archives-Hash: 41b8d9a67328ff7a090ec12716282ca4 --gBBFr7Ir9EOA20Yy Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Naga Toro [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' >=20 > $ 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 > . >=20 > Same on both machines. >=20 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=20 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 >=20 > /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 >=20 > Same on both machines (except that i686 =3D=3D x86_64 on the working one). >=20 > > > > Moshe > > > > * Naga Toro [05/10/07 16:06]: > > > Hi, > > > > > > I have two machines that uses x11-terms/rxvt-unicode-8.3. One is ~amd= 64 > > > 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? > --=20 > gentoo-user@gentoo.org mailing list >=20 --gBBFr7Ir9EOA20Yy Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.7 (GNU/Linux) iD8DBQFHDUArkBjmVsKMBeMRApK8AJ9jAZV4OSY9FaObubkaGlVnrFuumACfQLLO WnO5TjJ0AzCR3HOyqD0zHn4= =HMT0 -----END PGP SIGNATURE----- --gBBFr7Ir9EOA20Yy-- -- gentoo-user@gentoo.org mailing list