[vox-tech] netcdf installation problems

Jason Snyder jmssnyder at ucdavis.edu
Mon Sep 12 22:27:25 PDT 2011


I get the following information when I try the make install:

snyderjm at snyderjm-laptop:/media/WRFDisk_$ cd lib
bash: cd: lib: No such file or directory
snyderjm at snyderjm-laptop:/media/WRFDisk_$ cd include
bash: cd: include: No such file or directory
snyderjm at snyderjm-laptop:/media/WRFDisk_$ cd netcdf-4.1.2
snyderjm at snyderjm-laptop:/media/WRFDisk_/netcdf-4.1.2$ sudo make test
[sudo] password for snyderjm:
make: *** No rule to make target `test'.  Stop.
snyderjm at snyderjm-laptop:/media/WRFDisk_/netcdf-4.1.2$ make install
Making install in include
make[1]: Entering directory `/media/WRFDisk_/netcdf-4.1.2/include'
make[2]: Entering directory `/media/WRFDisk_/netcdf-4.1.2/include'
make[2]: Nothing to be done for `install-exec-am'.
test -z "/usr/local/include" || /bin/mkdir -p "/usr/local/include"
 /usr/bin/install -c -m 644 netcdf.h '/usr/local/include'
/usr/bin/install: cannot remove `/usr/local/include/netcdf.h': Permission
denied
make[2]: *** [install-includeHEADERS] Error 1
make[2]: Leaving directory `/media/WRFDisk_/netcdf-4.1.2/include'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/media/WRFDisk_/netcdf-4.1.2/include'
make: *** [install-recursive] Error 1


On Mon, Sep 12, 2011 at 10:23 PM, Jason Snyder <jmssnyder at ucdavis.edu>wrote:

> I am trying to install Netcdf and am encountering problems with the
> installation.  Can someone give me some guidelines on how to successfully
> install netcdf on UBUNTU?  I tried looking at this website:
>
> http://iprc.soest.hawaii.edu/users/xfu/tool/INSTALL.html
>
> I tried to run ./configure, then make, tne make test, then make install but
> to no avail.  Can someone give me some additional instruction on how to
> install the netcdf so that I can get an include and lib directory like I am
> supposed to be getting?
>
>
> Thanks,
>
> Jason
>
> --
> Jason Snyder
> Geography PhD
> UC Davis
>
>


-- 
Jason Snyder
Geography PhD
UC Davis
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.lugod.org/pipermail/vox-tech/attachments/20110912/2d20608c/attachment.htm 


More information about the vox-tech mailing list