Project

General

Profile

Trying to compile CDO with netCDF libraries ยป config.log

config.log file - Tom Crowley, 2012-01-06 20:38

 
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by cdo configure 1.5.3, which was
generated by GNU Autoconf 2.68. Invocation command line was

$ ./configure --with-netcdf=/root/downloads/netCDF_C/netcdf-4.1.3

## --------- ##
## Platform. ##
## --------- ##

hostname = localhost.localdomain
uname -m = x86_64
uname -r = 2.6.18-194.el5xen
uname -s = Linux
uname -v = #1 SMP Tue Mar 16 22:01:26 EDT 2010

/usr/bin/uname -p = unknown
/bin/uname -X = unknown

/bin/arch = x86_64
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown

PATH: /usr/java/jdk1.6.0_30/bin
PATH: /usr/kerberos/sbin
PATH: /usr/kerberos/bin
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /sbin
PATH: /bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /usr/X11R6/bin
PATH: /root/bin


## ----------- ##
## Core tests. ##
## ----------- ##

configure:2505: checking build system type
configure:2519: result: x86_64-unknown-linux-gnu
configure:2539: checking host system type
configure:2552: result: x86_64-unknown-linux-gnu
configure:2590: checking for a BSD-compatible install
configure:2658: result: /usr/bin/install -c
configure:2669: checking whether build environment is sane
configure:2719: result: yes
configure:2860: checking for a thread-safe mkdir -p
configure:2899: result: /bin/mkdir -p
configure:2912: checking for gawk
configure:2928: found /bin/gawk
configure:2939: result: gawk
configure:2950: checking whether make sets $(MAKE)
configure:2972: result: yes
configure:3055: checking whether to enable maintainer-specific portions of Makefiles
configure:3064: result: no
configure:3079: setting up libtool
configure:3127: checking how to print strings
configure:3154: result: printf
configure:3187: checking for style of include used by make
configure:3215: result: GNU
configure:3285: checking for gcc
configure:3301: found /usr/bin/gcc
configure:3312: result: gcc
configure:3541: checking for C compiler version
configure:3550: gcc --version >&5
gcc (GCC) 4.1.2 20080704 (Red Hat 4.1.2-48)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:3561: $? = 0
configure:3550: gcc -v >&5
Using built-in specs.
Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-libgcj-multifile --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --enable-plugin --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --with-cpu=generic --host=x86_64-redhat-linux
Thread model: posix
gcc version 4.1.2 20080704 (Red Hat 4.1.2-48)
configure:3561: $? = 0
configure:3550: gcc -V >&5
gcc: '-V' option must have argument
configure:3561: $? = 1
configure:3550: gcc -qversion >&5
gcc: unrecognized option '-qversion'
gcc: no input files
configure:3561: $? = 1
configure:3581: checking whether the C compiler works
configure:3603: gcc conftest.c >&5
configure:3607: $? = 0
configure:3655: result: yes
configure:3658: checking for C compiler default output file name
configure:3660: result: a.out
configure:3666: checking for suffix of executables
configure:3673: gcc -o conftest conftest.c >&5
configure:3677: $? = 0
configure:3699: result:
configure:3721: checking whether we are cross compiling
configure:3729: gcc -o conftest conftest.c >&5
configure:3733: $? = 0
configure:3740: ./conftest
configure:3744: $? = 0
configure:3759: result: no
configure:3764: checking for suffix of object files
configure:3786: gcc -c conftest.c >&5
configure:3790: $? = 0
configure:3811: result: o
configure:3815: checking whether we are using the GNU C compiler
configure:3834: gcc -c conftest.c >&5
configure:3834: $? = 0
configure:3843: result: yes
configure:3852: checking whether gcc accepts -g
configure:3872: gcc -c -g conftest.c >&5
configure:3872: $? = 0
configure:3913: result: yes
configure:3930: checking for gcc option to accept ISO C89
configure:3994: gcc -c -g -O2 conftest.c >&5
configure:3994: $? = 0
configure:4007: result: none needed
configure:4029: checking dependency style of gcc
configure:4139: result: gcc3
configure:4154: checking for a sed that does not truncate output
configure:4218: result: /bin/sed
configure:4236: checking for grep that handles long lines and -e
configure:4294: result: /bin/grep
configure:4299: checking for egrep
configure:4361: result: /bin/grep -E
configure:4366: checking for fgrep
configure:4428: result: /bin/grep -F
configure:4463: checking for ld used by gcc
configure:4530: result: /usr/bin/ld
configure:4537: checking if the linker (/usr/bin/ld) is GNU ld
configure:4552: result: yes
configure:4564: checking for BSD- or MS-compatible name lister (nm)
configure:4613: result: /usr/bin/nm -B
configure:4743: checking the name lister (/usr/bin/nm -B) interface
configure:4750: gcc -c -g -O2 conftest.c >&5
configure:4753: /usr/bin/nm -B "conftest.o"
configure:4756: output
0000000000000000 B some_variable
configure:4763: result: BSD nm
configure:4766: checking whether ln -s works
configure:4770: result: yes
configure:4778: checking the maximum length of command line arguments
configure:4903: result: 98304
configure:4920: checking whether the shell understands some XSI constructs
configure:4930: result: yes
configure:4934: checking whether the shell understands "+="
configure:4940: result: yes
configure:4975: checking for /usr/bin/ld option to reload object files
configure:4982: result: -r
configure:5051: checking for objdump
configure:5067: found /usr/bin/objdump
configure:5078: result: objdump
configure:5110: checking how to recognize dependent libraries
configure:5312: result: pass_all
configure:5372: checking for ar
configure:5388: found /usr/bin/ar
configure:5399: result: ar
configure:5477: checking for strip
configure:5493: found /usr/bin/strip
configure:5504: result: strip
configure:5576: checking for ranlib
configure:5592: found /usr/bin/ranlib
configure:5603: result: ranlib
configure:5705: checking command to parse /usr/bin/nm -B output from gcc object
configure:5823: gcc -c -g -O2 conftest.c >&5
configure:5826: $? = 0
configure:5830: /usr/bin/nm -B conftest.o \| sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' \> conftest.nm
configure:5833: $? = 0
configure:5887: gcc -o conftest -g -O2 conftest.c conftstm.o >&5
configure:5890: $? = 0
configure:5928: result: ok
configure:6024: gcc -c -g -O2 conftest.c >&5
configure:6027: $? = 0
configure:6769: checking how to run the C preprocessor
configure:6800: gcc -E conftest.c
configure:6800: $? = 0
configure:6814: gcc -E conftest.c
conftest.c:11:28: error: ac_nonexistent.h: No such file or directory
configure:6814: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "cdo"
| #define PACKAGE_TARNAME "cdo"
| #define PACKAGE_VERSION "1.5.3"
| #define PACKAGE_STRING "cdo 1.5.3"
| #define PACKAGE_BUGREPORT "http://code.zmaw.de/projects/cdo"
| #define PACKAGE_URL ""
| #define PACKAGE "cdo"
| #define VERSION "1.5.3"
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:6839: result: gcc -E
configure:6859: gcc -E conftest.c
configure:6859: $? = 0
configure:6873: gcc -E conftest.c
conftest.c:11:28: error: ac_nonexistent.h: No such file or directory
configure:6873: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "cdo"
| #define PACKAGE_TARNAME "cdo"
| #define PACKAGE_VERSION "1.5.3"
| #define PACKAGE_STRING "cdo 1.5.3"
| #define PACKAGE_BUGREPORT "http://code.zmaw.de/projects/cdo"
| #define PACKAGE_URL ""
| #define PACKAGE "cdo"
| #define VERSION "1.5.3"
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:6902: checking for ANSI C header files
configure:6922: gcc -c -g -O2 conftest.c >&5
configure:6922: $? = 0
configure:6995: gcc -o conftest -g -O2 conftest.c >&5
configure:6995: $? = 0
configure:6995: ./conftest
configure:6995: $? = 0
configure:7006: result: yes
configure:7019: checking for sys/types.h
configure:7019: gcc -c -g -O2 conftest.c >&5
configure:7019: $? = 0
configure:7019: result: yes
configure:7019: checking for sys/stat.h
configure:7019: gcc -c -g -O2 conftest.c >&5
configure:7019: $? = 0
configure:7019: result: yes
configure:7019: checking for stdlib.h
configure:7019: gcc -c -g -O2 conftest.c >&5
configure:7019: $? = 0
configure:7019: result: yes
configure:7019: checking for string.h
configure:7019: gcc -c -g -O2 conftest.c >&5
configure:7019: $? = 0
configure:7019: result: yes
configure:7019: checking for memory.h
configure:7019: gcc -c -g -O2 conftest.c >&5
configure:7019: $? = 0
configure:7019: result: yes
configure:7019: checking for strings.h
configure:7019: gcc -c -g -O2 conftest.c >&5
configure:7019: $? = 0
configure:7019: result: yes
configure:7019: checking for inttypes.h
configure:7019: gcc -c -g -O2 conftest.c >&5
configure:7019: $? = 0
configure:7019: result: yes
configure:7019: checking for stdint.h
configure:7019: gcc -c -g -O2 conftest.c >&5
configure:7019: $? = 0
configure:7019: result: yes
configure:7019: checking for unistd.h
configure:7019: gcc -c -g -O2 conftest.c >&5
configure:7019: $? = 0
configure:7019: result: yes
configure:7033: checking for dlfcn.h
configure:7033: gcc -c -g -O2 conftest.c >&5
configure:7033: $? = 0
configure:7033: result: yes
configure:7220: checking for objdir
configure:7235: result: .libs
configure:7506: checking if gcc supports -fno-rtti -fno-exceptions
configure:7524: gcc -c -g -O2 -fno-rtti -fno-exceptions conftest.c >&5
cc1: warning: command line option "-fno-rtti" is valid for C++/ObjC++ but not for C
configure:7528: $? = 0
configure:7541: result: no
configure:7561: checking for gcc option to produce PIC
configure:7846: result: -fPIC -DPIC
configure:7858: checking if gcc PIC flag -fPIC -DPIC works
configure:7876: gcc -c -g -O2 -fPIC -DPIC -DPIC conftest.c >&5
configure:7880: $? = 0
configure:7893: result: yes
configure:7917: checking if gcc static flag -static works
configure:7945: result: yes
configure:7960: checking if gcc supports -c -o file.o
configure:7981: gcc -c -g -O2 -o out/conftest2.o conftest.c >&5
configure:7985: $? = 0
configure:8007: result: yes
configure:8015: checking if gcc supports -c -o file.o
configure:8062: result: yes
configure:8095: checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries
configure:9170: result: yes
configure:9207: checking whether -lc should be explicitly linked in
configure:9215: gcc -c -g -O2 conftest.c >&5
configure:9218: $? = 0
configure:9233: gcc -shared conftest.o -v -Wl,-soname -Wl,conftest -o conftest 2\>\&1 \| /bin/grep -lc \>/dev/null 2\>\&1
configure:9236: $? = 0
configure:9250: result: no
configure:9415: checking dynamic linker characteristics
configure:9870: gcc -o conftest -g -O2 -Wl,-rpath -Wl,/foo conftest.c >&5
configure:9870: $? = 0
configure:10092: result: GNU/Linux ld.so
configure:10199: checking how to hardcode library paths into programs
configure:10224: result: immediate
configure:10764: checking whether stripping libraries is possible
configure:10769: result: yes
configure:10804: checking if libtool supports shared libraries
configure:10806: result: yes
configure:10809: checking whether to build shared libraries
configure:10830: result: yes
configure:10833: checking whether to build static libraries
configure:10837: result: yes
configure:10916: checking for gcc
configure:10943: result: gcc
configure:10965: checking for gcc option to accept ISO C99
configure:11114: gcc -c -g -O2 conftest.c >&5
conftest.c:73: error: expected ';', ',' or ')' before 'text'
conftest.c: In function 'main':
conftest.c:127: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'newvar'
conftest.c:127: error: 'newvar' undeclared (first use in this function)
conftest.c:127: error: (Each undeclared identifier is reported only once
conftest.c:127: error: for each function it appears in.)
conftest.c:137: error: 'for' loop initial declaration used outside C99 mode
configure:11114: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "cdo"
| #define PACKAGE_TARNAME "cdo"
| #define PACKAGE_VERSION "1.5.3"
| #define PACKAGE_STRING "cdo 1.5.3"
| #define PACKAGE_BUGREPORT "http://code.zmaw.de/projects/cdo"
| #define PACKAGE_URL ""
| #define PACKAGE "cdo"
| #define VERSION "1.5.3"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| /* end confdefs.h. */
| #include <stdarg.h>
| #include <stdbool.h>
| #include <stdlib.h>
| #include <wchar.h>
| #include <stdio.h>
|
| // Check varargs macros. These examples are taken from C99 6.10.3.5.
| #define debug(...) fprintf (stderr, __VA_ARGS__)
| #define showlist(...) puts (#__VA_ARGS__)
| #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
| static void
| test_varargs_macros (void)
| {
| int x = 1234;
| int y = 5678;
| debug ("Flag");
| debug ("X = %d\n", x);
| showlist (The first, second, and third items.);
| report (x>y, "x is %d but y is %d", x, y);
| }
|
| // Check long long types.
| #define BIG64 18446744073709551615ull
| #define BIG32 4294967295ul
| #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
| #if !BIG_OK
| your preprocessor is broken;
| #endif
| #if BIG_OK
| #else
| your preprocessor is broken;
| #endif
| static long long int bignum = -9223372036854775807LL;
| static unsigned long long int ubignum = BIG64;
|
| struct incomplete_array
| {
| int datasize;
| double data[];
| };
|
| struct named_init {
| int number;
| const wchar_t *name;
| double average;
| };
|
| typedef const char *ccp;
|
| static inline int
| test_restrict (ccp restrict text)
| {
| // See if C++-style comments work.
| // Iterate through items via the restricted pointer.
| // Also check for declarations in for loops.
| for (unsigned int i = 0; *(text+i) != '\0'; ++i)
| continue;
| return 0;
| }
|
| // Check varargs and va_copy.
| static void
| test_varargs (const char *format, ...)
| {
| va_list args;
| va_start (args, format);
| va_list args_copy;
| va_copy (args_copy, args);
|
| const char *str;
| int number;
| float fnumber;
|
| while (*format)
| {
| switch (*format++)
| {
| case 's': // string
| str = va_arg (args_copy, const char *);
| break;
| case 'd': // int
| number = va_arg (args_copy, int);
| break;
| case 'f': // float
| fnumber = va_arg (args_copy, double);
| break;
| default:
| break;
| }
| }
| va_end (args_copy);
| va_end (args);
| }
|
| int
| main ()
| {
|
| // Check bool.
| _Bool success = false;
|
| // Check restrict.
| if (test_restrict ("String literal") == 0)
| success = true;
| char *restrict newvar = "Another string";
|
| // Check varargs.
| test_varargs ("s, d' f .", "string", 65, 34.234);
| test_varargs_macros ();
|
| // Check flexible array members.
| struct incomplete_array *ia =
| malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
| ia->datasize = 10;
| for (int i = 0; i < ia->datasize; ++i)
| ia->data[i] = i * 1.234;
|
| // Check named initializers.
| struct named_init ni = {
| .number = 34,
| .name = L"Test wide string",
| .average = 543.34343,
| };
|
| ni.number = 58;
|
| int dynamic_array[ni.number];
| dynamic_array[ni.number - 1] = 543;
|
| // work around unused variable warnings
| return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
| || dynamic_array[ni.number - 1] != 543);
|
| ;
| return 0;
| }
configure:11114: gcc -std=gnu99 -c -g -O2 conftest.c >&5
configure:11114: $? = 0
configure:11134: result: -std=gnu99
configure:11143: checking whether gcc -std=gnu99 and cc understand -c and -o together
configure:11174: gcc -std=gnu99 -c conftest.c -o conftest2.o >&5
configure:11178: $? = 0
configure:11184: gcc -std=gnu99 -c conftest.c -o conftest2.o >&5
configure:11188: $? = 0
configure:11199: cc -c conftest.c >&5
configure:11203: $? = 0
configure:11211: cc -c conftest.c -o conftest2.o >&5
configure:11215: $? = 0
configure:11221: cc -c conftest.c -o conftest2.o >&5
configure:11225: $? = 0
configure:11243: result: yes
configure:11312: checking for ar
configure:11339: result: ar
configure:11496: checking for ld
configure:11523: result: /usr/bin/ld -m elf_x86_64
configure:11588: checking for nm
configure:11615: result: /usr/bin/nm -B
configure:11680: checking for ar
configure:11707: result: ar
configure:11772: checking for as
configure:11788: found /usr/bin/as
configure:11799: result: as
configure:11864: checking for dlltool
configure:11894: result: no
configure:11956: checking for objdump
configure:11983: result: objdump
configure:12048: checking for strip
configure:12075: result: strip
configure:12140: checking for ranlib
configure:12167: result: ranlib
configure:12248: checking for g++
configure:12264: found /usr/bin/g++
configure:12275: result: g++
configure:12302: checking for C++ compiler version
configure:12311: g++ --version >&5
g++ (GCC) 4.1.2 20080704 (Red Hat 4.1.2-48)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:12322: $? = 0
configure:12311: g++ -v >&5
Using built-in specs.
Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-libgcj-multifile --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --enable-plugin --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --with-cpu=generic --host=x86_64-redhat-linux
Thread model: posix
gcc version 4.1.2 20080704 (Red Hat 4.1.2-48)
configure:12322: $? = 0
configure:12311: g++ -V >&5
g++: '-V' option must have argument
configure:12322: $? = 1
configure:12311: g++ -qversion >&5
g++: unrecognized option '-qversion'
g++: no input files
configure:12322: $? = 1
configure:12326: checking whether we are using the GNU C++ compiler
configure:12345: g++ -c conftest.cpp >&5
configure:12345: $? = 0
configure:12354: result: yes
configure:12363: checking whether g++ accepts -g
configure:12383: g++ -c -g conftest.cpp >&5
configure:12383: $? = 0
configure:12424: result: yes
configure:12449: checking dependency style of g++
configure:12559: result: gcc3
configure:12582: checking how to run the C++ preprocessor
configure:12609: g++ -E conftest.cpp
configure:12609: $? = 0
configure:12623: g++ -E conftest.cpp
conftest.cpp:23:28: error: ac_nonexistent.h: No such file or directory
configure:12623: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "cdo"
| #define PACKAGE_TARNAME "cdo"
| #define PACKAGE_VERSION "1.5.3"
| #define PACKAGE_STRING "cdo 1.5.3"
| #define PACKAGE_BUGREPORT "http://code.zmaw.de/projects/cdo"
| #define PACKAGE_URL ""
| #define PACKAGE "cdo"
| #define VERSION "1.5.3"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:12648: result: g++ -E
configure:12668: g++ -E conftest.cpp
configure:12668: $? = 0
configure:12682: g++ -E conftest.cpp
conftest.cpp:23:28: error: ac_nonexistent.h: No such file or directory
configure:12682: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "cdo"
| #define PACKAGE_TARNAME "cdo"
| #define PACKAGE_VERSION "1.5.3"
| #define PACKAGE_STRING "cdo 1.5.3"
| #define PACKAGE_BUGREPORT "http://code.zmaw.de/projects/cdo"
| #define PACKAGE_URL ""
| #define PACKAGE "cdo"
| #define VERSION "1.5.3"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:12850: checking for ld used by g++
configure:12917: result: /usr/bin/ld -m elf_x86_64
configure:12924: checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld
configure:12939: result: yes
configure:12994: checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries
configure:13926: result: yes
configure:13954: g++ -c -g -O2 conftest.cpp >&5
configure:13957: $? = 0
configure:14139: checking for g++ option to produce PIC
configure:14461: result: -fPIC -DPIC
configure:14470: checking if g++ PIC flag -fPIC -DPIC works
configure:14488: g++ -c -g -O2 -fPIC -DPIC -DPIC conftest.cpp >&5
configure:14492: $? = 0
configure:14505: result: yes
configure:14526: checking if g++ static flag -static works
configure:14554: result: yes
configure:14566: checking if g++ supports -c -o file.o
configure:14587: g++ -c -g -O2 -o out/conftest2.o conftest.cpp >&5
configure:14591: $? = 0
configure:14613: result: yes
configure:14618: checking if g++ supports -c -o file.o
configure:14665: result: yes
configure:14695: checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries
configure:14723: result: yes
configure:14866: checking dynamic linker characteristics
configure:15477: result: GNU/Linux ld.so
configure:15530: checking how to hardcode library paths into programs
configure:15555: result: immediate
configure:15606: checking for special C compiler options needed for large files
configure:15651: result: no
configure:15657: checking for _FILE_OFFSET_BITS value needed for large files
configure:15682: gcc -std=gnu99 -c -g -O2 conftest.c >&5
configure:15682: $? = 0
configure:15714: result: no
configure:15805: checking for stdlib.h
configure:15805: result: yes
configure:15805: checking for unistd.h
configure:15805: result: yes
configure:15805: checking for sys/param.h
configure:15805: gcc -std=gnu99 -c -g -O2 conftest.c >&5
configure:15805: $? = 0
configure:15805: result: yes
configure:15825: checking for getpagesize
configure:15825: gcc -std=gnu99 -o conftest -g -O2 conftest.c >&5
configure:15825: $? = 0
configure:15825: result: yes
configure:15834: checking for working mmap
configure:15981: gcc -std=gnu99 -o conftest -g -O2 conftest.c >&5
configure:15981: $? = 0
configure:15981: ./conftest
configure:15981: $? = 0
configure:15991: result: yes
configure:16002: checking for malloc in -lmalloc
configure:16027: gcc -std=gnu99 -o conftest -g -O2 conftest.c -lmalloc >&5
conftest.c:35: warning: conflicting types for built-in function 'malloc'
/usr/bin/ld: cannot find -lmalloc
collect2: ld returned 1 exit status
configure:16027: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "cdo"
| #define PACKAGE_TARNAME "cdo"
| #define PACKAGE_VERSION "1.5.3"
| #define PACKAGE_STRING "cdo 1.5.3"
| #define PACKAGE_BUGREPORT "http://code.zmaw.de/projects/cdo"
| #define PACKAGE_URL ""
| #define PACKAGE "cdo"
| #define VERSION "1.5.3"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_STDLIB_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_GETPAGESIZE 1
| #define HAVE_MMAP 1
| /* end confdefs.h. */
|
| /* Override any GCC internal prototype to avoid an error.
| Use char because int might match the return type of a GCC
| builtin and then its argument prototype would still apply. */
| #ifdef __cplusplus
| extern "C"
| #endif
| char malloc ();
| int
| main ()
| {
| return malloc ();
| ;
| return 0;
| }
configure:16036: result: no
configure:16049: checking for struct stat.st_blksize
configure:16049: gcc -std=gnu99 -c -g -O2 conftest.c >&5
configure:16049: $? = 0
configure:16049: result: yes
configure:16063: checking sys/resource.h usability
configure:16063: gcc -std=gnu99 -c -g -O2 conftest.c >&5
configure:16063: $? = 0
configure:16063: result: yes
configure:16063: checking sys/resource.h presence
configure:16063: gcc -E conftest.c
configure:16063: $? = 0
configure:16063: result: yes
configure:16063: checking for sys/resource.h
configure:16063: result: yes
configure:16075: checking sys/times.h usability
configure:16075: gcc -std=gnu99 -c -g -O2 conftest.c >&5
configure:16075: $? = 0
configure:16075: result: yes
configure:16075: checking sys/times.h presence
configure:16075: gcc -E conftest.c
configure:16075: $? = 0
configure:16075: result: yes
configure:16075: checking for sys/times.h
configure:16075: result: yes
configure:16087: checking malloc.h usability
configure:16087: gcc -std=gnu99 -c -g -O2 conftest.c >&5
configure:16087: $? = 0
configure:16087: result: yes
configure:16087: checking malloc.h presence
configure:16087: gcc -E conftest.c
configure:16087: $? = 0
configure:16087: result: yes
configure:16087: checking for malloc.h
configure:16087: result: yes
configure:16101: checking for mallinfo
configure:16101: gcc -std=gnu99 -o conftest -g -O2 conftest.c >&5
configure:16101: $? = 0
configure:16101: result: yes
configure:16114: checking for isnan
configure:16114: gcc -std=gnu99 -o conftest -g -O2 conftest.c >&5
conftest.c:56: warning: conflicting types for built-in function 'isnan'
configure:16114: $? = 0
configure:16114: result: yes
configure:16125: checking for getrlimit
configure:16125: gcc -std=gnu99 -o conftest -g -O2 conftest.c >&5
configure:16125: $? = 0
configure:16125: result: yes
configure:16136: checking for gethostname
configure:16136: gcc -std=gnu99 -o conftest -g -O2 conftest.c >&5
configure:16136: $? = 0
configure:16136: result: yes
configure:16202: checking for floor in -lm
configure:16227: gcc -std=gnu99 -o conftest -g -O2 conftest.c -lm >&5
conftest.c:47: warning: conflicting types for built-in function 'floor'
configure:16227: $? = 0
configure:16236: result: yes
configure:16440: checking for the pthreads library -lpthreads
configure:16478: gcc -std=gnu99 -o conftest -g -O2 conftest.c -lpthreads -lm >&5
/usr/bin/ld: cannot find -lpthreads
collect2: ld returned 1 exit status
configure:16478: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "cdo"
| #define PACKAGE_TARNAME "cdo"
| #define PACKAGE_VERSION "1.5.3"
| #define PACKAGE_STRING "cdo 1.5.3"
| #define PACKAGE_BUGREPORT "http://code.zmaw.de/projects/cdo"
| #define PACKAGE_URL ""
| #define PACKAGE "cdo"
| #define VERSION "1.5.3"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_STDLIB_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_GETPAGESIZE 1
| #define HAVE_MMAP 1
| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_SYS_TIMES_H 1
| #define HAVE_MALLOC_H 1
| #define HAVE_MALLINFO 1
| #define HAVE_ISNAN 1
| #define HAVE_GETRLIMIT 1
| #define HAVE_GETHOSTNAME 1
| #define COMP_VERSION "gcc (GCC) 4.1.2 20080704 (Red Hat 4.1.2-48)"
| #define USER_NAME "root"
| #define HOST_NAME "localhost.localdomain"
| #define SYSTEM_TYPE "x86_64-unknown-linux-gnu"
| #define HAVE_LIBM 1
| /* end confdefs.h. */
| #include <pthread.h>
| static void routine(void* a) {a=0;}
| static void* start_routine(void* a) {return a;}
| int
| main ()
| {
| pthread_t th; pthread_attr_t attr;
| pthread_create(&th,0,start_routine,0);
| pthread_join(th, 0);
| pthread_attr_init(&attr);
| pthread_cleanup_push(routine, 0);
| pthread_cleanup_pop(0);
| ;
| return 0;
| }
configure:16487: result: no
configure:16385: checking whether pthreads work without any flags
configure:16478: gcc -std=gnu99 -o conftest -g -O2 conftest.c -lm >&5
/tmp/ccwJZ43X.o: In function `main':
/root/downloads/cdo-1.5.3/conftest.c:48: undefined reference to `pthread_create'
/root/downloads/cdo-1.5.3/conftest.c:49: undefined reference to `pthread_join'
/root/downloads/cdo-1.5.3/conftest.c:51: undefined reference to `__pthread_register_cancel'
/root/downloads/cdo-1.5.3/conftest.c:52: undefined reference to `__pthread_unregister_cancel'
collect2: ld returned 1 exit status
configure:16478: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "cdo"
| #define PACKAGE_TARNAME "cdo"
| #define PACKAGE_VERSION "1.5.3"
| #define PACKAGE_STRING "cdo 1.5.3"
| #define PACKAGE_BUGREPORT "http://code.zmaw.de/projects/cdo"
| #define PACKAGE_URL ""
| #define PACKAGE "cdo"
| #define VERSION "1.5.3"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_STDLIB_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_GETPAGESIZE 1
| #define HAVE_MMAP 1
| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_SYS_TIMES_H 1
| #define HAVE_MALLOC_H 1
| #define HAVE_MALLINFO 1
| #define HAVE_ISNAN 1
| #define HAVE_GETRLIMIT 1
| #define HAVE_GETHOSTNAME 1
| #define COMP_VERSION "gcc (GCC) 4.1.2 20080704 (Red Hat 4.1.2-48)"
| #define USER_NAME "root"
| #define HOST_NAME "localhost.localdomain"
| #define SYSTEM_TYPE "x86_64-unknown-linux-gnu"
| #define HAVE_LIBM 1
| /* end confdefs.h. */
| #include <pthread.h>
| static void routine(void* a) {a=0;}
| static void* start_routine(void* a) {return a;}
| int
| main ()
| {
| pthread_t th; pthread_attr_t attr;
| pthread_create(&th,0,start_routine,0);
| pthread_join(th, 0);
| pthread_attr_init(&attr);
| pthread_cleanup_push(routine, 0);
| pthread_cleanup_pop(0);
| ;
| return 0;
| }
configure:16487: result: no
configure:16390: checking whether pthreads work with -Kthread
configure:16478: gcc -std=gnu99 -o conftest -g -O2 -Kthread conftest.c -lm >&5
gcc: unrecognized option '-Kthread'
/tmp/ccGMRte9.o: In function `main':
/root/downloads/cdo-1.5.3/conftest.c:48: undefined reference to `pthread_create'
/root/downloads/cdo-1.5.3/conftest.c:49: undefined reference to `pthread_join'
/root/downloads/cdo-1.5.3/conftest.c:51: undefined reference to `__pthread_register_cancel'
/root/downloads/cdo-1.5.3/conftest.c:52: undefined reference to `__pthread_unregister_cancel'
collect2: ld returned 1 exit status
configure:16478: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "cdo"
| #define PACKAGE_TARNAME "cdo"
| #define PACKAGE_VERSION "1.5.3"
| #define PACKAGE_STRING "cdo 1.5.3"
| #define PACKAGE_BUGREPORT "http://code.zmaw.de/projects/cdo"
| #define PACKAGE_URL ""
| #define PACKAGE "cdo"
| #define VERSION "1.5.3"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_STDLIB_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_GETPAGESIZE 1
| #define HAVE_MMAP 1
| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_SYS_TIMES_H 1
| #define HAVE_MALLOC_H 1
| #define HAVE_MALLINFO 1
| #define HAVE_ISNAN 1
| #define HAVE_GETRLIMIT 1
| #define HAVE_GETHOSTNAME 1
| #define COMP_VERSION "gcc (GCC) 4.1.2 20080704 (Red Hat 4.1.2-48)"
| #define USER_NAME "root"
| #define HOST_NAME "localhost.localdomain"
| #define SYSTEM_TYPE "x86_64-unknown-linux-gnu"
| #define HAVE_LIBM 1
| /* end confdefs.h. */
| #include <pthread.h>
| static void routine(void* a) {a=0;}
| static void* start_routine(void* a) {return a;}
| int
| main ()
| {
| pthread_t th; pthread_attr_t attr;
| pthread_create(&th,0,start_routine,0);
| pthread_join(th, 0);
| pthread_attr_init(&attr);
| pthread_cleanup_push(routine, 0);
| pthread_cleanup_pop(0);
| ;
| return 0;
| }
configure:16487: result: no
configure:16390: checking whether pthreads work with -kthread
configure:16478: gcc -std=gnu99 -o conftest -g -O2 -kthread conftest.c -lm >&5
gcc: unrecognized option '-kthread'
/tmp/cc2jQVro.o: In function `main':
/root/downloads/cdo-1.5.3/conftest.c:48: undefined reference to `pthread_create'
/root/downloads/cdo-1.5.3/conftest.c:49: undefined reference to `pthread_join'
/root/downloads/cdo-1.5.3/conftest.c:51: undefined reference to `__pthread_register_cancel'
/root/downloads/cdo-1.5.3/conftest.c:52: undefined reference to `__pthread_unregister_cancel'
collect2: ld returned 1 exit status
configure:16478: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "cdo"
| #define PACKAGE_TARNAME "cdo"
| #define PACKAGE_VERSION "1.5.3"
| #define PACKAGE_STRING "cdo 1.5.3"
| #define PACKAGE_BUGREPORT "http://code.zmaw.de/projects/cdo"
| #define PACKAGE_URL ""
| #define PACKAGE "cdo"
| #define VERSION "1.5.3"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_STDLIB_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_GETPAGESIZE 1
| #define HAVE_MMAP 1
| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_SYS_TIMES_H 1
| #define HAVE_MALLOC_H 1
| #define HAVE_MALLINFO 1
| #define HAVE_ISNAN 1
| #define HAVE_GETRLIMIT 1
| #define HAVE_GETHOSTNAME 1
| #define COMP_VERSION "gcc (GCC) 4.1.2 20080704 (Red Hat 4.1.2-48)"
| #define USER_NAME "root"
| #define HOST_NAME "localhost.localdomain"
| #define SYSTEM_TYPE "x86_64-unknown-linux-gnu"
| #define HAVE_LIBM 1
| /* end confdefs.h. */
| #include <pthread.h>
| static void routine(void* a) {a=0;}
| static void* start_routine(void* a) {return a;}
| int
| main ()
| {
| pthread_t th; pthread_attr_t attr;
| pthread_create(&th,0,start_routine,0);
| pthread_join(th, 0);
| pthread_attr_init(&attr);
| pthread_cleanup_push(routine, 0);
| pthread_cleanup_pop(0);
| ;
| return 0;
| }
configure:16487: result: no
configure:16440: checking for the pthreads library -llthread
configure:16478: gcc -std=gnu99 -o conftest -g -O2 conftest.c -llthread -lm >&5
/usr/bin/ld: cannot find -llthread
collect2: ld returned 1 exit status
configure:16478: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "cdo"
| #define PACKAGE_TARNAME "cdo"
| #define PACKAGE_VERSION "1.5.3"
| #define PACKAGE_STRING "cdo 1.5.3"
| #define PACKAGE_BUGREPORT "http://code.zmaw.de/projects/cdo"
| #define PACKAGE_URL ""
| #define PACKAGE "cdo"
| #define VERSION "1.5.3"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_STDLIB_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_GETPAGESIZE 1
| #define HAVE_MMAP 1
| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_SYS_TIMES_H 1
| #define HAVE_MALLOC_H 1
| #define HAVE_MALLINFO 1
| #define HAVE_ISNAN 1
| #define HAVE_GETRLIMIT 1
| #define HAVE_GETHOSTNAME 1
| #define COMP_VERSION "gcc (GCC) 4.1.2 20080704 (Red Hat 4.1.2-48)"
| #define USER_NAME "root"
| #define HOST_NAME "localhost.localdomain"
| #define SYSTEM_TYPE "x86_64-unknown-linux-gnu"
| #define HAVE_LIBM 1
| /* end confdefs.h. */
| #include <pthread.h>
| static void routine(void* a) {a=0;}
| static void* start_routine(void* a) {return a;}
| int
| main ()
| {
| pthread_t th; pthread_attr_t attr;
| pthread_create(&th,0,start_routine,0);
| pthread_join(th, 0);
| pthread_attr_init(&attr);
| pthread_cleanup_push(routine, 0);
| pthread_cleanup_pop(0);
| ;
| return 0;
| }
configure:16487: result: no
configure:16390: checking whether pthreads work with -pthread
configure:16478: gcc -std=gnu99 -o conftest -g -O2 -pthread conftest.c -lm >&5
configure:16478: $? = 0
configure:16487: result: yes
configure:16506: checking for joinable pthread attribute
configure:16521: gcc -std=gnu99 -o conftest -g -O2 -pthread conftest.c -lm >&5
configure:16521: $? = 0
configure:16527: result: PTHREAD_CREATE_JOINABLE
configure:16537: checking if more special flags are required for pthreads
configure:16544: result: no
configure:16865: checking zlib.h usability
configure:16865: gcc -std=gnu99 -c -g -O2 -pthread conftest.c >&5
configure:16865: $? = 0
configure:16865: result: yes
configure:16865: checking zlib.h presence
configure:16865: gcc -E conftest.c
configure:16865: $? = 0
configure:16865: result: yes
configure:16865: checking for zlib.h
configure:16865: result: yes
configure:16875: checking for library containing deflate
configure:16906: gcc -std=gnu99 -o conftest -g -O2 -pthread conftest.c -lm >&5
/tmp/cc6h4eJf.o: In function `main':
/root/downloads/cdo-1.5.3/conftest.c:54: undefined reference to `deflate'
collect2: ld returned 1 exit status
configure:16906: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "cdo"
| #define PACKAGE_TARNAME "cdo"
| #define PACKAGE_VERSION "1.5.3"
| #define PACKAGE_STRING "cdo 1.5.3"
| #define PACKAGE_BUGREPORT "http://code.zmaw.de/projects/cdo"
| #define PACKAGE_URL ""
| #define PACKAGE "cdo"
| #define VERSION "1.5.3"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_STDLIB_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_GETPAGESIZE 1
| #define HAVE_MMAP 1
| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_SYS_TIMES_H 1
| #define HAVE_MALLOC_H 1
| #define HAVE_MALLINFO 1
| #define HAVE_ISNAN 1
| #define HAVE_GETRLIMIT 1
| #define HAVE_GETHOSTNAME 1
| #define COMP_VERSION "gcc (GCC) 4.1.2 20080704 (Red Hat 4.1.2-48)"
| #define USER_NAME "root"
| #define HOST_NAME "localhost.localdomain"
| #define SYSTEM_TYPE "x86_64-unknown-linux-gnu"
| #define HAVE_LIBM 1
| #define HAVE_LIBPTHREAD 1
| #define HAVE_ZLIB_H 1
| /* end confdefs.h. */
|
| /* Override any GCC internal prototype to avoid an error.
| Use char because int might match the return type of a GCC
| builtin and then its argument prototype would still apply. */
| #ifdef __cplusplus
| extern "C"
| #endif
| char deflate ();
| int
| main ()
| {
| return deflate ();
| ;
| return 0;
| }
configure:16906: gcc -std=gnu99 -o conftest -g -O2 -pthread conftest.c -lz -lm >&5
configure:16906: $? = 0
configure:16923: result: -lz
configure:17113: checking for szlib library
configure:17115: result: suppressed
configure:17431: checking for hdf5 library
configure:17433: result: suppressed
configure:17600: checking netcdf.h usability
configure:17600: gcc -std=gnu99 -c -g -O2 -pthread -I/root/downloads/netCDF_C/netcdf-4.1.3/include conftest.c >&5
configure:17600: $? = 0
configure:17600: result: yes
configure:17600: checking netcdf.h presence
configure:17600: gcc -E -I/root/downloads/netCDF_C/netcdf-4.1.3/include conftest.c
configure:17600: $? = 0
configure:17600: result: yes
configure:17600: checking for netcdf.h
configure:17600: result: yes
configure:17610: checking for library containing nc_open
configure:17641: gcc -std=gnu99 -o conftest -g -O2 -pthread -I/root/downloads/netCDF_C/netcdf-4.1.3/include -L/root/downloads/netCDF_C/netcdf-4.1.3/lib conftest.c -lz -lm >&5
/tmp/ccGgkzpW.o: In function `main':
/root/downloads/cdo-1.5.3/conftest.c:56: undefined reference to `nc_open'
collect2: ld returned 1 exit status
configure:17641: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "cdo"
| #define PACKAGE_TARNAME "cdo"
| #define PACKAGE_VERSION "1.5.3"
| #define PACKAGE_STRING "cdo 1.5.3"
| #define PACKAGE_BUGREPORT "http://code.zmaw.de/projects/cdo"
| #define PACKAGE_URL ""
| #define PACKAGE "cdo"
| #define VERSION "1.5.3"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_STDLIB_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_GETPAGESIZE 1
| #define HAVE_MMAP 1
| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_SYS_TIMES_H 1
| #define HAVE_MALLOC_H 1
| #define HAVE_MALLINFO 1
| #define HAVE_ISNAN 1
| #define HAVE_GETRLIMIT 1
| #define HAVE_GETHOSTNAME 1
| #define COMP_VERSION "gcc (GCC) 4.1.2 20080704 (Red Hat 4.1.2-48)"
| #define USER_NAME "root"
| #define HOST_NAME "localhost.localdomain"
| #define SYSTEM_TYPE "x86_64-unknown-linux-gnu"
| #define HAVE_LIBM 1
| #define HAVE_LIBPTHREAD 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define HAVE_NETCDF_H 1
| /* end confdefs.h. */
|
| /* Override any GCC internal prototype to avoid an error.
| Use char because int might match the return type of a GCC
| builtin and then its argument prototype would still apply. */
| #ifdef __cplusplus
| extern "C"
| #endif
| char nc_open ();
| int
| main ()
| {
| return nc_open ();
| ;
| return 0;
| }
configure:17641: gcc -std=gnu99 -o conftest -g -O2 -pthread -I/root/downloads/netCDF_C/netcdf-4.1.3/include -L/root/downloads/netCDF_C/netcdf-4.1.3/lib conftest.c -lnetcdf -lz -lm >&5
/usr/bin/ld: cannot find -lnetcdf
collect2: ld returned 1 exit status
configure:17641: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "cdo"
| #define PACKAGE_TARNAME "cdo"
| #define PACKAGE_VERSION "1.5.3"
| #define PACKAGE_STRING "cdo 1.5.3"
| #define PACKAGE_BUGREPORT "http://code.zmaw.de/projects/cdo"
| #define PACKAGE_URL ""
| #define PACKAGE "cdo"
| #define VERSION "1.5.3"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_STDLIB_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_GETPAGESIZE 1
| #define HAVE_MMAP 1
| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_SYS_TIMES_H 1
| #define HAVE_MALLOC_H 1
| #define HAVE_MALLINFO 1
| #define HAVE_ISNAN 1
| #define HAVE_GETRLIMIT 1
| #define HAVE_GETHOSTNAME 1
| #define COMP_VERSION "gcc (GCC) 4.1.2 20080704 (Red Hat 4.1.2-48)"
| #define USER_NAME "root"
| #define HOST_NAME "localhost.localdomain"
| #define SYSTEM_TYPE "x86_64-unknown-linux-gnu"
| #define HAVE_LIBM 1
| #define HAVE_LIBPTHREAD 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define HAVE_NETCDF_H 1
| /* end confdefs.h. */
|
| /* Override any GCC internal prototype to avoid an error.
| Use char because int might match the return type of a GCC
| builtin and then its argument prototype would still apply. */
| #ifdef __cplusplus
| extern "C"
| #endif
| char nc_open ();
| int
| main ()
| {
| return nc_open ();
| ;
| return 0;
| }
configure:17658: result: no
configure:17667: error: Could not link to netcdf library

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=x86_64-unknown-linux-gnu
ac_cv_c_compiler_gnu=yes
ac_cv_cxx_compiler_gnu=yes
ac_cv_env_CCC_set=
ac_cv_env_CCC_value=
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_CXXCPP_set=
ac_cv_env_CXXCPP_value=
ac_cv_env_CXXFLAGS_set=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_func_gethostname=yes
ac_cv_func_getpagesize=yes
ac_cv_func_getrlimit=yes
ac_cv_func_isnan=yes
ac_cv_func_mallinfo=yes
ac_cv_func_mmap_fixed_mapped=yes
ac_cv_header_dlfcn_h=yes
ac_cv_header_inttypes_h=yes
ac_cv_header_malloc_h=yes
ac_cv_header_memory_h=yes
ac_cv_header_netcdf_h=yes
ac_cv_header_stdc=yes
ac_cv_header_stdint_h=yes
ac_cv_header_stdlib_h=yes
ac_cv_header_string_h=yes
ac_cv_header_strings_h=yes
ac_cv_header_sys_param_h=yes
ac_cv_header_sys_resource_h=yes
ac_cv_header_sys_stat_h=yes
ac_cv_header_sys_times_h=yes
ac_cv_header_sys_types_h=yes
ac_cv_header_unistd_h=yes
ac_cv_header_zlib_h=yes
ac_cv_host=x86_64-unknown-linux-gnu
ac_cv_lib_m_floor=yes
ac_cv_lib_malloc_malloc=no
ac_cv_member_struct_stat_st_blksize=yes
ac_cv_objext=o
ac_cv_path_EGREP='/bin/grep -E'
ac_cv_path_FGREP='/bin/grep -F'
ac_cv_path_GREP=/bin/grep
ac_cv_path_SED=/bin/sed
ac_cv_path_install='/usr/bin/install -c'
ac_cv_path_mkdir=/bin/mkdir
ac_cv_prog_AWK=gawk
ac_cv_prog_CPP='gcc -E'
ac_cv_prog_CXXCPP='g++ -E'
ac_cv_prog_ac_ct_AR=ar
ac_cv_prog_ac_ct_AS=as
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_ac_ct_CXX=g++
ac_cv_prog_ac_ct_LD='/usr/bin/ld -m elf_x86_64'
ac_cv_prog_ac_ct_NM='/usr/bin/nm -B'
ac_cv_prog_ac_ct_OBJDUMP=objdump
ac_cv_prog_ac_ct_RANLIB=ranlib
ac_cv_prog_ac_ct_STRIP=strip
ac_cv_prog_cc_c89=
ac_cv_prog_cc_c99=-std=gnu99
ac_cv_prog_cc_g=yes
ac_cv_prog_cc_gcc_c_o=yes
ac_cv_prog_cxx_g=yes
ac_cv_prog_make_make_set=yes
ac_cv_search_deflate=-lz
ac_cv_search_nc_open=no
ac_cv_sys_file_offset_bits=no
ac_cv_sys_largefile_CC=no
am_cv_CC_dependencies_compiler_type=gcc3
am_cv_CXX_dependencies_compiler_type=gcc3
lt_cv_archive_cmds_need_lc=no
lt_cv_deplibs_check_method=pass_all
lt_cv_file_magic_cmd='$MAGIC_CMD'
lt_cv_file_magic_test_file=
lt_cv_ld_reload_flag=-r
lt_cv_nm_interface='BSD nm'
lt_cv_objdir=.libs
lt_cv_path_LD=/usr/bin/ld
lt_cv_path_LDCXX='/usr/bin/ld -m elf_x86_64'
lt_cv_path_NM='/usr/bin/nm -B'
lt_cv_prog_compiler_c_o=yes
lt_cv_prog_compiler_c_o_CXX=yes
lt_cv_prog_compiler_pic_works=yes
lt_cv_prog_compiler_pic_works_CXX=yes
lt_cv_prog_compiler_rtti_exceptions=no
lt_cv_prog_compiler_static_works=yes
lt_cv_prog_compiler_static_works_CXX=yes
lt_cv_prog_gnu_ld=yes
lt_cv_prog_gnu_ldcxx=yes
lt_cv_shlibpath_overrides_runpath=no
lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p'\'''
lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \([^ ]*\) $/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \([^ ]*\)$/ {"\2", (void *) \&\2},/p'\'''
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='sed -n -e '\''s/^: \([^ ]*\) $/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \(lib[^ ]*\)$/ {"\2", (void *) \&\2},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \([^ ]*\)$/ {"lib\2", (void *) \&\2},/p'\'''
lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p'\'''
lt_cv_sys_max_cmd_len=98304

## ----------------- ##
## Output variables. ##
## ----------------- ##

ACLOCAL='${SHELL} /root/downloads/cdo-1.5.3/config/missing --run aclocal-1.11'
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='${SHELL} /root/downloads/cdo-1.5.3/config/missing --run tar'
AR='ar'
AS='as'
AUTOCONF='${SHELL} /root/downloads/cdo-1.5.3/config/missing --run autoconf'
AUTOHEADER='${SHELL} /root/downloads/cdo-1.5.3/config/missing --run autoheader'
AUTOMAKE='${SHELL} /root/downloads/cdo-1.5.3/config/missing --run automake-1.11'
AWK='gawk'
CC='gcc -std=gnu99'
CCDEPMODE='depmode=gcc3'
CFLAGS='-g -O2 -pthread'
CLDFLAGS=''
CLIBS=''
CPP='gcc -E'
CPPFLAGS='-I/root/downloads/netCDF_C/netcdf-4.1.3/include '
CXX='g++'
CXXCPP='g++ -E'
CXXDEPMODE='depmode=gcc3'
CXXFLAGS='-g -O2'
CYGPATH_W='echo'
DEFS=''
DEPDIR='.deps'
DLLTOOL=':'
DSYMUTIL=''
DUMPBIN=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP='/bin/grep -E'
ENABLE_ALL_STATIC_FALSE=''
ENABLE_ALL_STATIC_TRUE=''
ENABLE_CDI_LIB=''
ENABLE_CDI_LIB_FALSE=''
ENABLE_CDI_LIB_TRUE=''
ENABLE_CGRIBEX=''
ENABLE_EXTRA=''
ENABLE_GRIB=''
ENABLE_IEG=''
ENABLE_SERVICE=''
EXEEXT=''
FCFLAGS=''
FGREP='/bin/grep -F'
GREP='/bin/grep'
GRIB_API_INCLUDE=''
GRIB_API_LIBS=''
HDF5_INCLUDE=''
HDF5_LIBS=''
HDF5_ROOT=''
HOST_NAME='localhost.localdomain'
INCLUDES=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
JASPER_LIBS=''
LD='/usr/bin/ld -m elf_x86_64'
LDFLAGS='-L/root/downloads/netCDF_C/netcdf-4.1.3/lib '
LIBOBJS=''
LIBS='-lz -lm '
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
LIPO=''
LN_S='ln -s'
LTLIBOBJS=''
MAINT='#'
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE='#'
MAKEINFO='${SHELL} /root/downloads/cdo-1.5.3/config/missing --run makeinfo'
MKDIR_P='/bin/mkdir -p'
NC_CONFIG=''
NETCDF_INCLUDE=''
NETCDF_LIBS=''
NETCDF_ROOT='/root/downloads/netCDF_C/netcdf-4.1.3'
NM='/usr/bin/nm -B'
NMEDIT=''
OBJDUMP='objdump'
OBJEXT='o'
OTOOL64=''
OTOOL=''
PACKAGE='cdo'
PACKAGE_BUGREPORT='http://code.zmaw.de/projects/cdo'
PACKAGE_NAME='cdo'
PACKAGE_STRING='cdo 1.5.3'
PACKAGE_TARNAME='cdo'
PACKAGE_URL=''
PACKAGE_VERSION='1.5.3'
PATH_SEPARATOR=':'
PROJ_INCLUDE=''
PROJ_LDFLAGS=''
PTHREAD_CC='gcc -std=gnu99'
PTHREAD_CFLAGS='-pthread'
PTHREAD_LIBS=''
RANLIB='ranlib'
SED='/bin/sed'
SET_MAKE=''
SHELL='/bin/sh'
STRIP='strip'
SYSTEM_TYPE='x86_64-unknown-linux-gnu'
SZLIB_INCLUDE=''
SZLIB_LIBS=''
THREADS_INCLUDE=''
THREADS_LIBS=''
USER_NAME='root'
VERSION='1.5.3'
ZLIB_INCLUDE=''
ZLIB_LIBS=' -lz'
ac_ct_CC='gcc'
ac_ct_CXX='g++'
ac_ct_DUMPBIN=''
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE=''
am__fastdepCC_FALSE='#'
am__fastdepCC_TRUE=''
am__fastdepCXX_FALSE='#'
am__fastdepCXX_TRUE=''
am__include='include'
am__isrc=''
am__leading_dot='.'
am__quote=''
am__tar='${AMTAR} chof - "$$tardir"'
am__untar='${AMTAR} xf -'
ax_pthread_config=''
bindir='${exec_prefix}/bin'
build='x86_64-unknown-linux-gnu'
build_alias=''
build_cpu='x86_64'
build_os='linux-gnu'
build_vendor='unknown'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
host='x86_64-unknown-linux-gnu'
host_alias=''
host_cpu='x86_64'
host_os='linux-gnu'
host_vendor='unknown'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='${SHELL} /root/downloads/cdo-1.5.3/config/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
mkdir_p='/bin/mkdir -p'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='NONE'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
subdirs=''
sysconfdir='${prefix}/etc'
target_alias=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

/* confdefs.h */
#define PACKAGE_NAME "cdo"
#define PACKAGE_TARNAME "cdo"
#define PACKAGE_VERSION "1.5.3"
#define PACKAGE_STRING "cdo 1.5.3"
#define PACKAGE_BUGREPORT "http://code.zmaw.de/projects/cdo"
#define PACKAGE_URL ""
#define PACKAGE "cdo"
#define VERSION "1.5.3"
#define STDC_HEADERS 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRING_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_DLFCN_H 1
#define LT_OBJDIR ".libs/"
#define HAVE_STDLIB_H 1
#define HAVE_UNISTD_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_GETPAGESIZE 1
#define HAVE_MMAP 1
#define HAVE_STRUCT_STAT_ST_BLKSIZE 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_TIMES_H 1
#define HAVE_MALLOC_H 1
#define HAVE_MALLINFO 1
#define HAVE_ISNAN 1
#define HAVE_GETRLIMIT 1
#define HAVE_GETHOSTNAME 1
#define COMP_VERSION "gcc (GCC) 4.1.2 20080704 (Red Hat 4.1.2-48)"
#define USER_NAME "root"
#define HOST_NAME "localhost.localdomain"
#define SYSTEM_TYPE "x86_64-unknown-linux-gnu"
#define HAVE_LIBM 1
#define HAVE_LIBPTHREAD 1
#define HAVE_ZLIB_H 1
#define HAVE_LIBZ 1
#define HAVE_NETCDF_H 1

configure: exit 1
    (1-1/1)