Re: [vox-tech] Problems installing and running UNIX based programs

2010-02-28 Thread Carl Boettiger
netcdf-bin is in the ubuntu universe repository.  See if you can't install
it with
sudo apt-get install netcdf-bin

should be easier than compiling the source.
-Carl

On Sun, Feb 28, 2010 at 1:43 PM, Eric Lin wrote:

> On Sun, Feb 28, 2010 at 01:32:58PM -0800, Jason Snyder wrote:
> > I am having problems with installing programs on LINUX ubuntu 9.10.  That
> > includes having problems setting environments using setenv.  Is it
> possible
> > to have some one go over the program webpages to help me install
> > some of these programs?
> >
> > One such program is called GrADS on the website for this is:
> >
> >
> > http://www.iges.org/grads/downloads.html
> >
> > Based on this website can you help give me guidance on how to install
> > GrADS?  This would help be to able to install other similar programs.
>
> The file on the GrADS website linked from "ubuntu-8.04 (32-bit)" is just
> an archive of binaries. Just copy the files to ~/bin, /usr/bin, or
> /usr/local/bin, and they'll be fine.
>
> >
> > Another program I tried installing is NetCDF:
> >
> > http://www.unidata.ucar.edu/software/netcdf/
> >
> > when I tried running the install program make install I got the following
> > message:
> >
> > snyde...@snyderjm-laptop:~/Desktop/netcdf-4.0.1$ make install
> > Making install in f90
> > make[1]: Entering directory `/home/snyderjm/Desktop/netcdf-4.0.1/f90'
> > make  install-am
> > make[2]: Entering directory `/home/snyderjm/Desktop/netcdf-4.0.1/f90'
> > make[3]: Entering directory `/home/snyderjm/Desktop/netcdf-4.0.1/f90'
> > make[3]: Nothing to be done for `install-exec-am'.
> > test -z "/usr/local/share/man/man3" || /bin/mkdir -p
> > "/usr/local/share/man/man3"
> > /bin/mkdir: cannot create directory `/usr/local/share/man/man3':
> Permission
> > denied
> > make[3]: *** [install-man3] Error 1
> > make[3]: Leaving directory `/home/snyderjm/Desktop/netcdf-4.0.1/f90'
> > make[2]: *** [install-am] Error 2
> > make[2]: Leaving directory `/home/snyderjm/Desktop/netcdf-4.0.1/f90'
> > make[1]: *** [install] Error 2
> > make[1]: Leaving directory `/home/snyderjm/Desktop/netcdf-4.0.1/f90'
> > make: *** [install-recursive] Error 1
>
> Try running this is as root or with superuser powers (sudo make install).
>
> >
> >
> > Thanks,
> >
> > Jason
>
> > ___
> > vox-tech mailing list
> > vox-tech@lists.lugod.org
> > http://lists.lugod.org/mailman/listinfo/vox-tech
>
> -Eric
> Go Team USA!
> ___
> vox-tech mailing list
> vox-tech@lists.lugod.org
> http://lists.lugod.org/mailman/listinfo/vox-tech
>



-- 
Carl Boettiger
Population Biology, UC Davis
http://two.ucdavis.edu/~cboettig
___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] Problems installing and running UNIX based programs

2010-02-28 Thread Eric Lin
On Sun, Feb 28, 2010 at 01:32:58PM -0800, Jason Snyder wrote:
> I am having problems with installing programs on LINUX ubuntu 9.10.  That
> includes having problems setting environments using setenv.  Is it possible
> to have some one go over the program webpages to help me install
> some of these programs?
> 
> One such program is called GrADS on the website for this is:
> 
> 
> http://www.iges.org/grads/downloads.html
> 
> Based on this website can you help give me guidance on how to install
> GrADS?  This would help be to able to install other similar programs.

The file on the GrADS website linked from "ubuntu-8.04 (32-bit)" is just
an archive of binaries. Just copy the files to ~/bin, /usr/bin, or
/usr/local/bin, and they'll be fine.

> 
> Another program I tried installing is NetCDF:
> 
> http://www.unidata.ucar.edu/software/netcdf/
> 
> when I tried running the install program make install I got the following
> message:
> 
> snyde...@snyderjm-laptop:~/Desktop/netcdf-4.0.1$ make install
> Making install in f90
> make[1]: Entering directory `/home/snyderjm/Desktop/netcdf-4.0.1/f90'
> make  install-am
> make[2]: Entering directory `/home/snyderjm/Desktop/netcdf-4.0.1/f90'
> make[3]: Entering directory `/home/snyderjm/Desktop/netcdf-4.0.1/f90'
> make[3]: Nothing to be done for `install-exec-am'.
> test -z "/usr/local/share/man/man3" || /bin/mkdir -p
> "/usr/local/share/man/man3"
> /bin/mkdir: cannot create directory `/usr/local/share/man/man3': Permission
> denied
> make[3]: *** [install-man3] Error 1
> make[3]: Leaving directory `/home/snyderjm/Desktop/netcdf-4.0.1/f90'
> make[2]: *** [install-am] Error 2
> make[2]: Leaving directory `/home/snyderjm/Desktop/netcdf-4.0.1/f90'
> make[1]: *** [install] Error 2
> make[1]: Leaving directory `/home/snyderjm/Desktop/netcdf-4.0.1/f90'
> make: *** [install-recursive] Error 1

Try running this is as root or with superuser powers (sudo make install).

> 
> 
> Thanks,
> 
> Jason

> ___
> vox-tech mailing list
> vox-tech@lists.lugod.org
> http://lists.lugod.org/mailman/listinfo/vox-tech

-Eric
Go Team USA!
___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] Problems installing and running UNIX based programs

2010-02-28 Thread Alex Mandel
Jason Snyder wrote:
> I am having problems with installing programs on LINUX ubuntu 9.10.  That
> includes having problems setting environments using setenv.  Is it possible
> to have some one go over the program webpages to help me install
> some of these programs?
> 
> One such program is called GrADS on the website for this is:
> 
> 
> http://www.iges.org/grads/downloads.html
> 
> Based on this website can you help give me guidance on how to install
> GrADS?  This would help be to able to install other similar programs.
> 
> Another program I tried installing is NetCDF:
> 
> http://www.unidata.ucar.edu/software/netcdf/
> 
> when I tried running the install program make install I got the following
> message:
> 
> snyde...@snyderjm-laptop:~/Desktop/netcdf-4.0.1$ make install
> Making install in f90
> make[1]: Entering directory `/home/snyderjm/Desktop/netcdf-4.0.1/f90'
> make  install-am
> make[2]: Entering directory `/home/snyderjm/Desktop/netcdf-4.0.1/f90'
> make[3]: Entering directory `/home/snyderjm/Desktop/netcdf-4.0.1/f90'
> make[3]: Nothing to be done for `install-exec-am'.
> test -z "/usr/local/share/man/man3" || /bin/mkdir -p
> "/usr/local/share/man/man3"
> /bin/mkdir: cannot create directory `/usr/local/share/man/man3': Permission
> denied
> make[3]: *** [install-man3] Error 1
> make[3]: Leaving directory `/home/snyderjm/Desktop/netcdf-4.0.1/f90'
> make[2]: *** [install-am] Error 2
> make[2]: Leaving directory `/home/snyderjm/Desktop/netcdf-4.0.1/f90'
> make[1]: *** [install] Error 2
> make[1]: Leaving directory `/home/snyderjm/Desktop/netcdf-4.0.1/f90'
> make: *** [install-recursive] Error 1
> 
> 
> Thanks,
> 
> Jason
> 
Netcdf

sudo make install
(This command requires permission to write to /usr/local so you need to
use sudo)


If version 3.6 works for you though just use it from the repositories.
sudo apt-get install netcdf-bin
The advantage is that you don't have to worry about it, and the python
bindings are also available.

As for GrADS
./configure
make
sudo make install

should work...

Though for all cases where you use make install I highly suggest
checkinstall (you need to install it first)
sudo checkinstall
This creates a deb package specific to your machine and the package gets
installed via the package manager which keeps the system cleaner for
upgrades later.

Alex
___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech