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: ANSI C header files

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

After unpacking the tar-ball you're supposed to run 'configure' before
installing but 'configure' hangs on "checking for ANSI C header


The output looks like this:

$ ./configure --prefix=/user/kare/software/ecmwf/lib
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
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:

Kill configure and take a look at the end of config.log
configure logs each check and what it actually does.


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

see also


-- Problem reports: FAQ: Documentation: Unsubscribe info:

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