I am using 'cpan' under cygwin to try to install the package DateTime::TimeZone.

The installation fails when trying to compile the prerequisite: Package::Stash::XS with the error message "Could not make: Unknown error" -- which of course is not very helpful (at least to me).

The following is the fulloutput I receive after typing "install Package::Stash::XS"
Running install for module 'Package::Stash::XS' Running make for D/DO/DOY/Package-Stash-XS-0.28.tar.gz Prepending %BUILDDIR%/Test-Fatal-0.013-Zw4i9r/blib/arch %BUILDDIR%/Tes +t-Fatal-0.013-Zw4i9r/blib/lib %BUILDDIR%/Test-Requires-0.07-8LLzjm/bl +ib/arch %BUILDDIR%/Test-Requires-0.07-8LLzjm/blib/lib %BUILDDIR%/Test +-Output-1.03-gGwQYZ/blib/arch %BUILDDIR%/Test-Output-1.03-gGwQYZ/blib +/lib %BUILDDIR%/Test-Tester-0.109-YJnV9z/blib/arch %BUILDDIR%/Test-Te +ster-0.109-YJnV9z/blib/lib %BUILDDIR%/Sub-Exporter-0.987-es_9LP/blib/ +arch %BUILDDIR%/Sub-Exporter-0.987-es_9LP/blib/lib %BUILDDIR%/Data-Op +tList-0.109-tQ8WPI/blib/arch %BUILDDIR%/Data-OptList-0.109-tQ8WPI/bli +b/lib %BUILDDIR%/Sub-Install-0.927-1vN3KS/blib/arch %BUILDDIR%/Sub-In +stall-0.927-1vN3KS/blib/lib %BUILDDIR%/Capture-Tiny-0.23-koScj6/blib/ +arch %BUILDDIR%/Capture-Tiny-0.23-koScj6/blib/lib to PERL5LIB; %BUILD +DIR%=/home/myhome/.cpan/build for 'get' Has already been unwrapped into directory /home/myhome/.cpan/build/P +ackage-Stash-XS-0.28-KGjONb Prepending %BUILDDIR%/Test-Fatal-0.013-Zw4i9r/blib/arch %BUILDDIR%/Tes +t-Fatal-0.013-Zw4i9r/blib/lib %BUILDDIR%/Test-Requires-0.07-8LLzjm/bl +ib/arch %BUILDDIR%/Test-Requires-0.07-8LLzjm/blib/lib %BUILDDIR%/Test +-Output-1.03-gGwQYZ/blib/arch %BUILDDIR%/Test-Output-1.03-gGwQYZ/blib +/lib %BUILDDIR%/Test-Tester-0.109-YJnV9z/blib/arch %BUILDDIR%/Test-Te +ster-0.109-YJnV9z/blib/lib %BUILDDIR%/Sub-Exporter-0.987-es_9LP/blib/ +arch %BUILDDIR%/Sub-Exporter-0.987-es_9LP/blib/lib %BUILDDIR%/Data-Op +tList-0.109-tQ8WPI/blib/arch %BUILDDIR%/Data-OptList-0.109-tQ8WPI/bli +b/lib %BUILDDIR%/Sub-Install-0.927-1vN3KS/blib/arch %BUILDDIR%/Sub-In +stall-0.927-1vN3KS/blib/lib %BUILDDIR%/Capture-Tiny-0.23-koScj6/blib/ +arch %BUILDDIR%/Capture-Tiny-0.23-koScj6/blib/lib to PERL5LIB; %BUILD +DIR%=/home/myhome/.cpan/build for 'make' Could not make: Unknown error Prepending %BUILDDIR%/Test-Fatal-0.013-Zw4i9r/blib/arch %BUILDDIR%/Tes +t-Fatal-0.013-Zw4i9r/blib/lib %BUILDDIR%/Test-Requires-0.07-8LLzjm/bl +ib/arch %BUILDDIR%/Test-Requires-0.07-8LLzjm/blib/lib %BUILDDIR%/Test +-Output-1.03-gGwQYZ/blib/arch %BUILDDIR%/Test-Output-1.03-gGwQYZ/blib +/lib %BUILDDIR%/Test-Tester-0.109-YJnV9z/blib/arch %BUILDDIR%/Test-Te +ster-0.109-YJnV9z/blib/lib %BUILDDIR%/Sub-Exporter-0.987-es_9LP/blib/ +arch %BUILDDIR%/Sub-Exporter-0.987-es_9LP/blib/lib %BUILDDIR%/Data-Op +tList-0.109-tQ8WPI/blib/arch %BUILDDIR%/Data-OptList-0.109-tQ8WPI/bli +b/lib %BUILDDIR%/Sub-Install-0.927-1vN3KS/blib/arch %BUILDDIR%/Sub-In +stall-0.927-1vN3KS/blib/lib %BUILDDIR%/Capture-Tiny-0.23-koScj6/blib/ +arch %BUILDDIR%/Capture-Tiny-0.23-koScj6/blib/lib to PERL5LIB; %BUILD +DIR%=/home/myhome/.cpan/build for 'test' Running make test Can't test without successful make Running make install Make had returned bad status, install seems impossible
Note that 'make' is installed in '/bin/make' by the standard cygwin install.

Any idea what might be wrong here and how to fix it?
Thanks!

In reply to Difficult compiling Package::Stash::XS by puterboy

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.