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

[netCDF #INO-281873]: Trouble installing



Hi Paula,

> I am trying to install netcdf but I am getting an error.  When I look for 
> /gscratch2/pdgabel/Drekar/Drekar_Build_Tools/netcdf-4.2/man4/html/ and 
> /gscratch2/pdgabel/Drekar/Drekar_Build_Tools/netcdf-4.2/man4/tutorial.doc.html
>  each are there and read/writeable.  Do you know how I can fix this? Or is 
> there a way to pass over the documentation installation?

Yes, just "make clean", then configure with the option "--disable-doxygen" and 
proceed with 
"make check" and "make install".

Alternatively, since the doxygen step is the last step in building netCDF, it's 
failure doesn't 
affect the libraries or utilities that have been built, so you can just install 
them with

    make install

That will probably give you an error also about inability to install the 
documentation, which you can
ignore.

Another workaround would be to get the current netCDF release candidate, 
netCDF-4.2.1-rc1, for
which the default is to disable generation of documentation with doxygen, from

  ftp://ftp.unidata.ucar.edu/pub/netcdf/netcdf-4.2.1-rc1.tar.gz

--Russ

> These are the step I have done:
> tar xzf netcdf-4.2.tar.gz
> Cd netcdf-4.2
> pwd:   /gscratch2/pdgabel/Drekar/Drekar_Build_Tools/netcdf-4.2
> 
> ./configure --enable-netcdf-4 --enable-option-checking --enable-shared 
> --enable-static 
> CFLAGS="-I/gscratch2/pdgabel/Drekar/Drekar_Build_Tools/install_hdf5/include" 
> LDFLAGS="-L/gscratch2/pdgabel/Drekar/Drekar_Build_Tools/install_hdf5/lib" 
> --prefix=/gscratch2/pdgabel/Drekar/Drekar_Build_Tools/install_netcdf
> 
> make install –j10
> 
> runs and then comes to this...
> Could not open file 
> /gscratch2/pdgabel/Drekar/Drekar_Build_Tools/netcdf-4.2/man4/html//gscratch2/pdgabel/Drekar/Drekar_Build_Tools/netcdf-4.2/man4/tutorial.doc.html
>  for writing
> make[2]: *** [doxyfile.stamp] Error 1
> make[2]: Leaving directory 
> `/gscratch2/pdgabel/Drekar/Drekar_Build_Tools/netcdf-4.2/man4'
> make[1]: *** [install-recursive] Error 1
> make[1]: Leaving directory 
> `/gscratch2/pdgabel/Drekar/Drekar_Build_Tools/netcdf-4.2/man4'
> make: *** [install-recursive] Error 1

Russ Rew                                         UCAR Unidata Program
address@hidden                      http://www.unidata.ucar.edu



Ticket Details
===================
Ticket ID: INO-281873
Department: Support netCDF
Priority: Normal
Status: Closed