AWeather/Install

From RHLUG

Jump to: navigation, search

Contents

[edit] Gentoo

On Gentoo, you can emerge AWeather using the gentoo-sunrise overlay

emerge layman layman -a sunrise emerge aweather

[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.

[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.

wget http://lug.rose-hulman.edu/proj/aweather/aweather-VERSION.tar.gz tar -xzf aweather-VERSION.tar.gz cd aweather-VERSION ./configure make sudo make install
Personal tools