delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/01/07/13:01:28

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:mime-version:to:subject
:references:in-reply-to:content-type:content-transfer-encoding;
q=dns; s=default; b=x8sGOcnUpiACdHP/WcwN82aMJSfDyqgHelXmU0tRNyo
yMnoDvIw03pvobb8T0aOz5iot4mFtcV/g6hD5b9QOclgZDs737FBjjhaNbwcrzOV
dkoR9ZBJ7/3f4mD6TCzeD+ent8R2edUG13repCP2yqDFTRHgGzgVc1AdZzVzJRto
=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:mime-version:to:subject
:references:in-reply-to:content-type:content-transfer-encoding;
s=default; bh=mR3IOLuO3CysNEufcALwuf0crVA=; b=QX6+RNtZ1myZzHy5H
3SSgphSbWVlAG1yFPzZgIJXMT1v6st5nIHV0tns6+Yet5XofKqR5GR8dRYMhcREI
cPXX+N1bdupaLMGRcqBn3eAXcyahrYXkvDSd+0fSzFwpNHm9s0OavbhpH+EkGCfD
eKj1TtYA81JW6xOl42I82MXMqs=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=4.5 required=5.0 tests=AWL,BAYES_00,KAM_STOCKTIP,T_RP_MATCHES_RCVD autolearn=no version=3.3.2
X-HELO: holgerdanske.com
Message-ID: <54AC9180.3020101@holgerdanske.com>
Date: Tue, 06 Jan 2015 17:53:04 -0800
From: David Christensen <dpchrist AT holgerdanske DOT com>
User-Agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Icedove/31.3.0
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: WinXP Pro Cygwin Digest-MD4-1.9 /bin/sh: gcc-4: command not found
References: <54AB4B53 DOT 9050101 AT holgerdanske DOT com> <54AB60E6 DOT 70306 AT cygwin DOT com>
In-Reply-To: <54AB60E6.70306@cygwin.com>
X-IsSubscribed: yes

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 AT dc8ct591 ~
$ which gcc
/usr/bin/gcc

2015-01-06 17:39:22 Administrator AT 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 AT dc8ct591 ~
$ ln /usr/bin/gcc /usr/bin/gcc-4

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

2015-01-06 17:40:00 Administrator AT 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 AT 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 AT dc8ct591 ~
$ # install gcc-g++

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

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

2015-01-06 17:45:11 Administrator AT 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019