develooper Front page | perl.perl5.porters | Postings from September 2002

Re: [perl #17474] perl 5.8.0's nmake install fails on Win32 if $(INST_TOP) contains whitespace characters

Thread Previous | Thread Next
From:
Michael G Schwern
Date:
September 27, 2002 17:27
Subject:
Re: [perl #17474] perl 5.8.0's nmake install fails on Win32 if $(INST_TOP) contains whitespace characters
Message ID:
20020928002735.GF542@ool-18b93024.dyn.optonline.net
On Thu, Sep 26, 2002 at 07:19:59PM +0100, hv@crypt.org wrote:
> Burkhard Meier (via RT) <perlbug@perl.org> wrote:
> :"nmake install" fails on Win32 if the $(INST_TOP) makefile macro
> :specifies an installation directory that contains whitespace characters,
> 
> Thanks for the report; you suggest quoting references to $INST_BIN,
> $INST_SCRIPT and $INST_HTML, but I'd have thought that many of the
> other variables involved could also be space-ridden paths.

Many of them do, and it causes lots of other problems.  Here's one which
causes a problem when perl is in C:\Program Files\Perl
http://rt.cpan.org/NoAuth/Bug.html?id=448

It can't be fixed because there's currently no reliable way to bypass the
shell and still trap the output of a system command.


> Can any win32 expert confirm how much needs to change here? (Preferably
> with a patch. :)

To fix it properly, I think the whole of MakeMaker will have to be swept for
this sort of thing.  It likely effects Unix as well, only we tend to avoid
spaces in paths under Unix.


-- 

Michael G. Schwern   <schwern@pobox.com>    http://www.pobox.com/~schwern/
Perl Quality Assurance      <perl-qa@perl.org>         Kwalitee Is Job One
Worship the sig file

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About