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

[netCDF #FSQ-307920]: can't get netcdf-4.4.1.1 installed



Hello Carmen,

What you're seeing  is a small bug that will be fixed in the upcoming release.  
Instead of running 'make check install' you need to run 'make' by itself as a 
separate step, e.g.


    $ make && make check install

This should resolve the issue you're seeing.

Thanks!

-Ward

> Dear Support,
> 
> I'm working on Ubuntu 16.04 LTS in Oracle VM and want to install netCDF to 
> work with the WRF-Modell. I tried to install it in many ways but nothing 
> works.
> 
> I downloaded "The Latest Stable netCDF-C Release, tar.gz form"  and extracted 
> it.
> 
> I tried:
> "Building netCDF with Classic Library Only" (tried all 3 options)
> ./configure -prefix=${NCDIR} -disable-netcdf-4             (with Install 
> Prefix: /usr/local    Build Directory: /home/ullwer/WRF/netcdf-4.4.1.1)
> Sudo make check install
> 
> 
> è First part passed, second failed -> See ncgen/test-suite.log
> 1 example line out of .log-file:
> ncdump.c(.text+0x1a59): undefined reference to 'nc_free_string'
> 
> I also tried building with zlib and hdf5 (explained in documentation on 
> unidata.ucar.edu) which didn't work either.
> And I tried with enable fortran and c++
> ./configure -enable-fortran -enable-cxx -with-zlibs=${ZDIR} -prefix${H5DIR}
> 
> Tried:
>


 CPPFLAGS= -I$/home/ullwer/local /include LDFLAGS=-L/home/ullwer/local/lib
> ./configure -prefix=/home/ullwer/local
> 
> And with apt-get and search in aptitude:
> Sudo apt-get install libnetcdf-dev
> Sudo apt-get install libnetcdff-dev
> 
> I run out of ideas and hope you can help me.
> 
> Best regards
> 
> Carmen Ullwer
> 
> 
> Dear Support,
> 
> I'm working on Ubuntu 16.04 LTS in Oracle VM and want to install netCDF to 
> work with the WRF-Modell. I tried to install it in many ways but nothing 
> works.
> 
> I downloaded "The Latest Stable netCDF-C Release, tar.gz form"  and extracted 
> it.
> 
> I tried:
> "Building netCDF with Classic Library Only" (tried all 3 options)
> ./configure -prefix=${NCDIR} -disable-netcdf-4             (with Install 
> Prefix: /usr/local    Build Directory: /home/ullwer/WRF/netcdf-4.4.1.1)
> Sudo make check install
> 
> 
> è First part passed, second failed -> See ncgen/test-suite.log
> 1 example line out of .log-file:
> ncdump.c(.text+0x1a59): undefined reference to 'nc_free_string'
> 
> I also tried building with zlib and hdf5 (explained in documentation on 
> unidata.ucar.edu) which didn't work either.
> And I tried with enable fortran and c++
> ./configure -enable-fortran -enable-cxx -with-zlibs=${ZDIR} -prefix${H5DIR}
> 
> Tried:
> CPPFLAGS= -I$/home/ullwer/local /include LDFLAGS=-L/home/ullwer/local/lib
> ./configure -prefix=/home/ullwer/local
> 
> And with apt-get and search in aptitude:
> Sudo apt-get install libnetcdf-dev
> Sudo apt-get install libnetcdff-dev
> 
> I run out of ideas and hope you can help me.
> 
> Best regards
> 
> Carmen Ullwer
> 
> 


Ticket Details
===================
Ticket ID: FSQ-307920
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.