On Mon, May 05, 2008 at 12:06:49PM -0700, Matthew S. Warren wrote:

> [EMAIL PROTECTED]:~$ strace -eopen perl -e 'use Scalar::Util qw/weaken/'

> open("/usr/local/share/perl/5.8.8/Scalar/Util.pm", O_RDONLY|O_LARGEFILE) = 3

> open("/usr/local/share/perl/5.8.8/List/Util.pm", O_RDONLY|O_LARGEFILE) = 3

> open("/usr/lib/perl/5.8/auto/List/Util/Util.so", O_RDONLY) = 3

> Weak references are not implemented in the version of perl at -e line 1

> It seems to be looking in '/usr/local/share/perl/5.8.8/List/Util.pm,' 
> which it sounds like you're going to tell me is what's causing my 
> problem.  I have no idea what that directory is, although I am 
> somewhat surprised it is not the system directory since my policy on 
> the slug has always been to install nothing ever ever except for 
> debian stable, no exceptions.  (Or so I thought.)

Yeah, I don't really have any choice :) The version of List::Util under
/usr/local is probably different than the system one, and it was installed
without compiling the C part that provides 'weaken'.

The /usr/local/share/perl hierarchy is where CPAN.pm installs modules,
so I can only assume someone or something invoked the cpan shell and
installed Scalar::Util. Locally installed modules override system ones
by design. Just removing them should fix your troubles.

The only thing that comes to mind is that building Perl modules locally
might auto-install dependencies via CPAN, but that's a bit of a long
shot and Debian source packages shouldn't do even that.

As I don't think there's anything more I can do to help, I'd like to
close this bug. Please let me know if that's OK with you.

Cheers,
-- 
Niko Tyni   [EMAIL PROTECTED]



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to