Hi, this is a known issue with the 4.4.1 release; there was a file missing in the distribution. I've attached it to this message and you can drop it in the nc_test4/ directory. My apologies, this will be fixed in the upcoming 4.4.1.1 release. -Ward > Hi there, > > I am trying to use cmake to install netcdf as per your support page > > http://www.unidata.ucar.edu/software/netcdf/docs/getting_and_building_netcdf.html > > but there seems to be a problem determining link languages. Can you help? I > have posted the output below my signature. > > Thank you so much! > -Walter > > wtorres@ubuntu:~/netcdf-4.4.1$ cmake /home/wtorres/netcdf-4.4.1 > cmake: /usr/local/lib/libcurl.so.4: no version information available > (required by cmake) > -- The C compiler identification is GNU 5.4.0 > -- Check for working C compiler: /usr/bin/cc > -- Check for working C compiler: /usr/bin/cc -- works > -- Detecting C compiler ABI info > -- Detecting C compiler ABI info - done > -- Detecting C compile features > -- Detecting C compile features - done > -- Performing Test LIBTOOL_HAS_NO_UNDEFINED > -- Performing Test LIBTOOL_HAS_NO_UNDEFINED - Success > -- Performing Test CC_HAS_WCONVERSION > -- Performing Test CC_HAS_WCONVERSION - Success > -- Performing Test CC_HAS_SHORTEN_64_32 > -- Performing Test CC_HAS_SHORTEN_64_32 - Failed > -- Found HDF5: > /usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5.so;/usr/lib/x86_64-linux-gnu/libpthread.so;/usr/lib/x86_64-linux-gnu/libsz.so;/usr/lib/x86_64-linux-gnu/libz.so;/usr/lib/x86_64-linux-gnu/libdl.so;/usr/lib/x86_64-linux-gnu/libm.so;/usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5_hl.so;/usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5.so;/usr/lib/x86_64-linux-gnu/libpthread.so;/usr/lib/x86_64-linux-gnu/libsz.so;/usr/lib/x86_64-linux-gnu/libz.so;/usr/lib/x86_64-linux-gnu/libdl.so;/usr/lib/x86_64-linux-gnu/libm.so > (found version "1.8.16") > -- Found HDF5 libraries version 1.8.16 > -- Looking for H5Pget_fapl_mpiposix in hdf5 > -- Looking for H5Pget_fapl_mpiposix in hdf5 - not found > -- Looking for H5Pget_fapl_mpio in hdf5 > -- Looking for H5Pget_fapl_mpio in hdf5 - not found > -- Looking for H5free_memory in hdf5 > -- Looking for H5free_memory in hdf5 - not found > -- Looking for H5Pset_libver_bounds in hdf5 > -- Looking for H5Pset_libver_bounds in hdf5 - not found > -- Found libdl: /usr/lib/x86_64-linux-gnu/libdl.so > -- Looking for H5Z_SZIP in hdf5 > -- Looking for H5Z_SZIP in hdf5 - not found > -- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.2.8") > -- Found CURL: /usr/local/lib/libcurl.so (found version "7.50.1") > -- Performing Test HAVE_CURLOPT_USERNAME > -- Performing Test HAVE_CURLOPT_USERNAME - Success > -- Performing Test HAVE_CURLOPT_PASSWORD > -- Performing Test HAVE_CURLOPT_PASSWORD - Success > -- Performing Test HAVE_CURLOPT_KEYPASSWD > -- Performing Test HAVE_CURLOPT_KEYPASSWD - Success > -- Performing Test HAVE_CURLINFO_RESPONSE_CODE > -- Performing Test HAVE_CURLINFO_RESPONSE_CODE - Success > -- Performing Test HAVE_CURLOPT_CHUNK_BGN_FUNCTION > -- Performing Test HAVE_CURLOPT_CHUNK_BGN_FUNCTION - Success > -- Found Math library: /usr/lib/x86_64-linux-gnu/libm.so > -- Performing Test __CHAR_UNSIGNED__ > -- Performing Test __CHAR_UNSIGNED__ - Failed > -- Looking for math.h > -- Looking for math.h - found > -- Looking for unistd.h > -- Looking for unistd.h - found > -- Looking for alloca.h > -- Looking for alloca.h - found > -- Looking for malloc.h > -- Looking for malloc.h - found > -- Looking for ctype.h > -- Looking for ctype.h - found > -- Looking for dirent.h > -- Looking for dirent.h - found > -- Looking for dlfcn.h > -- Looking for dlfcn.h - found > -- Looking for errno.h > -- Looking for errno.h - found > -- Looking for fcntl.h > -- Looking for fcntl.h - found > -- Looking for getopt.h > -- Looking for getopt.h - found > -- Looking for stdbool.h > -- Looking for stdbool.h - found > -- Looking for locale.h > -- Looking for locale.h - found > -- Looking for stdint.h > -- Looking for stdint.h - found > -- Looking for stdio.h > -- Looking for stdio.h - found > -- Looking for stdlib.h > -- Looking for stdlib.h - found > -- Looking for stdarg.h > -- Looking for stdarg.h - found > -- Looking for strings.h > -- Looking for strings.h - found > -- Looking for signal.h > -- Looking for signal.h - found > -- Looking for sys/dir.h > -- Looking for sys/dir.h - found > -- Looking for sys/ndir.h > -- Looking for sys/ndir.h - not found > -- Looking for sys/param.h > -- Looking for sys/param.h - found > -- Looking for sys/stat.h > -- Looking for sys/stat.h - found > -- Looking for sys/time.h > -- Looking for sys/time.h - found > -- Looking for sys/types.h > -- Looking for sys/types.h - found > -- Looking for sys/wait.h > -- Looking for sys/wait.h - found > -- Looking for sys/resource.h > -- Looking for sys/resource.h - found > -- Looking for inttypes.h > -- Looking for inttypes.h - found > -- Looking for pstdint.h > -- Looking for pstdint.h - found > -- Looking for endian.h > -- Looking for endian.h - found > -- Looking for BaseTsd.h > -- Looking for BaseTsd.h - not found > -- Looking for stddef.h > -- Looking for stddef.h - found > -- Check size of void* > -- Check size of void* - done > -- Check size of char > -- Check size of char - done > -- Check size of double > -- Check size of double - done > -- Check size of float > -- Check size of float - done > -- Check size of int > -- Check size of int - done > -- Check size of long > -- Check size of long - done > -- Check size of long long > -- Check size of long long - done > -- Check size of off_t > -- Check size of off_t - done > -- Check size of off64_t > -- Check size of off64_t - failed > -- Check size of short > -- Check size of short - done > -- Check size of size_t > -- Check size of size_t - done > -- Check size of ssize_t > -- Check size of ssize_t - done > -- Check size of __int64 > -- Check size of __int64 - failed > -- Check size of uchar > -- Check size of uchar - failed > -- Check size of int64_t > -- Check size of int64_t - done > -- Check size of uint64_t > -- Check size of uint64_t - done > -- Looking for fsync > -- Looking for fsync - found > -- Looking for strlcat > -- Looking for strlcat - not found > -- Looking for strerror > -- Looking for strerror - found > -- Looking for snprintf > -- Looking for snprintf - found > -- Looking for strchr > -- Looking for strchr - found > -- Looking for strrchr > -- Looking for strrchr - found > -- Looking for strcat > -- Looking for strcat - found > -- Looking for strcpy > -- Looking for strcpy - found > -- Looking for strdup > -- Looking for strdup - found > -- Looking for strndup > -- Looking for strndup - found > -- Looking for strcasecmp > -- Looking for strcasecmp - found > -- Looking for strtod > -- Looking for strtod - found > -- Looking for strtoll > -- Looking for strtoll - found > -- Looking for strtoull > -- Looking for strtoull - found > -- Looking for strstr > -- Looking for strstr - found > -- Looking for mkstemp > -- Looking for mkstemp - found > -- Looking for rand > -- Looking for rand - found > -- Looking for random > -- Looking for random - found > -- Looking for gettimeofday > -- Looking for gettimeofday - found > -- Looking for MPI_Comm_f2C > -- Looking for MPI_Comm_f2C - not found > -- Looking for memmove > -- Looking for memmove - found > -- Looking for getpagesize > -- Looking for getpagesize - found > -- Looking for sysconf > -- Looking for sysconf - found > -- Looking for getrlimit > -- Looking for getrlimit - found > -- Looking for _filelengthi64 > -- Looking for _filelengthi64 - not found > -- Found bash: /bin/bash > > > Configuration Summary: > > -- Building Shared Libraries: ON > -- Building netCDF-4: ON > -- Building DAP Support: ON > -- Building Utilities: ON > > Tests Enabled: ON > -- DAP Remote Tests: ON > -- DAP AUTH Tests: OFF > -- Extra Tests: OFF > -- Coverage Tests: OFF > -- Parallel Tests: OFF > -- Large File Tests: OFF > > Compiler: > > -- Build Type: DEBUG > -- CMAKE_C_COMPILER: /usr/bin/cc > -- CMAKE_C_FLAGS: > -- CMAKE_C_FLAGS_DEBUG: -g -Wall -Wconversion > -- Linking against: > /usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5_hl.so;/usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5.so;/usr/lib/x86_64-linux-gnu/libpthread.so;/usr/lib/x86_64-linux-gnu/libsz.so;/usr/lib/x86_64-linux-gnu/libz.so;/usr/lib/x86_64-linux-gnu/libdl.so;/usr/lib/x86_64-linux-gnu/libm.so;/usr/local/lib/libcurl.so > > # NetCDF C Configuration Summary > ============================== > > # General > ------- > NetCDF Version: 4.4.1 > Configured On: Fri Aug 12 09:15:54 PDT 2016 > Host System: x86_64-Linux-4.4.0-31-generic > Build Directory: /home/wtorres/netcdf-4.4.1 > Install Prefix: /usr/local > > # Compiling Options > ----------------- > C Compiler: /usr/bin/cc > CFLAGS: -g -Wall -Wconversion > CPPFLAGS: > LDFLAGS: -Wl,--no-undefined > AM_CFLAGS: > AM_CPPFLAGS: > AM_LDFLAGS: > Shared Library: yes > Static Library: no > Extra libraries: -lhdf5_hl -lhdf5 -lpthread -lsz -lz -ldl -lm -lcurl > > # Features > -------- > NetCDF-2 API: yes > HDF4 Support: no > NetCDF-4 API: yes > NC-4 Parallel Support: no > PNetCDF Support: no > DAP Support: yes > Diskless Support: yes > MMap Support: no > JNA Support: no > > -- Configuring done > CMake Error at CMakeLists.txt:1336 (ADD_EXECUTABLE): > Cannot find source file: > > tst_fill_attr_vanish.c > > Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp > .hxx .in .txx > Call Stack (most recent call first): > nc_test4/CMakeLists.txt:68 (add_bin_test) > > > CMake Error: CMake can not determine linker language for target: > nc_test4_tst_fill_attr_vanish > CMake Error: Cannot determine link language for target > "nc_test4_tst_fill_attr_vanish". > -- Generating done > -- Build files have been written to: /home/wtorres/netcdf-4.4.1 > wtorres@ubuntu:~/netcdf-4.4.1$ > > Ticket Details =================== Ticket ID: RXI-782940 Department: Support netCDF Priority: Normal Status: Closed =================== 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:
tst_fill_attr_vanish.c
Description: Binary data