perl-5.10.0
Greg Schafer
diy-linux-dev@diy-linux.org
Mon, 11 Feb 2008 11:53:50 +1100
Hi List,
Anyone tried the latest Perl? I've taken a quick look and everything looks
mostly OK. Couple of things to note:
- there is a new test failure in the Syslog module:
ext/Sys/Syslog/t/syslog.......................................# Failed test 'setlogsock() should return true: '''
# at ../ext/Sys/Syslog/t/syslog.t line 204.
FAILED at test 176
I thought it may have been due to no running syslog in the chroot but
then I checked latest Fedora spec file and lo and behold:
"Update Sys::Syslog to 0.24, to fix test failures"
Looking at the patch itself:
[BUGFIX] CPANT-RT#32001: Skip the setlogsock('stream') tests when
/dev/log is unavailable (Brendan O'Dea).
The mimimal lines from the patch needed to make the testsuite pass are:
skip "not testing setlogsock('stream'): _PATH_LOG unavailable", 10
unless -e Sys::Syslog::_PATH_LOG();
I'll make a patch for this.
- there is a new module "Compress/Raw/Zlib" which includes a local copy of
Zlib source. Probably best to force it to use the system Zlib. The README
documents how to do this but this one liner seems to do the trick:
sed -i.bak '/BUILD_ZLIB/s/True/False/' ext/Compress/Raw/Zlib/config.in
there are other vars in that file controlling -L and -I but they aren't
worth worrying about IMHO. -L is definitely no problem and the <zlib.h>
is identical to the system installed header.
- the current seds for GCC-4.2* are no longer needed
- something I hadn't noticed before - --prefix defaults to /usr so I can
drop this from the chroot cmds.
Regards
Greg