Compiling wgrib2 for grads-2.0

Oliver König oliver at WINDFINDER.COM
Fri Feb 8 07:22:31 EST 2008


Hello,
I am trying to build wgrib2 on my AMD64 computer with Debian/GNU Linux Lenny
(64bit). Here is what I did 5 minutes ago:

$ wget ftp://ftp.cpc.ncep.noaa.gov/wd51we/wgrib2/wgrib2.tgz
$ cp g2clib-1.0.5/seekgb.c grib2/g2clib-1.0.5/
$ cd grib2/
$ make -f makefile_no_netcdf
make: *** No rule to make target `jasper-1.900.1.zip', needed by
`jasper-1.900.1'.  Stop

There is a jasper-1.900.1.tar.gz but no jasper-1.900.1.zip

Looks like there is an error in  makefile_no_netcdf.

Wrong code:
$j:     $j.zip
        unzip $j.zip

Needs to be replaced by.
$j:
        cp $j.tar.gz tmp.tar.gz
        gunzip tmp.tar.gz
        tar -xvf tmp.tar
        rm tmp.tar

Regards,

--
Oliver König



More information about the gradsusr mailing list