-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Here's a relevant part of the output on Windows with verbosity on:

Checking C:\Program Files\Perl\bin\perl.exe
Executing C:\Program Files\Perl\bin\perl.exe
Result: `'C:\Program' is not recognized as an internal or external
command,
operable program or batch file.
'

This looks like it would be fixable using the multi-argument form of
system().

>>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.

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

It's hard to find anything on Microsoft's site (especially if you just
search for it) but the following pages could be helpful:

<http://msdn.microsoft.com/library/en-us/vccore/html/_asug_overview.3a_.nmake_reference.asp?frame=true>
<http://www.compaq.com/fortran/docs/vf-html/rterr/rtnmak.htm>
<http://www.opussoftware.com/manual/appendices/D2.htm>
<http://www.microsoft.com/JAPAN/developer/library/vcug/_asug_overview.3a_.nmake_reference.htm>,
if you understand Japanese.

Nmake.exe is downloadable from
<http://support.microsoft.com/default.aspx?scid=http://download.microsoft.com/download/vc15/Patch/1.52/W95/EN-US/Nmake15.exe>,
for anyone who has Windows but not Visual C++.

Do not confuse Microsoft's nmake with Lucent's tool of the same name.

>>Another couple of bugettes are the failed 'Unable to find a perl 5'
>>check performed by MakeMaker itself,

I meant the error shown at the top of this message.

>>and the fact that nmake complains if the name of a dependency contains
>>a colon.

Even if you bypass the quoting problem (for example by changing
Program Files to Program_Files) nmake still complains because the
filename C:\whatever contains a colon - which conflicts with makefile
syntax!

I'm sure there is a way around this, but I don't know what it is yet.

- -- 
Ed Avis <[EMAIL PROTECTED]>
Finger for PGP key
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8jHrIIMp73jhGogoRAmoIAJ440drgMcaiJ6SbxgiBlJECMa4TpwCfaVKI
AU20ka9VVVBEW08vcC2Np8A=
=8PGb
-----END PGP SIGNATURE-----

Reply via email to