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

[netCDF #SUJ-146457]: Re: ref: error during netcdf installation in fedora 16



Hi,

Sorry it has taken so long to respond to your question.
> address@hidden> wrote:
> 
> > Dear Sir,
> >
> > when i tried to install the netcdf-4.2.1.1, the following error occurred
> > while checking "make install"
> >
> >
> > [root@apsdps netcdf-4.2.1.1]# make install
> > Making install in include
> > make[1]: Entering directory `/wrfpkgs/netcdf-4.2.1.1/include'
> > make[2]: Entering directory `/wrfpkgs/netcdf-4.2.1.1/include'
> > make[2]: Nothing to be done for `install-exec-am'.
> > test -z "/wrfpkgs/netcdf-4.2.1.1/include" || /bin/mkdir -p
> > "/wrfpkgs/netcdf-4.2.1.1/include"
> >  /usr/bin/install -c -m 644 netcdf.h '/wrfpkgs/netcdf-4.2.1.1/include'
> > /usr/bin/install: `netcdf.h' and
> > `/wrfpkgs/netcdf-4.2.1.1/include/netcdf.h' are the same file
> > make[2]: *** [install-includeHEADERS] Error 1
> > make[2]: Leaving directory `/wrfpkgs/netcdf-4.2.1.1/include'
> > make[1]: *** [install-am] Error 2
> > make[1]: Leaving directory `/wrfpkgs/netcdf-4.2.1.1/include'
> > make: *** [install-recursive] Error 1

This looks like you specified an install directory the same as the source 
directory,
using the configure argument --prefix=/wrfpkgs/netcdf-4.2.1.1 when building
from source in that directory.

As the instructions for building, at 

  http://www.unidata.ucar.edu/software/netcdf/docs/build_default.html 

include this statement:

  The installation location specified with the --prefix option must be 
different from 
  the source directory where the software is being built.

The "make install" has overwritten some of your source files, so please try 
downloading
the source again, using a different install directory.

--Russ


> > pls try to resolve this
> >
> > --
> > M. MALLESWARA RAO
> > M.Tech (Atmospheric Science)
> > Young Professional in Cyclone Models
> > APSDPS, AP Secreteriat, Hyderabad
> >
> >
> >
> > --
> > M. MALLESWARA RAO
> > M.Tech (Atmospheric Science)
> > Young Professional in Cyclone Models
> > APSDPS, AP Secreteriat, Hyderabad
> >
> 
> 
> 
> --
> M. MALLESWARA RAO
> M.Tech (Atmospheric Science)
> Young Professional in Cyclone Models
> APSDPS, AP Secreteriat, Hyderabad
> 
> 
Russ Rew                                         UCAR Unidata Program
address@hidden                      http://www.unidata.ucar.edu



Ticket Details
===================
Ticket ID: SUJ-146457
Department: Support netCDF
Priority: High
Status: Closed