This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: WinXP Pro Cygwin Digest-MD4-1.9 /bin/sh: gcc-4: command not found


On 01/05/2015 08:13 PM, Larry Hall (Cygwin) wrote:
gcc-4 is an old moniker for the current gcc, back when Cygwin had both 3
and
4 versions of gcc.  This is no longer true and hasn't been for quite some
time.  Your options at this point are:

   1. Create a link to gcc and call it gcc-4.
   2. Try the experimental 5.18 version.
   3. Install the x86_64 version of Cygwin (requires x86_64 version of
      Windows).


Okay -- that was the correct idea (I also needed to install 'g++' and create a link 'g++-4'). Thanks!


David



2015-01-06 17:39:22 Administrator@dc8ct591 ~
$ which gcc
/usr/bin/gcc

2015-01-06 17:39:22 Administrator@dc8ct591 ~
$ ll /usr/bin/gcc
-rwxr-xr-x 3 Administrator None 696871 2014/11/11 12:19:22 /usr/bin/gcc*

2015-01-06 17:39:38 Administrator@dc8ct591 ~
$ ln /usr/bin/gcc /usr/bin/gcc-4

2015-01-06 17:39:57 Administrator@dc8ct591 ~
$ which gcc-4
/usr/bin/gcc-4

2015-01-06 17:40:00 Administrator@dc8ct591 ~
$ cpan Digest::MD4
CPAN: Storable loaded ok (v2.27)
Going to read '/home/Administrator/.cpan/Metadata'
  Database was generated on Mon, 24 Nov 2014 11:53:19 GMT
CPAN: LWP::UserAgent loaded ok (v6.04)
Fetching with LWP:
http://ftp.wayne.edu/CPAN/authors/01mailrc.txt.gz
CPAN: YAML loaded ok (v0.80)
Going to read '/home/Administrator/.cpan/sources/authors/01mailrc.txt.gz'
CPAN: Compress::Zlib loaded ok (v2.033)
............................................................................DONE
Fetching with LWP:
http://ftp.wayne.edu/CPAN/modules/02packages.details.txt.gz
Going to read '/home/Administrator/.cpan/sources/modules/02packages.details.txt.gz'
  Database was generated on Tue, 06 Jan 2015 12:29:02 GMT
..............
  New CPAN.pm version (v2.05) available.
  [Currently running version is v1.960001]
  You might want to try
    install CPAN
    reload cpan
  to both upgrade CPAN.pm and run the new version without leaving
  the current session.


..............................................................DONE
Fetching with LWP:
http://ftp.wayne.edu/CPAN/modules/03modlist.data.gz
Going to read '/home/Administrator/.cpan/sources/modules/03modlist.data.gz'
DONE
Going to write /home/Administrator/.cpan/Metadata
Running install for module 'Digest::MD4'
Running make for M/MI/MIKEM/DigestMD4/Digest-MD4-1.9.tar.gz
CPAN: Digest::SHA loaded ok (v5.71)
Checksum for /home/Administrator/.cpan/sources/authors/id/M/MI/MIKEM/DigestMD4/Digest-MD4-1.9.tar.gz ok
CPAN: File::Temp loaded ok (v0.22)
CPAN: Parse::CPAN::Meta loaded ok (v1.4405)
CPAN: CPAN::Meta loaded ok (v2.120351)
CPAN: Module::CoreList loaded ok (v2.49_02)

  CPAN.pm: Going to build M/MI/MIKEM/DigestMD4/Digest-MD4-1.9.tar.gz

Checking if your kit is complete...
Looks good
Generating a Unix-style Makefile
Writing Makefile for Digest::MD4
Writing MYMETA.yml and MYMETA.json
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
rm -f blib/arch/auto/Digest/MD4/MD4.dll
g++-4 --shared -Wl,--enable-auto-import -Wl,--export-all-symbols -Wl,--enable-auto-image-base -L/usr/local/lib -fstack-protector MD4.o -o blib/arch/auto/Digest/MD4/MD4.dll \
  /usr/lib/perl5/5.14/i686-cygwin-threads-64int/CORE/cygperl5_14.dll   	\

make: g++-4: Command not found
Makefile:464: recipe for target 'blib/arch/auto/Digest/MD4/MD4.dll' failed
make: *** [blib/arch/auto/Digest/MD4/MD4.dll] Error 127
  MIKEM/DigestMD4/Digest-MD4-1.9.tar.gz
  /usr/bin/make -- NOT OK
Running make test
  Can't test without successful make
Running make install
  Make had returned bad status, install seems impossible

2015-01-06 17:41:36 Administrator@dc8ct591 ~
$ which g++
which: no g++ in (/home/Administrator/perl5/bin:/home/Administrator/bin:/home/dpchrist/jdk1.7.0_25/bin:/usr/local/bin:/usr/bin:/bin:/cygdrive/c/WINDOWS/system32:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/System32/Wbem:/cygdrive/c/Program Files/Intel/DMIX:/cygdrive/c/Program Files/Common Files/Acronis/SnapAPI:/usr/sbin)

2015-01-06 17:41:46 Administrator@dc8ct591 ~
$ # install gcc-g++

2015-01-06 17:43:22 Administrator@dc8ct591 ~
$ which g++
/usr/bin/g++

2015-01-06 17:44:56 Administrator@dc8ct591 ~
$ ln /usr/bin/g++ /usr/bin/g++-4

2015-01-06 17:45:11 Administrator@dc8ct591 ~
$ cpan Digest::MD4
CPAN: Storable loaded ok (v2.27)
Going to read '/home/Administrator/.cpan/Metadata'
  Database was generated on Tue, 06 Jan 2015 12:29:02 GMT
Running install for module 'Digest::MD4'
Running make for M/MI/MIKEM/DigestMD4/Digest-MD4-1.9.tar.gz
CPAN: Digest::SHA loaded ok (v5.71)
CPAN: Compress::Zlib loaded ok (v2.033)
Checksum for /home/Administrator/.cpan/sources/authors/id/M/MI/MIKEM/DigestMD4/Digest-MD4-1.9.tar.gz ok
CPAN: File::Temp loaded ok (v0.22)
CPAN: Parse::CPAN::Meta loaded ok (v1.4405)
CPAN: CPAN::Meta loaded ok (v2.120351)
CPAN: Module::CoreList loaded ok (v2.49_02)

  CPAN.pm: Going to build M/MI/MIKEM/DigestMD4/Digest-MD4-1.9.tar.gz

Checking if your kit is complete...
Looks good
Generating a Unix-style Makefile
Writing Makefile for Digest::MD4
Writing MYMETA.yml and MYMETA.json
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
rm -f blib/arch/auto/Digest/MD4/MD4.dll
g++-4 --shared -Wl,--enable-auto-import -Wl,--export-all-symbols -Wl,--enable-auto-image-base -L/usr/local/lib -fstack-protector MD4.o -o blib/arch/auto/Digest/MD4/MD4.dll \
  /usr/lib/perl5/5.14/i686-cygwin-threads-64int/CORE/cygperl5_14.dll   	\

chmod 755 blib/arch/auto/Digest/MD4/MD4.dll
"/usr/bin/perl.exe" -MExtUtils::Command::MM -e 'cp_nonempty' -- MD4.bs blib/arch/auto/Digest/MD4/MD4.bs 644
Manifying 1 pod document
  MIKEM/DigestMD4/Digest-MD4-1.9.tar.gz
  /usr/bin/make -- OK
'YAML' not installed, will not store persistent state
Running make test
Running Mkbootstrap for Digest::MD4 ()
chmod 644 "MD4.bs"
PERL_DL_NONLAZY=1 "/usr/bin/perl.exe" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/align.t .... ok
t/badfile.t .. ok
t/clone.t .... ok
t/files.t .... ok
t/md4-aaa.t .. ok
t/utf8.t ..... ok
All tests successful.
Files=6, Tests=273, 1 wallclock secs ( 0.09 usr 0.12 sys + 0.74 cusr 0.49 csys = 1.45 CPU)
Result: PASS
  MIKEM/DigestMD4/Digest-MD4-1.9.tar.gz
  /usr/bin/make test -- OK
Running make install
Manifying 1 pod document
Files found in blib/arch: installing files in blib/lib into architecture dependent library tree Installing /home/Administrator/perl5/lib/perl5/cygwin-thread-multi-64int/auto/Digest/MD4/MD4.dll Installing /home/Administrator/perl5/lib/perl5/cygwin-thread-multi-64int/Digest/MD4.pm
Installing /home/Administrator/perl5/man/man3/Digest.MD4.3pm
Appending installation info to /home/Administrator/perl5/lib/perl5/cygwin-thread-multi-64int/perllocal.pod
  MIKEM/DigestMD4/Digest-MD4-1.9.tar.gz
  /usr/bin/make install  -- OK


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]