<a href="https://help.ubuntu.com/community/Repositories/Ubuntu">https://help.ubuntu.com/community/Repositories/Ubuntu</a><br><br><div class="gmail_quote">On Mon, Mar 1, 2010 at 3:28 PM, Jason Snyder <span dir="ltr"><<a href="mailto:jmssnyder@ucdavis.edu">jmssnyder@ucdavis.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">how do I enable the "universe" repository?<div><div></div><div class="h5"><br>
<br><br><div class="gmail_quote">On Mon, Mar 1, 2010 at 3:24 PM, Carl Boettiger <span dir="ltr"><<a href="mailto:cboettig@gmail.com" target="_blank">cboettig@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
You shouldn't have to configure using sudo if the netcdf file is in your home directory, which it looks like it is, since it is on your desktop. You should have write access to that as an ordinary user. That said, no running it with sudo shouldn't hurt -- presumably that command worked without error and hence you have root access?<br>
<br>The next command is usually make, sudo make install being third (just putting it into the binaries). That is, the command sequence is usually.<br><br>./configure<br>make<br>sudo make install<br><br>All from the directory you specify. This compiles the package from source, which can be tricky to get to work. You mentioned you are on ubuntu. Have you tried simply issuing:<br>
<br>sudo apt-get install netcdf-bin<br><br>at the command-line instead? That should install the software, automatically resolve dependencies you might be missing, and be easier to keep it up to date.<br><br>If that doesn't find anything, try enabling the "universe" repository <br>
<br><div class="gmail_quote"><div><div></div><div>On Mon, Mar 1, 2010 at 3:18 PM, Jason Snyder <span dir="ltr"><<a href="mailto:jmssnyder@ucdavis.edu" target="_blank">jmssnyder@ucdavis.edu</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div>
I did configure and install netcdf as you specified using sudo:<br><br>i.e.<br><br>sudo ./configure<br>sudo make install<br><br>I also did make check and everything seems all right based on make check.<br><br>is it because of lack of write access that I have for the directory /home/snyderjm/Desktop/netcdf-4.0.1?<br>
<br>How do I obtain access to /usr/local?<br><br>Also how do I access root directory since i have permission denied here.<div><div></div><div><br><br><div class="gmail_quote">On Mon, Mar 1, 2010 at 2:31 PM, Unidata netCDF Support <span dir="ltr"><<a href="mailto:support-netcdf@unidata.ucar.edu" target="_blank">support-netcdf@unidata.ucar.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Jason-<br>
The problem almost certainly is that you do not have<br>
access to /usr/local.<br>
You will need to do one of two things.<br>
1. configure and install netcdf using sudo or logged in as root.<br>
2. choose a different location to install netcdf; one for which you<br>
have write access. You specify that by saying<br>
./configure -prefix=<path to install directory><br>
<br>
=Dennis Heimbigner<br>
<br>
<br>
Ticket Details<br>
===================<br>
Ticket ID: QCY-964177<br>
Department: Support netCDF<br>
Priority: Normal<br>
Status: Open<br>
<br>
</blockquote></div><br>
</div></div><br></div></div><div>_______________________________________________<br>
vox-tech mailing list<br>
<a href="mailto:vox-tech@lists.lugod.org" target="_blank">vox-tech@lists.lugod.org</a><br>
<a href="http://lists.lugod.org/mailman/listinfo/vox-tech" target="_blank">http://lists.lugod.org/mailman/listinfo/vox-tech</a><br>
<br></div></blockquote></div><div><div></div><div><br><br clear="all"><br>-- <br>Carl Boettiger<br>Population Biology, UC Davis<br><a href="http://two.ucdavis.edu/%7Ecboettig" target="_blank">http://two.ucdavis.edu/~cboettig</a><br>
</div></div><br>_______________________________________________<br>
vox-tech mailing list<br>
<a href="mailto:vox-tech@lists.lugod.org" target="_blank">vox-tech@lists.lugod.org</a><br>
<a href="http://lists.lugod.org/mailman/listinfo/vox-tech" target="_blank">http://lists.lugod.org/mailman/listinfo/vox-tech</a><br>
<br></blockquote></div><br>
</div></div><br>_______________________________________________<br>
vox-tech mailing list<br>
<a href="mailto:vox-tech@lists.lugod.org">vox-tech@lists.lugod.org</a><br>
<a href="http://lists.lugod.org/mailman/listinfo/vox-tech" target="_blank">http://lists.lugod.org/mailman/listinfo/vox-tech</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Carl Boettiger<br>Population Biology, UC Davis<br><a href="http://two.ucdavis.edu/~cboettig">http://two.ucdavis.edu/~cboettig</a><br>