$ 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/Algorithm-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/Permute)
gcc-4 -c -DPERL_USE_SAFE_PUTENV -U__STRICT_ANSI__ -g -fno-strict-aliasing -pipe -fstack-protector -DUSEIMPORTLIB -O3 -DVERSION=\"0.12\" -DXS_VERSION=\"0.12\" "-I/usr/lib/perl5/5.14/i686-cygwin-threads-64int/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
####
cpan[1]> look Algorithm::Permute
$ perl Makefile.PL CC=/usr/bin/gcc LD=/usr/bin/gcc
Writing Makefile for Algorithm::Permute
Writing MYMETA.yml
####
---
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
/usr/bin/gcc -c -DPERL_USE_SAFE_PUTENV -U__STRICT_ANSI__ -g -fno-strict-aliasing -pipe -fstack-protector -DUSEIMPORTLIB -O3 -DVERSION=\"0.12\" -DXS_VERSION=\"0.12\" "-I/usr/lib/perl5/5.14/i686-cygwin-threads-64int/CORE" -DPERL_EXT coollex.c
Makefile:333: recipe for target 'coollex.o' failed
make: *** [coollex.o] Error 1