in reply to Re: Unable To Install XML::XSH2 On Microsoft Windows Under Strawberry Perl 5.16.2
in thread Unable To Install XML::XSH2 On Microsoft Windows Under Strawberry Perl 5.16.2

Yup, unportable makefiles are not portable :) unixisms don't travel well to nonunix

Even the following isn't fantastically portable but works on win32

$(PERL) -e " chdir(qw{ lib/XML/XSH2 }); @ENV{qw{ LC_ALL LANG }} = qw{ +C C }; require Grammar; XML::XSH2::Grammar::compile "

A better way to fix it is to use the http://search.cpan.org/perldoc/ExtUtils::MakeMaker#PL_FILES or writhe another tools/gen_compile.pl

But its not like the authors are unaware of all this :)

  • Comment on Re^2: Unable To Install XML::XSH2 On Microsoft Windows Under Strawberry Perl 5.16.2
  • Download Code

Replies are listed 'Best First'.
Re^3: Unable To Install XML::XSH2 (because of bugs)
by Anonymous Monk on May 18, 2013 at 07:39 UTC

    Hmm, it didn't work, way more failing tests than I remember, so I actually wrote gen_compile for

    $(PERL) tools/gen_compile.pl
    but same results, something more is broken this time

    I'm not up to debugging this. I have had fewer failing tests in 2012 with XML-XSH2-2.1.6 than now XML-XSH2-2.1.7, but I just tried XML-XSH2-2.1.6 again, and tried it with a few programs, but seems broken

    This trick worked for XML::XSH2 2.1.5, but I just tried it with 2.1.5 again and I could not make it work today -- I have no idea what went right the first time, or what went wrong this time