On Tue, May 30, 2006 at 04:48:01PM +1000, [EMAIL PROTECTED] wrote: > Package: perl-base > Version: 5.8.4-8sarge4 > Severity: normal > > Since upgrading to 5.8.4-8sarge4, I get told: > Weak references are not implemented in the version of perl at > /home/geoffc/weak line 6 > BEGIN failed--compilation aborted at /home/geoffc/weak line 6. > > /home/geoffc/weak is pretty simple: > use Scalar::Util qw(weaken); > my $var = 'sesoise'; > my $ref = \$var; > weaken($ref); > > However on my desktop, which is i386 as well, I don't have this problem. > I don't really know how to track this down. There was a Scalar/Util.pm > file that was installed with cpanplus, but I've removed that. I know > only have the debian Scalar/Util.pm installed: > > ~$ locate Scalar/Util.pm > /root/.cpanplus/5.8.4/build/Scalar-List-Utils-1.18/blib/lib/Scalar/Util.pm > /root/.cpanplus/5.8.4/build/Scalar-List-Utils-1.18/lib/Scalar/Util.pm > /usr/share/perl/5.8.4/Scalar/Util.pm > > > -- System Information: > Debian Release: 3.1 > Architecture: i386 (i686) > Kernel: Linux 2.4.27skas > Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) > > Versions of packages perl-base depends on: > ii libc6 2.3.2.ds1-22sarge3 GNU C Library: Shared libraries > an > > -- no debconf information >
The problem is that Debian Perl is mispackaged. For some reason, various OS's are failing to distribute the file lib/auto/List/Util/Util.so with their Perls. This, of course, causes various things to fail. There are Ubuntu bugs open for more recent Perl's as well, so this really should be fixed. Steve Peters [EMAIL PROTECTED]
signature.asc
Description: Digital signature