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

Re: netcdf INSTALLATION



>From: address@hidden (Nicola D'Agostino)
>Subject: installation NetCDF
>Keywords: 199607261652.AA28660 netCDF install Solaris

Nicola,

>  Thank you to have responded so soon !!
> 
> I compared the output of configure. the problem seems to reside in the
> include file sysmacro.h that is missing if I understood.
> 
> However I send you the output of configure if you can say something else.

> -----------------------------------------------------------------------
> loading cache ./config.cache

If you find the reason the Sun-provided file /usr/include/sys/sysmacro.h
is missing and fix it, you should then run "make clean" or delete the
"config.cache" file before trying to run the "configure" script again.
Then "configure" won't try to use previously cached results, as it is
doing here, but will start over trying to determine the properties of
your system.

> checking for catman... (cached) catman
> checking for fill-value usage... new usage
> checking the installation prefix... /export/home/sviluppo/netcdf-2.4.2
> checking the installation exec-prefix... /export/home/sviluppo/netcdf-2.4.2
> checking for cc... (cached) cc
> checking type of operating system... sunos5
> checking type of machine... sun4
> checking for ranlib... (cached) :
> checking how to run the C preprocessor... (cached) cc -E
> checking the C preprocessor... works
> checking for f77... (cached) f77
> checking for CC... no
> checking for CC... no
> checking for cxx... no
> checking for c++... no
> checking for g++... no

These just indicate you don't have a C++ compiler, so "make" will not
try to build or test the netCDF C++ interface, but you should still be
able to use it from C or Fortran when things are working.

> checking for gcc... no
> checking for yacc... (cached) yacc
> checking for neqn... (cached) neqn
> checking for tbl... (cached) tbl
> checking for ar... (cached) ar
> checking for makeinfo... no
> checking for tar flags... -chof
> checking for dependency generation mechanism... cc -xM
> checking whether cross-compiling... (cached) no
> checking size of int... (cached) 4
> checking size of long... (cached) 4
> checking type of nclong... long
> checking endianess... big endian
> checking type of netlong... long
> checking type of internal netlong... long
> checking for XDR header-file... -I/usr/include/rpc
> checking for XDR library... 
> checking for xdr_long in default library... no
> checking for xdr_long in -lrpc... no
> checking for xdr_long in -lnsl... yes
> checking XDR implementation... configure: warning: problem with
> system-supplied XDR: using own

The above is the real problem.  Until this check responds with "... ok",
the Sun you are using to try to build this does not have all its include
and library files installed correctly.  In particular, you must have the
Sun-provided include file "/usr/include/sys/sysmacros.h" for this to
work, though there may be other files missing as well.

--Russ

________________________________________________________________________

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