Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^5: How let Inline tell space in path?

by syphilis (Archbishop)
on Oct 31, 2007 at 23:52 UTC ( [id://648400]=note: print w/replies, xml ) Need Help??


in reply to Re^4: How let Inline tell space in path?
in thread How let Inline tell space in path?

I've been able to use spaces and other meaningful punctuation in my paths for decades now

Well ... spaces don't work for me ... and although I don't need it to work for me, I'd be most interested to learn how you've achieved it.

First up, I put a build of ActivePerl 5.8.8 (build 822) in:
C:\_32\with spaces\perl
and I placed a copy of the Math-FFT-1.28 source in
C:\_32\with spaces\Math-FFT-1.28
and I tried to build Math-FFT-1.28 (using the above mentioned build of perl). If I use dmake, 'perl Makefile.PL' runs ok, but 'dmake' fails immediately with:
dmake: Error: -- `C:\_32\with' not found, and can't be made
So I ran 'dmake realclean' and then set things up to use 'nmake' instead of 'dmake'. Again, 'perl Makefile.PL' runs fine, but 'nmake' croaks immediately with:
NMAKE : fatal error U1073: don't know how to make 'C:\_32\with' Stop.
Below my sig is a copy'n'paste of what I did. How have you got around these problems ? (An answer to that could put us well on the way to coming up with a patch for Inline.)

Cheers,
Rob
C:\_32\with spaces\Math-FFT-1.28>perl -V:make make='dmake'; C:\_32\with spaces\Math-FFT-1.28>perl makefile.PL Set up gcc environment - 3.4.5 (mingw32 special) Checking if your kit is complete... Looks good Writing Makefile for Math::FFT C:\_32\with spaces\Math-FFT-1.28>dmake dmake: Error: -- `C:\_32\with' not found, and can't be made C:\_32\with spaces\Math-FFT-1.28>dmake realclean . [snipped - nothing of interest here] . C:\_32\with spaces\Math-FFT-1.28>set PATH=C:\_32\nmake;%path% C:\_32\with spaces\Math-FFT-1.28>perl -V:make make='nmake'; C:\_32\with spaces\Math-FFT-1.28>perl Makefile.PL Set up gcc environment - 3.4.5 (mingw32 special) Checking if your kit is complete... Looks good Writing Makefile for Math::FFT C:\_32\with spaces\Math-FFT-1.28>nmake Microsoft (R) Program Maintenance Utility Version 7.00.9466 Copyright (C) Microsoft Corporation. All rights reserved. NMAKE : fatal error U1073: don't know how to make 'C:\_32\with' Stop. C:\_32\with spaces\Math-FFT-1.28>

Replies are listed 'Best First'.
Re^6: How let Inline tell space in path?
by diotalevi (Canon) on Nov 01, 2007 at 22:49 UTC

    When using GNU make on Linux I have no such problems. I would consider dmake and nmake in need of patches.

    ⠤⠤ ⠙⠊⠕⠞⠁⠇⠑⠧⠊

      In my experience, nmake does not need such patches as it understands whitespace in paths well enough, provided the places where the arguments are handed to the shell are properly quoted - on Win32, system(LIST) is basically system(STRING).

      With dmake, there was at least one bug with properly quoted whitespace paths, but that one is supposed to be fixed with dmake v4.11, which Steve Hay likely will put out as well.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://648400]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (2)
As of 2024-04-19 19:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found