Previous: Porting NetCDF Next: The Configure Script Table of contents Frames User guide
2008 Unidata NetCDF Workshop for Developers and Data Providers > Porting and Testing the NetCDF C/Fortran/C++ Libraries

17.6 The Configure Script
The configure script builds a custom set of Makefiles for your platform.

configure: netCDF 4.0.1-beta1
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
configure: checking user options
checking whether CXX is set to ''... no
checking whether FC is set to ''... no
checking whether F90 is set to ''... no
checking whether a NCIO_MINBLOCKSIZE was specified... 256
checking whether this is a netCDF-4.x build... yes
configure: Processing NetCDF-4 options.
checking whether netCDF-4 is to be built... yes
checking whether new netCDF-4 C++ API is to be built... no
checking whether HDF5 should do data conversions... no
checking whether extra example tests should be run... no
checking whether parallel IO tests should be run... no
checking whether a location for the HDF5 library was specified... /shecky/local
checking whether a location for the ZLIB library was specified... 
checking whether a location for the SZLIB library was specified... 
checking whether netCDF-4 logging is enabled... no
checking whether DAP client is to be built... no
checking whether dap testing should be enabled... yes
checking whether netCDF extra tests should be run (developers only)... no
checking whether documentation is to be installed... no
checking whether Fortran compiler(s) should be tested during configure... yes
checking whether configure should try to set compiler flags... yes
checking whether FFIO will be used... no
checking whether to skip C++, F77, or F90 APIs if compiler is broken... yes
checking whether only the C library is desired... no
checking whether examples should be built... yes
checking whether F77 API is desired... yes
checking whether F90 API is desired... yes
checking whether fortran type sizes should be checked... yes
checking whether C API is desired... yes
checking where to get netCDF C-only library for separate fortran libraries... 
checking whether CXX API is desired... yes
checking whether v2 netCDF API should be built... yes
checking whether the ncgen/ncdump should be built... yes
checking whether large file (> 2GB) tests should be run... no
checking whether benchmaks should be run (experimental)... no
checking whether extreme numbers should be used in tests... yes
checking where to put large temp files if large file tests are run... .
checking whether a win32 DLL is desired... no
checking whether separate fortran libs are desired... no
configure: finding C compiler
checking for xlc... no
checking for cc... cc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of cc... gcc3
checking whether cc understands -c and -o together... yes
checking for an ANSI C-conforming const... yes
configure: finding Fortran compiler (will not be used if Fortran API is not desired)
checking for xlf90... no
checking for fort... no
checking for xlf95... no
checking for ifort... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for g95... g95
checking whether we are using the GNU Fortran compiler... yes
checking whether g95 accepts -g... yes
checking for xlf... no
checking for fort... no
checking for xlf95... no
checking for ifort... no
checking for ifc... no
checking for efc... no
checking for pgf77... no
checking for lf95... no
checking for g95... g95
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether g95 accepts -g... yes
configure: setting up Fortran 90
checking for Fortran flag to compile .f90 files... none
checking fortran 90 modules inclusion flag... -I
checking if Fortran compiler can handle Fortran-90... yes
configure: finding C++ compiler (will not be used if C++ API is not desired)
checking for cl... no
checking for KCC... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for xlC... no
checking for aCC... no
checking for c++... c++
checking whether we are using the GNU C++ compiler... yes
checking whether c++ accepts -g... yes
checking dependency style of c++... gcc3
configure: setting up libtool
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by cc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1966080
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/bin/ld option to reload object files... -r
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from cc object... ok
checking how to run the C preprocessor... cc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether c++ accepts -g... (cached) yes
checking dependency style of c++... (cached) gcc3
checking how to run the C++ preprocessor... c++ -E
checking whether we are using the GNU Fortran 77 compiler... (cached) yes
checking whether g95 accepts -g... (cached) yes
checking whether we are using the GNU Fortran compiler... (cached) yes
checking whether g95 accepts -g... (cached) yes
checking for objdir... .libs
checking if cc supports -fno-rtti -fno-exceptions... no
checking for cc option to produce PIC... -fPIC -DPIC
checking if cc PIC flag -fPIC -DPIC works... yes
checking if cc static flag -static works... yes
checking if cc supports -c -o file.o... yes
checking if cc supports -c -o file.o... (cached) yes
checking whether the cc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking for ld used by c++... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the c++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for c++ option to produce PIC... -fPIC -DPIC
checking if c++ PIC flag -fPIC -DPIC works... yes
checking if c++ static flag -static works... yes
checking if c++ supports -c -o file.o... yes
checking if c++ supports -c -o file.o... (cached) yes
checking whether the c++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking for g95 option to produce PIC... -fPIC
checking if g95 PIC flag -fPIC works... yes
checking if g95 static flag -static works... no
checking if g95 supports -c -o file.o... yes
checking if g95 supports -c -o file.o... (cached) yes
checking whether the g95 linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking for g95 option to produce PIC... -fPIC
checking if g95 PIC flag -fPIC works... yes
checking if g95 static flag -static works... no
checking if g95 supports -c -o file.o... yes
checking if g95 supports -c -o file.o... (cached) yes
checking whether the g95 linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
configure: finding other utilities
checking for a BSD-compatible install... /usr/bin/install -c
configure: trying to set fortran flags for this platform
configure: trying to set flags for this platform
checking if _HPUX_SOURCE should be set... no
checking if Solaris -Xa option is needed... CFLAGS=-g -O2
configure: trying to set fortran 90 flags for this platform
checking if we need to add to FFLAGS for ifort compiler... FFLAGS=-g -O2
checking if we need to set _LARGE_FILES despite results of previous tests... _LARGE_FILES=
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
configure: displaying some results
checking CPPFLAGS... 
checking CC CFLAGS... cc -g -O2
checking type cc... cc is /usr/bin/cc
checking CXX... c++
checking CXXFLAGS... -g -O2
checking type c++... c++ is /usr/bin/c++
checking FC... g95
checking FFLAGS... -g -O2
checking type g95... g95 is /shecky/local/bin/g95
checking F90... g95
checking FCFLAGS... -g -O2
checking type g95... g95 is /shecky/local/bin/g95
checking AR... ar
checking AR_FLAGS... cru
checking type ar... ar is /usr/bin/ar
checking NM... /usr/bin/nm -B
checking NMFLAGS... 
checking for /usr/bin/nm... /usr/bin/nm -B
checking nm flags... 
checking for C-equivalent to Fortran routine "SUB"... sub_
checking for Fortran "byte"... yes
checking for Fortran "integer*2"... yes
checking if Fortran "byte" is C "signed char"... yes
checking if Fortran "byte" is C "short"... no
checking if Fortran "byte" is C "int"... no
checking if Fortran "byte" is C "long"... no
checking if Fortran "integer*2" is C "short"... yes
checking if Fortran "integer*2" is C "int"... no
checking if Fortran "integer*2" is C "long"... no
checking if Fortran "integer" is C "int"... yes
checking if Fortran "real" is C "float"... yes
checking if Fortran "doubleprecision" is C "double"... yes
checking for Fortran-equivalent to netCDF "byte"... byte
checking for Fortran-equivalent to netCDF "short"... integer*2
checking if Fortran 90 compiler capitalizes .mod filenames... no
configure: checking types, headers, and functions
checking for stdlib.h... (cached) yes
checking for sys/types.h... (cached) yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for strlcat... no
checking for strerror... yes
checking for snprintf... yes
checking for working alloca.h... yes
checking for alloca... yes
checking whether isnan is declared... yes
checking whether isinf is declared... yes
checking whether isfinite is declared... no
checking whether signbit is declared... no
checking for long long int... yes
checking for unsigned long long int... yes
checking for struct stat.st_blksize... yes
checking for IEEE floating point format... yes
checking for size_t... yes
checking for off_t... yes
checking for ssize_t... yes
checking for ptrdiff_t... yes
checking for uchar... no
checking whether char is unsigned... no
checking whether byte ordering is bigendian... no
checking size of short... 2
checking size of int... 4
checking size of long... 8
checking size of float... 4
checking size of double... 8
checking size of off_t... 8
checking size of size_t... 8
checking for manual-page index command... 
checking what to call the output of the ftpbin target... binary-netcdf-4.0.1-beta1_g95_g95_c++.tar g95 c++
checking binary distribution directory... /home/ftp/pub/binary/dummy_system
checking hdf5.h usability... yes
checking hdf5.h presence... yes
checking for hdf5.h... yes
checking for H5Fflush in -lhdf5... yes
checking for H5DSis_scale in -lhdf5_hl... yes
checking for H5Pget_fapl_mpiposix in -lhdf5... no
checking for H5Pget_fapl_mpio in -lhdf5... no
checking whether parallel I/O features are to be included... no
checking for H5Pset_deflate in -lhdf5... yes
checking how to get verbose linking output from g95... -v
checking for Fortran libraries of g95...  -L/machine/shecky/local/bin/../lib/gcc-lib/x86_64-unknown-linux-gnu/4.0.3/ -L/machine/shecky/local/bin/../lib/gcc-lib/x86_64-unknown-linux-gnu/4.0.3 -L/shecky/local/lib/gcc-lib/x86_64-unknown-linux-gnu/4.0.3/ -L/usr/lib/gcc// -L/lib/../lib64 -L/lib// -L/machine/shecky/local/bin/../lib/gcc-lib/x86_64-unknown-linux-gnu/4.0.3/// -L/shecky/local/lib/gcc-lib/x86_64-unknown-linux-gnu/4.0.3/// -L/usr/lib64/ -L/usr/lib64 -lf95 -lm
checking how to get verbose linking output from g95... -v
checking for Fortran 77 libraries of g95...  -L/machine/shecky/local/bin/../lib/gcc-lib/x86_64-unknown-linux-gnu/4.0.3/ -L/machine/shecky/local/bin/../lib/gcc-lib/x86_64-unknown-linux-gnu/4.0.3 -L/shecky/local/lib/gcc-lib/x86_64-unknown-linux-gnu/4.0.3/ -L/usr/lib/gcc// -L/lib/../lib64 -L/lib// -L/machine/shecky/local/bin/../lib/gcc-lib/x86_64-unknown-linux-gnu/4.0.3/// -L/shecky/local/lib/gcc-lib/x86_64-unknown-linux-gnu/4.0.3/// -L/usr/lib64/ -L/usr/lib64 -lf95 -lm
checking whether a location for the DAP library was specified... no
configure: external daplib library not specified; using internal version
checking whether a location for the XML2 library was specified... no
configure: Found -lxml2 using xml2-config
checking whether a location for the CURL library was specified... no
configure: Found -lcurl using curl-config
checking whether a location for the ZLIB library was specified... no
checking for zlibVersion in -lz... yes
checking whether a location for the SZLIB library was specified... no
checking for SZ_Decompress in -lsz... no
configure: szlib library not found; assume optional
checking whether ncgen4 should be built... no
configure: generating header files and makefiles
configure: creating ./config.status
config.status: creating Makefile
config.status: creating man4/Makefile
config.status: creating fortran/Makefile
config.status: creating libsrc/Makefile
config.status: creating libsrc4/Makefile
config.status: creating nctest/Makefile
config.status: creating nc_test4/Makefile
config.status: creating nc_test/Makefile
config.status: creating ncdump/Makefile
config.status: creating ncgen/Makefile
config.status: creating nf_test/Makefile
config.status: creating cxx/Makefile
config.status: creating cxx4/Makefile
config.status: creating f90/Makefile
config.status: creating examples/Makefile
config.status: creating examples/C/Makefile
config.status: creating examples/CDL/Makefile
config.status: creating examples/CXX/Makefile
config.status: creating examples/CXX4/Makefile
config.status: creating examples/F90/Makefile
config.status: creating examples/F77/Makefile
config.status: creating win32/Makefile
config.status: creating win32/NET/Makefile
config.status: creating win32/NET/libsrc/Makefile
config.status: creating win32/NET/ncdump/Makefile
config.status: creating win32/NET/ncgen/Makefile
config.status: creating win32/NET/examples/Makefile
config.status: creating win32/NET/nctest/Makefile
config.status: creating win32/NET/nc_test/Makefile
config.status: creating libdap/Makefile
config.status: creating libnc-dap/Makefile
config.status: creating ncdap_test/Makefile
config.status: creating ncdap_test/expected/Makefile
config.status: creating ncgen4/Makefile
config.status: creating ncgen4/cdl/Makefile
config.status: creating ncgen4/expected/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: creating fortran/nfconfig1.inc
config.status: fortran/nfconfig1.inc is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands

 


Previous: Porting NetCDF Next: The Configure Script Table of contents Frames User guide
2008 Unidata NetCDF Workshop for Developers and Data Providers > Porting and Testing the NetCDF C/Fortran/C++ Libraries