Subject: | WinXP Pro Cygwin Digest-MD4-1.9 /bin/sh: gcc-4: command not found |
Date: | Mon, 05 Jan 2015 17:53:57 -0800 |
To: | bug-Digest-MD4 [...] rt.cpan.org |
From: | David Christensen <dpchrist [...] holgerdanske.com> |
Dear maintainer:
I am having trouble installing Digest-MD4-1.9 on Cygwin on WinXP Pro
(see below). cpan complains that it can't find gcc-4, but gcc 4.8.3 is
installed.
David
2015-01-05 17:45:34 dpchrist@dc8ct591 ~
$ cpan Digest::MD4
CPAN: Storable loaded ok (v2.27)
Reading '/home/dpchrist/.cpan/Metadata'
Database was generated on Tue, 06 Jan 2015 00:53:32 GMT
Running install for module 'Digest::MD4'
CPAN: Digest::SHA loaded ok (v5.71)
CPAN: Compress::Zlib loaded ok (v2.033)
Checksum for
/home/dpchrist/.cpan/sources/authors/id/M/MI/MIKEM/DigestMD4/Digest-MD4-1.9.tar.gz
ok
CPAN: File::Temp loaded ok (v0.22)
CPAN: YAML loaded ok (v1.13)
CPAN: Parse::CPAN::Meta loaded ok (v1.4405)
CPAN: CPAN::Meta loaded ok (v2.120351)
CPAN: Module::CoreList loaded ok (v2.49_02)
Configuring M/MI/MIKEM/DigestMD4/Digest-MD4-1.9.tar.gz with Makefile.PL
Checking if your kit is complete...
Looks good
Generating a Unix-style Makefile
Writing Makefile for Digest::MD4
Writing MYMETA.yml and MYMETA.json
MIKEM/DigestMD4/Digest-MD4-1.9.tar.gz
/usr/bin/perl Makefile.PL -- OK
Running make for M/MI/MIKEM/DigestMD4/Digest-MD4-1.9.tar.gz
cp MD4.pm blib/lib/Digest/MD4.pm
Running Mkbootstrap for Digest::MD4 ()
chmod 644 "MD4.bs"
"/usr/bin/perl.exe" "/usr/lib/perl5/5.14/ExtUtils/xsubpp" -typemap
"/usr/lib/perl5/5.14/ExtUtils/typemap" -typemap "typemap" MD4.xs >
MD4.xsc && mv MD4.xsc MD4.c
gcc-4 -c -DPERL_USE_SAFE_PUTENV -U__STRICT_ANSI__ -g
-fno-strict-aliasing -pipe -fstack-protector -DUSEIMPORTLIB -O3
-DVERSION=\"1.9\" -DXS_VERSION=\"1.9\"
"-I/usr/lib/perl5/5.14/i686-cygwin-threads-64int/CORE" MD4.c
/bin/sh: gcc-4: command not found
Makefile:328: recipe for target 'MD4.o' failed
make: *** [MD4.o] Error 127
MIKEM/DigestMD4/Digest-MD4-1.9.tar.gz
/usr/bin/make -- NOT OK
2015-01-05 17:49:02 dpchrist@dc8ct591 ~
$ perl -v
This is perl 5, version 14, subversion 2 (v5.14.2) built for
cygwin-thread-multi-64int
(with 7 registered patches, see perl -V for more detail)
Copyright 1987-2011, Larry Wall
Perl may be copied only under the terms of either the Artistic License
or the
GNU General Public License, which may be found in the Perl 5 source kit.
Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl". If you have access to the
Internet, point your browser at http://www.perl.org/, the Perl Home Page.
2015-01-05 17:49:07 dpchrist@dc8ct591 ~
$ uname -a
CYGWIN_NT-5.1 dc8ct591 1.7.33-2(0.280/5/3) 2014-11-13 15:45 i686 Cygwin
2015-01-05 17:49:11 dpchrist@dc8ct591 ~
$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/i686-pc-cygwin/4.8.3/lto-wrapper.exe
Target: i686-pc-cygwin
Configured with:
/cygdrive/i/szsz/tmpp/gcc_old/gcc-4.8.3-4.i686/src/gcc-4.8.3/configure
--srcdir=/cygdrive/i/szsz/tmpp/gcc_old/gcc-4.8.3-4.i686/src/gcc-4.8.3
--prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin
--libexecdir=/usr/libexec --datadir=/usr/share --localstatedir=/var
--sysconfdir=/etc --libdir=/usr/lib --datarootdir=/usr/share
--docdir=/usr/share/doc/gcc --htmldir=/usr/share/doc/gcc/html -C
--build=i686-pc-cygwin --host=i686-pc-cygwin --target=i686-pc-cygwin
--without-libiconv-prefix --without-libintl-prefix --libexecdir=/usr/lib
--enable-shared --enable-shared-libgcc --enable-static
--enable-version-specific-runtime-libs --enable-bootstrap
--enable-__cxa_atexit --with-dwarf2 --with-arch=i686 --with-tune=generic
--disable-sjlj-exceptions
--enable-languages=ada,c,c++,fortran,java,lto,objc,obj-c++
--enable-graphite --enable-threads=posix --enable-libatomic
--enable-libgomp --disable-libitm --enable-libquadmath
--enable-libquadmath-support --enable-libssp --enable-libada
--enable-libjava --enable-libgcj-sublibs --disable-java-awt
--disable-symvers --with-ecj-jar=/usr/share/java/ecj.jar --with-gnu-ld
--with-gnu-as --with-cloog-include=/usr/include/cloog-isl
--without-libiconv-prefix --without-libintl-prefix --with-system-zlib
--enable-linker-build-id
Thread model: posix
gcc version 4.8.3 (GCC)