On Mon, Jun 16, 2003 at 03:39:09PM +0300, [EMAIL PROTECTED] wrote:
> That installs fine as system wide, but not if I do this with grepmail:
> 
>     $ perl Makefile.PL FASTREADER=0 INSTALLDIRS=perl PREFIX=.inst/usr 
>     $ grep -i prefix Makefile
> 
>     PREFIX = .inst/usr
>     SITEPREFIX = .inst/usr
>     VENDORPREFIX = .inst/usr
> 
>     ...
>     MAKEMAKER = /usr/lib/perl5/5.8.0/ExtUtils/MakeMaker.pm
>     MM_VERSION = 6.05

*snip*

> At install.pm, line 136, it says this, when I added a print:
> 
>             if ($diff){
>                 if (-f $targetfile){
>                     forceunlink($targetfile) unless $nonono;
>                 } else {
> 
>                     print ">>$targetdir\n";
> 
>                     mkpath($targetdir,0,0755) unless $nonono;
>                     print "mkpath($targetdir,0,0755)\n" if $verbose>1;
>                 }
> 
> 
> [EMAIL PROTECTED]:/usr/src/build/grepmail-cvs-2003.0616$ make install
> >>.inst/usr/man/man1/.inst/usr/man/man1/.inst/usr/man/man1/.inst/usr/man/man1/\
> .inst/usr/man/man1/.inst/usr/man/man1/.inst/usr/man/man1/.inst/usr/man/man1
> mkdir .inst/usr/man/man1/.inst/usr/man/man1/.inst/usr/man/man1/.inst: Invalid \
> argument at /usr/lib/perl5/5.8.0/ExtUtils/Install.pm line 139
> make: *** [pure_perl_install] Error 255

Gut feeling says the leading dot is confusing something but I can't tell
from this if its ExtUtils::Install::install() itself or if its being
called wrong by MakeMaker.  Can't tell more without seeing your Makefile
and the output of 'make -n install'.

However, this bug seems to already be fixed.  I tried it with the latest
alpha and it installed ok.
http://search.cpan.org/author/MSCHWERN/ExtUtils-MakeMaker-6.10_06/


-- 
I stare into the Abyss, and it avoids making eye contact.

Reply via email to