Wgrib2 for FreeBSD

Paolo Ciraci info at PAOLOCIRACI.IT
Tue Feb 19 14:05:34 EST 2008


Wesley Ebisuzaki wrote:
>    Paulo found a similar error when trying to link in the included
> libpng.  On examination of g2clib-1.0.5/makefile_all_libs,
> it appears the the makefile_all_libs is using the wrong png.h
> (/usr/include rather than ../libpng-1.2.23/).  Try changing
> g2clib-1.0.5/makefile_all_libs: change the 1st INC=..
>
> --------- revised INC=....
> #  In addition, INC must include all directories where the above
> #  mentioned include files can be found.
> DEFS=-DUSE_JPEG2000 -DUSE_PNG
> INC=-I../jasper-1.900.1/src/libjasper/include -I../libpng-1.2.23
> -I../zlib-1.2.3  -I/usr/include     <<<< revised line <<<<<<<
> ----------------------------
>
>          Wesley Ebisuzaki

Thanks Wesley for your not but it did not solved the problem.
As suggested I've changed the INC line in g2clib-1.0.5/makefile_all_libs
and the following is the final part of the compilation (FreeBSD 6.1):

 > ...
 > ...
 > ...
 > *** Testing nc_set_default_format ... ok
 >
 > *** Total number of failures: 0
 > *** nc_test SUCCESS!!!
 > PASS: nc_test
 > ==================
 > All 2 tests passed
 > ==================
 > cd wgrib2; make -f makefile_all_libs
 > Error expanding embedded variable.
 > *** Error code 2
 >
 > Stop in /usr/home/grib2

Any other ideas, suggestions?
Thanks you and best regards.

Dr. Paolo Ciraci
info at paolociraci.it



More information about the gradsusr mailing list