X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.1 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,SARE_MSGID_LONG45,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org MIME-Version: 1.0 In-Reply-To: <4BBDD7C8.8010300@gmail.com> References: <4BBDD7C8 DOT 8010300 AT gmail DOT com> Date: Thu, 8 Apr 2010 16:26:13 +0200 Received: by 10.216.89.74 with SMTP id b52mr86384wef.142.1270736773550; Thu, 08 Apr 2010 07:26:13 -0700 (PDT) Message-ID: Subject: Re: "GCC is not found" and "compiler cannot create executables" errors From: david sastre To: cygwin AT cygwin DOT com Content-Type: multipart/mixed; boundary=0016e6d7df94fd926f0483ba75c2 X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com --0016e6d7df94fd926f0483ba75c2 Content-Type: text/plain; charset=UTF-8 2010/4/8, Dave Korn : > On 08/04/2010 13:11, david sastre wrote: > >> Yesterday (still under1.7.3) I had a "compiler not found" and a >> "compiler cannot create executables" errors while trying to build some >> standard apps, i.e. nginx. > >> $ ./configure >> checking for OS >> + CYGWIN_NT-5.1 1.7.4(0.225/5/3) i686 >> checking for C compiler ... not found >> ./configure: error: C compiler gcc is not found > > Well, given that ... > >> $ gcc --version >> gcc (GCC) 4.3.4 20090804 (release) 1 > > ... gcc works at the command-line for you, there's probably some sort of bug > in nginx configure script. Take a look through the config.log it left and > see > if it shows what went wrong. > > cheers, > DaveK At first that's what I thought too, but it fails for whatever I try to build, even for things I have already build: i.e.: $ which patch /usr/local/bin/patch $ patch --version patch 2.6 Copyright (C) 1988 Larry Wall Copyright (C) 2003 Free Software Foundation, Inc. The patch utility officially shipped with cygwin is: $ /usr/bin/patch --version patch 2.5.8 Copyright (C) 1988 Larry Wall Copyright (C) 2002 Free Software Foundation, Inc. Test case, using the same source file: Administrador AT sith ~/SOURCE/undone/patch-2.6 $ ./configure checking for gcc... gcc checking for C compiler default output file name... configure: error: in `/home/Administrador/SOURCE/undone/patch-2.6': configure: error: C compiler cannot create executables See `config.log' for more details. I have attached that log file, in case it could be useful, but I didn't get a clue from that. Regards. --0016e6d7df94fd926f0483ba75c2 Content-Type: application/octet-stream; name="config.log" Content-Disposition: attachment; filename="config.log" Content-Transfer-Encoding: base64 X-Attachment-Id: file0 VGhpcyBmaWxlIGNvbnRhaW5zIGFueSBtZXNzYWdlcyBwcm9kdWNlZCBieSBj b21waWxlcnMgd2hpbGUKcnVubmluZyBjb25maWd1cmUsIHRvIGFpZCBkZWJ1 Z2dpbmcgaWYgY29uZmlndXJlIG1ha2VzIGEgbWlzdGFrZS4KCkl0IHdhcyBj cmVhdGVkIGJ5IHBhdGNoIGNvbmZpZ3VyZSAyLjYsIHdoaWNoIHdhcwpnZW5l cmF0ZWQgYnkgR05VIEF1dG9jb25mIDIuNjMuICBJbnZvY2F0aW9uIGNvbW1h bmQgbGluZSB3YXMKCiAgJCAuL2NvbmZpZ3VyZSAKCiMjIC0tLS0tLS0tLSAj IwojIyBQbGF0Zm9ybS4gIyMKIyMgLS0tLS0tLS0tICMjCgpob3N0bmFtZSA9 IHNpdGgKdW5hbWUgLW0gPSBpNjg2CnVuYW1lIC1yID0gMS43LjQoMC4yMjUv NS8zKQp1bmFtZSAtcyA9IENZR1dJTl9OVC01LjEKdW5hbWUgLXYgPSAyMDEw LTA0LTA3IDExOjAyCgovdXNyL2Jpbi91bmFtZSAtcCA9IHVua25vd24KL2Jp bi91bmFtZSAtWCAgICAgPSB1bmtub3duCgovYmluL2FyY2ggICAgICAgICAg ICAgID0gaTY4NgovdXNyL2Jpbi9hcmNoIC1rICAgICAgID0gdW5rbm93bgov dXNyL2NvbnZ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pob3N0X29zPScnCmhvc3Rf dmVuZG9yPScnCmh0bWxkaXI9JyR7ZG9jZGlyfScKaW5jbHVkZWRpcj0nJHtw cmVmaXh9L2luY2x1ZGUnCmluZm9kaXI9JyR7ZGF0YXJvb3RkaXJ9L2luZm8n CmxpYmRpcj0nJHtleGVjX3ByZWZpeH0vbGliJwpsaWJleGVjZGlyPScke2V4 ZWNfcHJlZml4fS9saWJleGVjJwpsb2NhbGVkaXI9JyR7ZGF0YXJvb3RkaXJ9 L2xvY2FsZScKbG9jYWxzdGF0ZWRpcj0nJHtwcmVmaXh9L3ZhcicKbWFuZGly PScke2RhdGFyb290ZGlyfS9tYW4nCm9sZGluY2x1ZGVkaXI9Jy91c3IvaW5j bHVkZScKcGRmZGlyPScke2RvY2Rpcn0nCnByZWZpeD0nTk9ORScKcHJvZ3Jh bV90cmFuc2Zvcm1fbmFtZT0ncyx4LHgsJwpwc2Rpcj0nJHtkb2NkaXJ9Jwpz YmluZGlyPScke2V4ZWNfcHJlZml4fS9zYmluJwpzaGFyZWRzdGF0ZWRpcj0n JHtwcmVmaXh9L2NvbScKc3lzY29uZmRpcj0nJHtwcmVmaXh9L2V0YycKdGFy Z2V0X2FsaWFzPScnCgojIyAtLS0tLS0tLS0tLSAjIwojIyBjb25mZGVmcy5o LiAjIwojIyAtLS0tLS0tLS0tLSAjIwoKI2RlZmluZSBQQUNLQUdFX05BTUUg InBhdGNoIgojZGVmaW5lIFBBQ0tBR0VfVEFSTkFNRSAicGF0Y2giCiNkZWZp bmUgUEFDS0FHRV9WRVJTSU9OICIyLjYiCiNkZWZpbmUgUEFDS0FHRV9TVFJJ TkcgInBhdGNoIDIuNiIKI2RlZmluZSBQQUNLQUdFX0JVR1JFUE9SVCAiYnVn LXBhdGNoQGdudS5vcmciCgpjb25maWd1cmU6IGV4aXQgNzcK --0016e6d7df94fd926f0483ba75c2 Content-Type: text/plain; charset=us-ascii -- 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 --0016e6d7df94fd926f0483ba75c2--