[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[netCDF #RXT-867561]: Netcdf building problem



This is a known error in 4.7.0, sorry about that.
Anyway, I am attaching a modified version of the configure program.
See if it solves your problem.

> Dear sir/madam
> 
> Greetings!
> 
> I am installing netcdf-c-4.7.0 with hdf5-1.8.15 on my Ubuntu 16.04 LTS 
> (xenial xerus)
> I am following the below steps:
> 
> 
> $cd netcdf-c-4.7.0
> 
> 
> $H5DIR=/home/anirban/local/hdf5-1.8.15/
> 
> 
> $export CPPFLAGS="-I${H5DIR}/include"
> 
> 
> $export LDFLAGS=-L${H5DIR}/lib
> 
> 
> $mkdir build &&cd build
> 
> 
> $../configure –prefix=/home/diehl/local/netcdf-c-4.7.0/ --disable-netcdf-4 
> --disable-dap
> 
> 
> Now I am getting the following output error in terminal:
> 
> 
> configure: netCDF 4.7.0
> 
> checking build system type... x86_64-pc-linux-gnu
> checking host system type... x86_64-pc-linux-gnu
> checking target system type... x86_64-pc-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... no
> checking for mawk... mawk
> checking whether make sets $(MAKE)... yes
> checking whether make supports nested variables... yes
> checking whether to enable maintainer-specific portions of Makefiles... no
> configure: checking user options
> checking whether a NCIO_MINBLOCKSIZE was specified... 256
> checking for valgrind... no
> checking if fsync support is enabled... no
> checking if jna bug workaround is enabled... no
> checking whether we should build netCDF-4... no
> checking whether we should build with HDF5... no
> checking do we require hdf5 dynamic-loading support... yes
> checking whether reading of HDF4 SD files is to be enabled... no
> checking whether to fetch some sample HDF4 files from Unidata ftp site to 
> test HDF4 reading (requires wget)... no
> checking whether we should attempt to install netcdf-fortran 
> (EXPERIMENTAL)... no
> checking whether parallel IO tests should be run... no
> checking whether a user specified program to run mpi programs... mpiexec
> checking whether a default chunk size in bytes was specified... 4194304
> checking whether a maximum per-variable cache size for HDF5 was specified... 
> 67108864
> checking whether a number of chunks for the default per-variable cache was 
> specified... 10
> checking whether a default file cache size for HDF5 was specified... 4194304
> checking whether a default file cache maximum number of elements for HDF5 was 
> specified... 1009
> checking whether a default cache preemption for HDF5 was specified... 0.75
> checking whether netCDF-4 logging is enabled... no
> checking whether nc_set_log_level() function is included (will do nothing 
> unless enable-logging is also used)... yes
> checking whether DAP client(s) are to be built... no
> checking whether make supports the include directive... yes (GNU style)
> checking for gcc... /home/anirban/local/openmpi-2.1.0/bin/mpicc
> checking whether the C compiler works... yes
> checking for C compiler default output file name... a.out
> checking for suffix of executables...
> checking whether we are cross compiling... no
> checking for suffix of object files... o
> checking whether we are using the GNU C compiler... yes
> checking whether /home/anirban/local/openmpi-2.1.0/bin/mpicc accepts -g... yes
> checking for /home/anirban/local/openmpi-2.1.0/bin/mpicc option to accept ISO 
> C89... none needed
> checking whether /home/anirban/local/openmpi-2.1.0/bin/mpicc understands -c 
> and -o together... yes
> checking dependency style of /home/anirban/local/openmpi-2.1.0/bin/mpicc... 
> gcc3
> checking for curl_easy_setopt in -lcurl... no
> checking whether dap remote testing should be enabled (default on)... no
> checking whether dap remote authorization testing should be enabled (default 
> off)... no
> checking which remote test server(s) to use... 
> 149.165.169.123:8080,remotetest.unidata.ucar.edu
> checking whether the time-consuming dap tests should be enabled (default 
> off)... no
> checking whether to enable strict null-byte header padding when reading 
> (default off)... no
> checking whether FFIO will be used... no
> checking whether STDIO will be used... no
> checking whether examples should be built... yes
> checking whether v2 netCDF API should be built... yes
> checking whether the ncgen/ncdump/nccopy should be built... yes
> checking whether test should be built and run... yes
> checking whether large file (> 2GB) tests should be run... no
> checking whether benchmarks should be run... 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 Extra values for _NCProperties...
> checking whether user-defined format 0 was specified...
> checking whether a magic number for user-defined format 0 was specified...
> checking whether user-defined format 1 was specified...
> checking whether a magic number for user-defined format 1 was specified...
> configure: finding C compiler
> checking for gcc... (cached) /home/anirban/local/openmpi-2.1.0/bin/mpicc
> checking whether we are using the GNU C compiler... (cached) yes
> checking whether /home/anirban/local/openmpi-2.1.0/bin/mpicc accepts -g... 
> (cached) yes
> checking for /home/anirban/local/openmpi-2.1.0/bin/mpicc option to accept ISO 
> C89... (cached) none needed
> checking whether /home/anirban/local/openmpi-2.1.0/bin/mpicc understands -c 
> and -o together... (cached) yes
> checking dependency style of /home/anirban/local/openmpi-2.1.0/bin/mpicc... 
> (cached) gcc3
> checking for an ANSI C-conforming const... yes
> checking whether CURLOPT_USERNAME is defined... no
> checking whether CURLOPT_PASSWORD is defined... no
> checking whether CURLOPT_KEYPASSWD is defined... no
> checking whether CURLINFO_RESPONSE_CODE is defined... no
> checking whether CURLOPT_BUFFERSIZE is defined... no
> checking whether CURLOPT_TCP_KEEPALIVE is defined... no
> configure: setting up libtool
> checking how to print strings... printf
> 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 /home/anirban/local/openmpi-2.1.0/bin/mpicc... 
> /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... 1572864
> checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu 
> format... func_convert_file_noop
> checking how to convert x86_64-pc-linux-gnu file names to toolchain format... 
> func_convert_file_noop
> checking for /usr/bin/ld option to reload object files... -r
> checking for objdump... objdump
> checking how to recognize dependent libraries... pass_all
> checking for dlltool... no
> checking how to associate runtime and link libraries... printf %s\n
> checking for ar... ar
> checking for archiver @FILE support... @
> checking for strip... strip
> checking for ranlib... ranlib
> checking command to parse /usr/bin/nm -B output from 
> /home/anirban/local/openmpi-2.1.0/bin/mpicc object... ok
> checking for sysroot... no
> checking for a working dd... /bin/dd
> checking how to truncate binary pipes... /bin/dd bs=4096 count=1
> checking for mt... mt
> checking if mt is a manifest tool... no
> checking how to run the C preprocessor... 
> /home/anirban/local/openmpi-2.1.0/bin/mpicc -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 for objdir... .libs
> checking if /home/anirban/local/openmpi-2.1.0/bin/mpicc supports -fno-rtti 
> -fno-exceptions... no
> checking for /home/anirban/local/openmpi-2.1.0/bin/mpicc option to produce 
> PIC... -fPIC -DPIC
> checking if /home/anirban/local/openmpi-2.1.0/bin/mpicc PIC flag -fPIC -DPIC 
> works... yes
> checking if /home/anirban/local/openmpi-2.1.0/bin/mpicc static flag -static 
> works... no
> checking if /home/anirban/local/openmpi-2.1.0/bin/mpicc supports -c -o 
> file.o... yes
> checking if /home/anirban/local/openmpi-2.1.0/bin/mpicc supports -c -o 
> file.o... (cached) yes
> checking whether the /home/anirban/local/openmpi-2.1.0/bin/mpicc linker 
> (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
> checking whether -lc should be explicitly linked in... no
> 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... yes
> checking whether to build static libraries... yes
> configure: finding other utilities
> checking for m4... m4
> checking for doxygen... no
> configure: WARNING: Doxygen not found - documentation will not be built
> checking for dot... no
> configure: WARNING: dot not found - will use simple charts in documentation
> 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... -I/home/anirban/local/hdf5-1.8.15//include
> checking CC CFLAGS... /home/anirban/local/openmpi-2.1.0/bin/mpicc
> checking type /home/anirban/local/openmpi-2.1.0/bin/mpicc... 
> /home/anirban/local/openmpi-2.1.0/bin/mpicc is 
> /home/anirban/local/openmpi-2.1.0/bin/mpicc
> checking CXX... /home/anirban/local/openmpi-2.1.0/bin/mpicxx
> checking CXXFLAGS...
> checking type /home/anirban/local/openmpi-2.1.0/bin/mpicxx... 
> /home/anirban/local/openmpi-2.1.0/bin/mpicxx is 
> /home/anirban/local/openmpi-2.1.0/bin/mpicxx
> checking FC... /home/anirban/local/openmpi-2.1.0/bin/mpif90
> checking FFLAGS...
> checking type /home/anirban/local/openmpi-2.1.0/bin/mpif90... 
> /home/anirban/local/openmpi-2.1.0/bin/mpif90 is 
> /home/anirban/local/openmpi-2.1.0/bin/mpif90
> checking F90... unset
> checking AR... ar
> checking AR_FLAGS... cru
> checking type ar... ar is /usr/bin/ar
> checking NM... /usr/bin/nm -B
> checking NMFLAGS...
> configure: checking types, headers, and functions
> checking sys/param.h usability... yes
> checking sys/param.h presence... yes
> checking for sys/param.h... yes
> checking libgen.h usability... yes
> checking libgen.h presence... yes
> checking for libgen.h... yes
> checking for ANSI C header files... (cached) yes
> checking locale.h usability... yes
> checking locale.h presence... yes
> checking for locale.h... yes
> checking stdio.h usability... yes
> checking stdio.h presence... yes
> checking for stdio.h... yes
> checking stdarg.h usability... yes
> checking stdarg.h presence... yes
> checking for stdarg.h... yes
> checking fcntl.h usability... yes
> checking fcntl.h presence... yes
> checking for fcntl.h... yes
> checking malloc.h usability... yes
> checking malloc.h presence... yes
> checking for malloc.h... yes
> checking for stdlib.h... (cached) yes
> checking for string.h... (cached) yes
> checking for strings.h... (cached) yes
> checking for unistd.h... (cached) yes
> checking for sys/stat.h... (cached) yes
> checking getopt.h usability... yes
> checking getopt.h presence... yes
> checking for getopt.h... yes
> checking sys/time.h usability... yes
> checking sys/time.h presence... yes
> checking for sys/time.h... yes
> checking for sys/types.h... (cached) yes
> checking sys/resource.h usability... yes
> checking sys/resource.h presence... yes
> checking for sys/resource.h... yes
> checking ftw.h usability... yes
> checking ftw.h presence... yes
> checking for ftw.h... yes
> checking for strlcat... no
> checking for snprintf... yes
> checking for strdup... yes
> checking for strtoll... yes
> checking for strtoull... yes
> checking for mkstemp... yes
> checking for mktemp... yes
> checking for random... yes
> checking for getrlimit... yes
> checking for gettimeofday... yes
> checking for fsync... yes
> checking for MPI_Comm_f2c... yes
> checking for MPI_Info_f2c... yes
> configure: WARNING: netcdf-4 not enabled; disabling DAP4
> checking for memmove... yes
> checking for getpagesize... yes
> checking for sysconf... yes
> checking whether mmap is enabled for in-memory files... no
> checking for mmap... yes
> checking for mremap... yes
> checking whether MAP_ANONYMOUS is defined... yes
> mmap functionality is not available: disabling mmap
> checking whether byte range support is enabled... no
> configure: error: curl required for byte range support. Install curl or build 
> without --enable-byterange.

> 
> 
> 
> 

=Dennis Heimbigner
  Unidata


Ticket Details
===================
Ticket ID: RXT-867561
Department: Support netCDF
Priority: Normal
Status: Open
===================
NOTE: All email exchanges with Unidata User Support are recorded in the Unidata 
inquiry tracking system and then made publicly available through the web.  If 
you do not want to have your interactions made available in this way, you must 
let us know in each email you send to us.

Attachment: configure
Description: Binary data