Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^2: perl.exe Makefile.PL fails to create makefile

by Anonymous Monk
on Mar 26, 2013 at 10:17 UTC ( #1025486=note: print w/ replies, xml ) Need Help??


in reply to Re: perl.exe Makefile.PL fails to create makefile
in thread perl.exe Makefile.PL fails to create makefile

But it won't let me install JSON or JSON::XS when I try that.

Well OK, YAML Makefile.PL aborting because JSON isn't installed won't exactly tell us whats wrong with getting JSON installed :), so copy/paste the failed JSON/JSON::XS install message, please

OTOH, what corion asked ;)


Comment on Re^2: perl.exe Makefile.PL fails to create makefile
Re^3: perl.exe Makefile.PL fails to create makefile
by agentsmith (Initiate) on Mar 26, 2013 at 10:54 UTC

    Corion's hint seems to be the one! Thanks, Corion. Now install progresses to running the tests, but fails at :

    'C:\Program' is not recognized as an internal or external command,oper +able program or batch file.
    I suppose the string needs to be put in quotes someplace - which place ? Is it in MyConfig.pm file in .cpan ?

      I suppose the string needs to be put in quotes someplace - which place ? Is it in MyConfig.pm file in .cpan ?

      Well, I've seen that before in a few , but I don't recall from memory off the top of my head where/what/how

      Maybe  cpan[1]> o conf or whatever

      Maybe update %userprofile% and other vars to use shortnames if you've got that configured

      Maybe patch path in pl2bat ... Re: exec not working?

      OTOH, I don't think cpanp will have problem with it, I prefer cpanp

      Progress : put the C:\Program File\....\nmake.exe string in quotes , in MyConfig.pm file , now installed YAML successfully.

      Trying JSON::XS, which throws error :

      'pl2bat.bat' is not recognized as an internal or external command,oper +able program or batch file.
      Trying with bin dir appended to %PATH%

      UPDATE: JSON::XS and JSON installed successfully.

      Summary : 1. Strawberry perl had set environment variables which affected my instance of perl. 2. MyConfig.pm file isn't set right by default for Windows paths which often contain spaces. Need to put such path strings in quotes. 3. Need to run vcvars32.bat and ensure perl/bin is in %PATH%

      Thanks to all monks!

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (6)
As of 2014-07-10 04:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (198 votes), past polls