On Wednesday, June 18, 2003, at 03:54 PM, Robin wrote:

On Wednesday, June 18, 2003, at 11:34 pm, David R. Morrison wrote:


Has the problem with CPAN overwriting /usr/bin/head with /usr/bin/HEAD
been solved?

yes I believe so, thought this is one of the well documented problems I was referring to, the other being the LC_ALL environment variable.

I don't think it has been solved. ExtUtils::MakeMaker still defaults to using $Config{installscript} as the install location, and:


  % /usr/bin/perl5.6.0 -V:installscript
  installscript='/usr/bin';

I see in the Changes log a comment that this has been fixed in LWP, but I don't see it in the code for libwww-perl-5.69. It still has INSTALLSCRIPT set to /usr/bin when I generate a Makefile. But I haven't actually tried a 'make install' in a while, as I don't feel like cleaning up the mess if/when it clobbers my /usr/bin/*.

To work around the problem, when installing you should be able to do:

% make install INST_SCRIPT=/usr/local/bin


FWIW, this MakeMaker problem is fixed in [the development branch of] Module::Build.


-Ken



Reply via email to