X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.2 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org Message-ID: <4E8ADC3A.3070501@gmail.com> Date: Tue, 04 Oct 2011 12:13:14 +0200 From: Marco Atzeri User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:7.0.1) Gecko/20110929 Thunderbird/7.0.1 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: ANSI C header files References: <4E89B63F DOT 5070300 AT gmail DOT com> <1317715131 DOT 9688 DOT 18 DOT camel AT kare-desktop> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 On 10/4/2011 10:11 AM, Csaba Raduly wrote: > Hi Kare, > > 2011/10/4 Kåre Edvardsen >> Hi Marco. >> >> In my case I'm trying to install the 'grib_api' package from source >> (grib_api-1.9.9.tar.gz) found at >> http://www.ecmwf.int/products/data/software/download/grib_api.html >> >> After unpacking the tar-ball you're supposed to run 'configure' before >> installing but 'configure' hangs on "checking for ANSI C header >> files..." >> >> Regards, >> Kare >> >> The output looks like this: >> >> $ ./configure --prefix=/user/kare/software/ecmwf/lib >> 1.9.9 >> configuring grib_api 1.9.9 >> checking whether build environment is sane... yes >> checking for a BSD-compatible install... /usr/bin/install -c >> checking for a thread-safe mkdir -p... /usr/bin/mkdir -p > (snip) >> checking for library containing opendir... none required >> checking for ANSI C header files... >> >> >> >> On ma., 2011-10-03 at 15:18 +0200, Marco Atzeri wrote: > > Please do not top-post: http://cygwin.com/acronyms/#TOFU > > Kill configure and take a look at the end of config.log > configure logs each check and what it actually does. > > Csaba Kare, in addition to the TOFU advise, running configure of grib_api-1.9.9_libtool.tar.gz on my XP-SP3 gave no problem. "Configuration completed." The ANSI C test is a basic one configure:6808: checking for ANSI C header files configure:6828: gcc -c -g -O2 conftest.c >&5 configure:6828: $? = 0 configure:6901: gcc -o conftest.exe -g -O2 conftest.c >&5 configure:6901: $? = 0 configure:6901: ./conftest.exe configure:6901: $? = 0 configure:6912: result: yes so a BLODA interference is possible http://cygwin.com/faq/faq.using.html#faq.using.bloda see also http://cygwin.com/problems.html Regards Marco -- 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