Hello Benjamin, You aren't doing anything wrong, it appears that there was an issue in the download. I suspect the file 'ctest.c' is empty, and it should not be. You should be able to copy the file 'ref_ctest.c' into 'ctest.c' to resolve this issue. I have several docker containers which I use for building/testing/debugging netCDF; if you're interested in any of these, feel free to take a look as they are publicly available and (if passed the 'bash' command), contain the Dockerfile and scripts used to build and test netcdf. These may be of useful reference. The docker containers (available via docker pull) are: unidata/nctests:serial //<- Serial netCDF unidata/nctests:openmpi //<- Parallel I/O I hope this helps, -Ward > Full Name: Benjamin Kulling > Email Address: address@hidden > Organization: CEREGE > Package Version: 4.4.0 > Operating System: Ubuntu 14.04 64-bit > Hardware: Docker > Description of problem: > > Dear Unidata Support, > > I'm trying to build NetCDF-C following the tutorial provded here: > > http://www.unidata.ucar.edu/software/netcdf/docs/getting_and_building_netcdf.html > > I've installed curl from source, and followed the tutorial to install > zlib & HDF5 (with successful make check). > > For netcdf-c-4.4.0, it seems make check fails when located in ncdump: > > (.text+0x20): undefined reference to `main' > collect2: error: ld returned 1 exit status > > I've attached ./configure final summary and a peace of make check log. > > I'm really stuck here, I don't understand what I'm doing wrong. > > I'm working in a Docker container on Ubuntu 14.04 64-bit, but the system > is clean. > > Kind regards, > > Benjamin > > Ticket Details =================== Ticket ID: UCR-300811 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.