Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^2: nmake error

by gwhite (Friar)
on Dec 28, 2004 at 00:49 UTC ( [id://417668]=note: print w/replies, xml ) Need Help??


in reply to Re: nmake error
in thread nmake error

yes, and when I put in mkdir c:\mytest it works fine, in the makefile (which results from Makefile.PL) I can't find any instance of c:\: which appears to be what it is choking on. For all of my input directories I did not specify a drive and I have tried slashes in both the windows direction "\" and in the Unix direction "/" with the same results.

g_White

Replies are listed 'Best First'.
Re^3: nmake error
by BrowserUk (Patriarch) on Dec 28, 2004 at 01:13 UTC

    The error message you posted certainly makes it look like your trying to execute the command mkdir c:\ which will fail.

    Try adding the /N switch to the nmake command so that you can see what commands are being issued.

    You might also try /I and see if it would build if you ignore the error(s). It doesn't fix things, but at least you would know whether it is just cmd.exe being more pendantic than other shells or something more serious.


    Examine what is said, not who speaks.
    Silence betokens consent.
    Love the truth but pardon error.

      getting somewhere..... now with /N I get:

      NMAKE : fatal error U1095: expanded command line 'C:\my_perl\perl\bin\perl.exe -MExtUtils::Command -e cp [bunch of file names here]`C:\my_perl\perl\bin\perl.exe - MFile::Basename -e 'print dirname $ARGV[0]' blib\bin`/my_code/templates' too long

      /I had no additional affect.

      g_White

        OK, trimmed some marginally required files out of the templates directory only to now get on every line

        Too many arguments at -e line 1 C:\my_perl\perl\bin\perl.exe -MExtUtils::Command -e cp images/ +wellness/well_56.jpg `C:\my_perl\perl\bin\perl.exe -MFile::Basename - +e 'print dirname $ARGV[0]' blib\bin`/my_code/images/wellness/well_56. +jpg

        with the filename changing for every file in the manifest that is being copied.

        g_White
Re^3: nmake error
by William G. Davis (Friar) on Dec 28, 2004 at 01:02 UTC

    I noticed "C:\>nmake" at the top of your example. It looks as though you're trying to build something in "C:\". This is a bad idea for a variety of reasons, the least of which being that "C:\" usually contains everything on your hard disc, and as result, Makefile.PL will probably end up checking lots and lots of stuff to make sure the MANIFEST file is correct, as you may or may not have noticed.

    My advice would be to move Makefile.PL and everything else to that /mytest directory you just created and try building there instead.

      I have tried in a variety of directories with the same results.

      g_White

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (3)
As of 2024-04-18 23:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found