View Full Version : weather forecasting sw -- zyGrib

22nd November 2012, 09:32 PM
zyGrib is graphical weather forecasting software which uses grib format data from
NOAA to provide weather synopsis and forecasting.

Using zyGrib you can download the latest weather forecast and by running zyGrib
see a graphical weather simulation for the next few days.

I was running f17 x86_64 and these instructions should work on f17 .
On f18 qwt should already be version 6.02.1-2, unfortunatly zyGrib is still version five and
has the problem with the buttons.

The current version of zyGrib in the f17 repositories has blank buttons on the application screen
which has been the case at least since f16.
The problem is qwt 5 as the current zyGrib tarball requires qwt 6

I removed both qwt 5 and zyGrib 5 from my system without any dependency issues.

su -c 'yum erase qwt-5.2.2-6.fc17.x86_64 '

In order to proceed you need to have rpmdevtools installed as qwt 6 will be compiled from
a source rpm


After downloading the source rpm install it with rpm

su -c 'rpm -ivh qwt-6.0.1-2.fc17.src.rpm'

cd ~/rpmbuild/SPECS this assumes you installed rpmdevtools and ran rpmdev-setuptree

there should be a file in the directory qwt.spec, if all OK run the following command

rpmbuild -ba --target x86_64 qwt.spec

cd ~/rpmbuild/RPMS/x86_64

these files should be present in the RPMS sub dirs


install qwt and qwt-devel

su -c 'rpm -ivh qwt-6.0.1-2.fc17.x86_64.rpm qwt-devel-6.0.1-2.fc17.x86_64.rpm'

ok now we are ready to download the zyGrib tarball


it assumed at this point that gzip and tar xvf are understood.

There are two Makefiles of interest to compile zyGrib

The Makefile in the top level zyGrib directory assumes qmake but fedora uses qmake-qt4
in /usr/bin/qmake-qt4

Although I could have created a symbolic link in /usr/bin I chose instead to change the Makefile

edit the makefile in vim and change qmake to qmake-qt4 and save


I also changed the line INSTALLDIR

from the zyGrib source directory cd to the src directory and edit the Makefile
find the line near the top QMAKE
and change /usr/bin/qmake to /usr/bin/qmake-qt4
save the changes

cd .. to the top level dir and run make
zyGrib should compile and the application icons are no longer blank

if the compile fails on some header files something.h then maybe qwt-devel is not