AWeather/Install
From RHLUG
Contents |
[edit] Gentoo
On Gentoo, you can emerge AWeather using the gentoo-sunrise overlay
[edit] Manual installation
If your distribution doesn't provide a package, or you are interested in creating packages, the following instructions should be helpful.
These instructions will install RSL to /usr/ and AWeather to /usr/local/. If you wish to install them to different directories you may have to modify your LD_LIBRARY_PATH and/or PATH environment variables.
[edit] Dependencies
You'll need the following libraries installed, these will likely be available from your distributions package manager.
- jpeg (http://www.ijg.org/)
- hdf4 (http://hdf.ncsa.uiuc.edu/hdf4.html)
- libsoup >= 2.26 (http://www.gnome.org/)
- gtk+ >= 2.16 (http://www.gtk.org/)
- gtkglext (http://gtkglext.sourceforge.net/)
[edit] RSL
AWeather uses RSL (Radar Software Library) to access the Level II radar files. Note that there are several patches for RSL which are currently needed by AWeather.
wget ftp://trmm-fc.gsfc.nasa.gov/software/rsl-v1.40.tar.gz
for i in rsl-{automake,gzip,type_str,valgrind,warnings}.patch; do
wget -O $i "http://lug.rose-hulman.edu/git/?a=blob_plain;p=proj/aweather;f=opt/rsl/$i"
done
tar -xzf rsl-v1.40.tar.gz
cd rsl-v1.40
cat ../rsl-*.patch | patch -p1
libtoolize
aclocal
automake -a -c
autoconf
./configure --prefix=/usr/
make
sudo make install
[edit] AWeather
You will need to replace VERSION in the following commands with the latest version. See the News section for information about the latest releases.

