I get the following information when I try the make install:<br><br>snyderjm@snyderjm-laptop:/media/WRFDisk_$ cd lib<br>bash: cd: lib: No such file or directory<br>snyderjm@snyderjm-laptop:/media/WRFDisk_$ cd include<br>bash: cd: include: No such file or directory<br>
snyderjm@snyderjm-laptop:/media/WRFDisk_$ cd netcdf-4.1.2<br>snyderjm@snyderjm-laptop:/media/WRFDisk_/netcdf-4.1.2$ sudo make test<br>[sudo] password for snyderjm: <br>make: *** No rule to make target `test'. Stop.<br>
snyderjm@snyderjm-laptop:/media/WRFDisk_/netcdf-4.1.2$ make install<br>Making install in include<br>make[1]: Entering directory `/media/WRFDisk_/netcdf-4.1.2/include'<br>make[2]: Entering directory `/media/WRFDisk_/netcdf-4.1.2/include'<br>
make[2]: Nothing to be done for `install-exec-am'.<br>test -z "/usr/local/include" || /bin/mkdir -p "/usr/local/include"<br> /usr/bin/install -c -m 644 netcdf.h '/usr/local/include'<br>/usr/bin/install: cannot remove `/usr/local/include/netcdf.h': Permission denied<br>
make[2]: *** [install-includeHEADERS] Error 1<br>make[2]: Leaving directory `/media/WRFDisk_/netcdf-4.1.2/include'<br>make[1]: *** [install-am] Error 2<br>make[1]: Leaving directory `/media/WRFDisk_/netcdf-4.1.2/include'<br>
make: *** [install-recursive] Error 1<br><br><br><div class="gmail_quote">On Mon, Sep 12, 2011 at 10:23 PM, Jason Snyder <span dir="ltr"><<a href="mailto:jmssnyder@ucdavis.edu">jmssnyder@ucdavis.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">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:<br>
<br><a href="http://iprc.soest.hawaii.edu/users/xfu/tool/INSTALL.html" target="_blank">http://iprc.soest.hawaii.edu/users/xfu/tool/INSTALL.html</a><br>
<br>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?<br>
<br><br>Thanks,<br><br>Jason<br clear="all"><font color="#888888"><br>-- <br><div>Jason Snyder</div>
<div>Geography PhD</div>
<div>UC Davis</div><br>
</font></blockquote></div><br><br clear="all"><br>-- <br><div>Jason Snyder</div>
<div>Geography PhD</div>
<div>UC Davis</div><br>