in reply to Unable To Install XML::XSH2 On Microsoft Windows Under Strawberry Perl 5.16.2
I tried installing it on 64bit Windows 7 with Strawberry Perl 5.16.2, and I got the same error.
There appears to be a problem with one of the Makefile commands:
cd lib/XML/XSH2; env LC_ALL=C LANG=C $(PERL) -MGrammar -e XML::XSH +2::Grammar::compile
According to process monitor, this is executed as:
C:\windows\system32\cmd.exe /S /c "cd lib/XML/XSH2; set LC_ALL=C; set +LANG=C; C:\strawberry\perl\bin\perl.exe -MGrammar -e XML::XSH2::Gramm +ar::compile"
And cmd.exe doesn't like this command. It looks to me (I'm guessing here) that cd interprets everything after the 'cd' in that command as the path of the directory to change to. Of course, that isn't a valid path.
Documentation for cmd.exe says it can be given multiple commands but separated by &, rather than ;. So, I tried editing the Makefile, replacing ';' with '&' and it progressed a little further, but there were errors in testing
The test failures may be because the tests use features not available on windows, like the Makefile does, rather than because the module didn't build successfully.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Unable To Install XML::XSH2 On Microsoft Windows Under Strawberry Perl 5.16.2
by Anonymous Monk on May 18, 2013 at 07:16 UTC | |
by Anonymous Monk on May 18, 2013 at 07:39 UTC |