On Sun, Mar 10, 2002 at 11:39:52AM +0000, Edward Avis wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On Sat, 9 Mar 2002, Michael G Schwern wrote:
> 
> >>MakeMaker breaks horribly when perl is installed
> >>under C:\Program Files\Perl or similar.
> >
> >Could you illustrate the horrible breakage?
> 
> % which perl
> C:\Program Files\perl\bin\perl.exe
> % perl Makefile.PL
> Checking if your kit is complete...
> Looks good
> Unable to find a perl 5 (by these names: C:\Program Files\Perl\bin\perl.exe miniperl 
>perl [...])
> Writing Makefile for Term::ProgressBar

Hmmm.  Could you run that again with the verbosity cranked up like so:

$ perl -dw Makefile.PL 
Default die handler restored.

Loading DB routines from perl5db.pl version 1.07
Editor support available.

Enter h or `h h' for help, or `man perldebug' for more help.

main::(Makefile.PL:13): $PACKAGE = 'ExtUtils::MakeMaker';
  DB<1> use ExtUtils::MM_Unix            

  DB<2> $ExtUtils::MM_Unix::Verbose = 2

  DB<3> c
Looking for perl 5 by these names:
perl perl perl5 perl5.6.1 miniperl
in these dirs:
/home/schwern/bin /usr/local/sbin /usr/sbin /sbin /usr/local/bin /usr/bin /bin 
/usr/local/X11/bin /usr/bin/X11 /usr/games /usr/bin
Checking /home/schwern/bin/perl
Checking /usr/local/sbin/perl
Checking /usr/sbin/perl
Checking /sbin/perl
Checking /usr/local/bin/perl
Executing /usr/local/bin/perl
Using PERL=/usr/local/bin/perl
....



> PREFIX = C:\Program Files\Perl

<snip>

> NMAKE : fatal error U1073: don't know how to make 'C:\Program'
> Stop.
> 
> 
> I have experimented with various quoting schemes, but I haven't found
> anything that works.  As I mentioned in a previous message, none of " '
> \ or ^ seem to do the right thing.  I think a first step might be to
> isolate the C:\Program Files\Perl path in a single variable defined at
> the top of the makefile.

Curiouser and curiouser.  Is there any official nmake documentation
anywhere?


> Another couple of bugettes are the failed 'Unable to find a perl 5'
> check performed by MakeMaker itself, and the fact that nmake complains
> if the name of a dependency contains a colon.

Eh?


-- 

Michael G. Schwern   <[EMAIL PROTECTED]>    http://www.pobox.com/~schwern/
Perl Quality Assurance      <[EMAIL PROTECTED]>         Kwalitee Is Job One
Let's enjoy the traditional custom in Peru of getting leprosy.

Reply via email to