[vox-tech] [netCDF #QCY-964177]: netcdf - 4.0.1 problems

Carl Boettiger cboettig at gmail.com
Mon Mar 1 15:24:46 PST 2010


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?

The next command is usually make, sudo make install being third (just
putting it into the binaries).  That is, the command sequence is usually.

./configure
make
sudo make install

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:

sudo apt-get install netcdf-bin

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.

If that doesn't find anything, try enabling the "universe" repository

On Mon, Mar 1, 2010 at 3:18 PM, Jason Snyder <jmssnyder at ucdavis.edu> wrote:

> I did configure and install netcdf as you specified  using sudo:
>
> i.e.
>
> sudo ./configure
> sudo make install
>
> I also did make check and everything seems all right based on make check.
>
> is it because of lack of write access that I have for the directory
> /home/snyderjm/Desktop/netcdf-4.0.1?
>
> How do I obtain access to /usr/local?
>
> Also how do I access root directory since i have permission denied here.
>
>
> On Mon, Mar 1, 2010 at 2:31 PM, Unidata netCDF Support <
> support-netcdf at unidata.ucar.edu> wrote:
>
>> Jason-
>> The problem almost certainly is that you do not have
>> access to /usr/local.
>> You will need to do one of two things.
>> 1. configure and install netcdf using sudo or logged in as root.
>> 2. choose a different location to install netcdf; one for which you
>>   have write access. You specify that by saying
>>   ./configure -prefix=<path to install directory>
>>
>> =Dennis Heimbigner
>>
>>
>> Ticket Details
>> ===================
>> Ticket ID: QCY-964177
>> Department: Support netCDF
>> Priority: Normal
>> Status: Open
>>
>>
>
> _______________________________________________
> vox-tech mailing list
> vox-tech at lists.lugod.org
> http://lists.lugod.org/mailman/listinfo/vox-tech
>
>


-- 
Carl Boettiger
Population Biology, UC Davis
http://two.ucdavis.edu/~cboettig
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.lugod.org/pipermail/vox-tech/attachments/20100301/fc019405/attachment-0001.htm 


More information about the vox-tech mailing list