Dear Monks,

Hoping you can help. I'm trying to install Algorithm::Permute on cygwin. It seems to fail at make. I can't seem to figure out what's wrong. I've listed the errors encountered below.

$ cpan -f Algorithm::Permute CPAN: Storable loaded ok (v2.27) Going to read '/home/conor/.cpan/Metadata' Database was generated on Fri, 22 Aug 2014 14:41:02 GMT Running install for module 'Algorithm::Permute' Running make for E/ED/EDPRATOMO/Algorithm-Permute-0.12.tar.gz CPAN: Digest::SHA loaded ok (v5.71) CPAN: Compress::Zlib loaded ok (v2.033) Checksum for /home/conor/.cpan/sources/authors/id/E/ED/EDPRATOMO/Algor +ithm-Permute-0.12.tar.gz ok CPAN: File::Temp loaded ok (v0.22) CPAN: Parse::CPAN::Meta loaded ok (v1.4401) CPAN: CPAN::Meta loaded ok (v2.110440) CPAN.pm: Going to build E/ED/EDPRATOMO/Algorithm-Permute-0.12.tar.gz Checking if your kit is complete... Looks good Writing Makefile for Algorithm::Permute Writing MYMETA.yml CPAN: Module::CoreList loaded ok (v2.49_02) cp Permute.pm blib/lib/Algorithm/Permute.pm AutoSplitting blib/lib/Algorithm/Permute.pm (blib/lib/auto/Algorithm/P +ermute) gcc-4 -c -DPERL_USE_SAFE_PUTENV -U__STRICT_ANSI__ -g -fno-strict-ali +asing -pipe -fstack-protector -DUSEIMPORTLIB -O3 -DVERSION=\"0.12\" + -DXS_VERSION=\"0.12\" "-I/usr/lib/perl5/5.14/i686-cygwin-threads-64 +int/CORE" -DPERL_EXT coollex.c Makefile:333: recipe for target 'coollex.o' failed make: *** [coollex.o] Error 1 EDPRATOMO/Algorithm-Permute-0.12.tar.gz make -- NOT OK CPAN: YAML loaded ok (v1.09) Running make test Can't test without successful make Running make install Make had returned bad status, install seems impossible
TRIED TO RUN MAKE MANUALLY
cpan[1]> look Algorithm::Permute $ perl Makefile.PL CC=/usr/bin/gcc LD=/usr/bin/gcc Writing Makefile for Algorithm::Permute Writing MYMETA.yml
MY MYMETA.yml FILE
--- abstract: ~ author: [] build_requires: ExtUtils::MakeMaker: 0 configure_requires: ExtUtils::MakeMaker: 0 distribution_type: module dynamic_config: 0 generated_by: 'ExtUtils::MakeMaker version 6.57_05' license: perl meta-spec: url: http://module-build.sourceforge.net/META-spec-v1.4.html version: 1.4 name: Algorithm-Permute no_index: directory: - t - inc requires: {} version: 0.12
MAKE ERROR
$ make /usr/bin/gcc -c -DPERL_USE_SAFE_PUTENV -U__STRICT_ANSI__ -g -fno-str +ict-aliasing -pipe -fstack-protector -DUSEIMPORTLIB -O3 -DVERSION=\ +"0.12\" -DXS_VERSION=\"0.12\" "-I/usr/lib/perl5/5.14/i686-cygwin-thr +eads-64int/CORE" -DPERL_EXT coollex.c Makefile:333: recipe for target 'coollex.o' failed make: *** [coollex.o] Error 1

In reply to make error installing Algorithm::Permute by Anonymous Monk

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.