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
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


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