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

[netCDF #QVS-340608]: problems installing NetCDF on Ubuntu Linux 10.10



Greetings!

The problem you are running into is that you do not have curl installed on your 
system. curl is required if you would like to use the DAP protocol for 
accessing data through OPeNDAP. If you do not need this functionality, simplpy 
pass --disable-dap to the configure script. If you would like DAP support, you 
will need to install curl. In Ubuntu, use apt-get to install 
libcurl4-openssl-dev (that should pull in what you need)

Be sure to check out the requirements to build netCDF at 
http://www.unidata.ucar.edu/software/netcdf/docs/netcdf-install/Requirements.html#Requirements,
 as you may run into other problems with missing dependencies.

Cheers!

Sean Arms


> HELLO,
> I am a student in china.I am doing my homework with GASFLOW-3.0.There are 
> some file in the output list which can not be read. And it shows I have not 
> install the unidata netcdf.
> so I download netcdf-4.1.2.tar.gz. But I cannot install .  as follows:
> 
> xuefei@ubuntu:~$ export CC=/usr/bin/gcc
> xuefei@ubuntu:~$ export CXX=$PGI/LINUX86/7.1/bin/pgCC
> xuefei@ubuntu:~$ export CXXFLAGS="-g"
> xuefei@ubuntu:~$ cd netcdf-4.1.2/
> xuefei@ubuntu:~/netcdf-4.1.2$ ./configure 
> --prefix=/home/xuefei/program/netcdf FC=pgf90 CPPFLAGS=-DpgiFortran
> configure: netCDF 4.1.2
> checking build system type... i686-pc-linux-gnu
> checking host system type... i686-pc-linux-gnu
> checking target system type... i686-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
> 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 udunits is to be built... no
> checking if fsync support is enabled... yes
> checking whether extra valgrind tests should be run... no
> checking whether libcf is to be built... no
> checking whether a location for the HDF4 library was specified...
> 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 parallel I/O for classic and 64-bit offset files using 
> parallel-netcdf is to be enabled... no
> checking whether a location for the parallel-netcdf library was specified... 
> no
> checking whether new netCDF-4 C++ API is to be built... 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...
> checking whether a location for the ZLIB library was specified...
> checking whether a location for the SZLIB library was specified...
> 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 cdmremote client is to be built... no
> checking whether DAP client is to be built... yes
> checking whether a path for curl-config was specified... no
> checking whether a location for curl installation was specified... no
> checking checking whether a location for curl-config found... no
> configure: error: Cannot locate neither curl-config or a curl directory
> xuefei@ubuntu:~/netcdf-4.1.2$ make
> make: *** ??????????? makefile? stop?
> xuefei@ubuntu:~/netcdf-4.1.2$ make check
> make: *** ??????????“check”? stop?
> xuefei@ubuntu:~/netcdf-4.1.2$ make install
> make: *** ??????????“install”? stop?
> xuefei@ubuntu:~/netcdf-4.1.2$ chmod install-sh
> chmod: “install-sh” ??????
> ?????“chmod --help”????????
> xuefei@ubuntu:~/netcdf-4.1.2$ chmod 755 install-sh
> xuefei@ubuntu:~/netcdf-4.1.2$ sudo ./install-sh
> [sudo] password for xuefei:
> ./install-sh: no input file specified.
> xuefei@ubuntu:~/netcdf-4.1.2$ make check install
> make: *** ??????????“check”? STOP?
> 
> 
> Thank you for your time .
> 
> 


Ticket Details
===================
Ticket ID: QVS-340608
Department: Support netCDF
Priority: Normal
Status: Open