I just installed blead and got this:
$ bleadperl -V
Can't locate strict.pm in @INC (@INC contains: /sw/lib/perl5 /sw/lib/perl5/darwin /usr/local/perl/blead/lib/darwin-thread-multi-2level /usr/local/perl/blead/lib /usr/local/lib/site_perl/5.10/darwin-thread-multi-2level /usr/local/lib/site_perl /usr/local/lib/site_perl .) at /usr/local/perl/blead/lib/darwin-thread-multi-2level/Config.pm line 5.
BEGIN failed--compilation aborted at /usr/local/perl/blead/lib/darwin-thread-multi-2level/Config.pm line 5.
Compilation failed in require.
BEGIN failed--compilation aborted.
The problem is that none of strict.pm nor any of the arch independent core libraries got installed. I traced it back to this questionable bit of logic in installperl.
$do_installprivlib = 0 if $versiononly && !($installprivlib =~ m/\Q$ver/);
If we're configured as versiononly and the private lib path doesn't contain the version number don't install the private libs. I guess this is maybe some sort of protection against... something installing into somewhere it maybe shouldn't... not sure. Anyhow, it leaves me with a broken Perl.
This logic has been in there for a long time. I've traced it back to revision 18 during a 5.003 -> 5.004 integration. Anyone remember its purpose?
I have bleadperl configured like this:
sh Configure \
-Dccflags=-I/sw/include -Dldflags=-L/sw/lib \
-Dmyhostname='windhund' -Dmydomain='.schwern.org' \
-Dlibpth='/usr/local/lib /sw/lib /opt/local/lib /usr/lib' \
-Dnetdb_host_type='const char *' \
The important thing to note is that privlib is set to /usr/local/perl/blead/lib. I don't include the version # because there's no point. Its already isolated.
For now I'm going to work around it by turning off useversiononly.