Front page | perl.qa |
Postings from April 2010
From: H.Merijn Brand
April 28, 2010 23:42
Message ID: firstname.lastname@example.org
I picked some e-mail addresses of people I /think/ might be interested.
If you are not, apologies. Just disregard this mail.
Almost finished all my HP-UX 5.12.0 depot's. Took 5 whole days!
I don't know what parts of the toolchain are `to blame', but here I go
1. Definitely CPAN
For some reasons I need Date-Manip-5.xx instead of the parallel
developed version -6.xx. By time-stamp, -5.xx may even be newer
works fine, but if you do that again, it will INSTALL the same
module again, and again and again, whereas
will see that the latest version is already installed. As I have
that specific notation as part of a long list of module arguments,
stored in a file that is restarted after build fixes, it will indeed
build and re-install Date::Manip-5.xx time after time again
2. ExtUtils::MakeMaker and Module::Build - Serious!
HP-UX, and probably other OS's too, do not allow installation of
shared objects when the object already exists and is in use. That
means that all XS modules used by CPAN cannot be installed by CPAN.
Worse however is the fact that after the failed install try, the
target object is now invalidated. The mode was 0555, the copy
failed, and the mode of the original not-replaced file is now 0666,
causing load by other modules to fail. That is REALLY bad.
The only workaroud I see is to rename the target file before the
copy and try to remove the renamed file after the install succeeded.
The modules that are affected in this cycle were:
Compress::Raw::Bzip2 Compress::Raw::Zlib Data::Dumper Digest::SHA
List::Util MIME::Base64 Time::HiRes
3. CPAN / CPANPLUS
My HP-UX 10.20 only has 512 Mb memory :) When LWP and Archive::Tar
are installed, large distributions - like DBD::SQLite - will cause
an "Out of memory!" crash of cpan. When I use other fetch methods
and build from source myself, there is no problem at all.
H.Merijn Brand http://tux.nl Perl Monger http://amsterdam.pm.org/
using 5.00307 through 5.12 and porting perl5.13.x on HP-UX 10.20, 11.00,
11.11, 11.23, and 11.31, OpenSuSE 10.3, 11.0, and 11.1, AIX 5.2 and 5.3.
by H.Merijn Brand