Hi all,

I'm unable to install the package ncdf4 and below is the message that I'm
getting.

Any thougths on how to fix the problem will be very much appreciated.

#####################################################
#####################################################
* installing *source* package ‘ncdf4’ ...
** package ‘ncdf4’ successfully unpacked and MD5 sums checked
configure.in: starting
checking for nc-config... no
-----------------------------------------------------------------------------------
Error, nc-config not found or not executable.  This is a script that comes
with the
netcdf library, version 4.1-beta2 or later, and must be present for
configuration
to succeed.

If you installed the netcdf library (and nc-config) in a standard location,
nc-config
should be found automatically.  Otherwise, you can specify the full path
and name of
the nc-config script by passing the --with-nc-config=/full/path/nc-config
argument
flag to the configure script.  For example:

./configure --with-nc-config=/sw/dist/netcdf4/bin/nc-config

Special note for R users:
-------------------------
To pass the configure flag to R, use something like this:

R CMD INSTALL --configure-args="--with-nc-config=/home/joe/bin/nc-config"
ncdf4

where you should replace /home/joe/bin etc. with the location where you have
installed the nc-config script that came with the netcdf 4 distribution.
-----------------------------------------------------------------------------------
ERROR: configuration failed for package ‘ncdf4’
* removing ‘/home/armel/R/x86_64-pc-linux-gnu-library/3.0/ncdf4’

The downloaded source packages are in
    ‘/tmp/RtmpKkBbop/downloaded_packages’
Warning message:
In install.packages("ncdf4") :
  installation of package ‘ncdf4’ had non-zero exit status
>



-- 
Armel KAPTUE, Ph.D.
GIScCE SDSU
1021 Medary Av., Wecota Hall Box 506 B
Brookings, SD 57007
USA
Tel:  +1 605 688 6255
Fax: +1 605 688 5227
Email: armel.kap...@sdstate.edu

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to