[GRASSLIST:1592] hdf4 & gdal
Ivan Marchesini
marchesini at unipg.it
Wed Oct 29 04:21:36 EST 2003
Hi to all....
I have installed hdf 4.1r5 by rpm.
now I would want to reconfigure gdal to support hdf format, I tried
./configure --with-hdf4=/usr/include , where the rpm package putted tha hdf
files, but it doesn't work..., I think, because after the make I obtain:
_____________________________________________________________
..............
..............
make[2]: Entering directory `/home/ivan/Documents/GRASS/gdal-1.1.9/frmts/nitf'
g++ -c -I../.. -I../../port -I../../gcore -I../../ogr -Wall -fPIC -O2
nitfdataset.cpp -o nitfdataset.o
cp nitfdataset.o ../o
gcc -c -I../.. -I../../port -I../../gcore -I../../ogr -Wall -fPIC -O2
nitffile.c -o nitffile.o
cp nitffile.o ../o
gcc -c -I../.. -I../../port -I../../gcore -I../../ogr -Wall -fPIC -O2
nitfimage.c -o nitfimage.o
cp nitfimage.o ../o
make[2]: Leaving directory `/home/ivan/Documents/GRASS/gdal-1.1.9/frmts/nitf'
make[2]: Entering directory `/home/ivan/Documents/GRASS/gdal-1.1.9/frmts/bmp'
g++ -c -I../.. -I../../port -I../../gcore -I../../ogr -Wall -fPIC -O2
bmpdataset.cpp -o bmpdataset.o
cp bmpdataset.o ../o
make[2]: Leaving directory `/home/ivan/Documents/GRASS/gdal-1.1.9/frmts/bmp'
make[2]: Entering directory `/home/ivan/Documents/GRASS/gdal-1.1.9/frmts/hdf4'
g++ -c -I../.. -I../../port -I../../gcore -I../../ogr -Wall -fPIC -O2
hdf4dataset.cpp -o hdf4dataset.o
In file included from hdf4dataset.cpp:109:
/usr/include/mfhdf.h:25:20: netcdf.h: No such file or directory
make[2]: *** [hdf4dataset.o] Error 1
make[2]: Leaving directory `/home/ivan/Documents/GRASS/gdal-1.1.9/frmts/hdf4'
make[1]: *** [sub-libs] Error 1
make[1]: Leaving directory `/home/ivan/Documents/GRASS/gdal-1.1.9/frmts'
make: *** [frmts-target] Error 2
_________________________________________________________________
instead, if I use ./configure without option I don't obtain errors...
so I think that the problem is in the option.....
can someone help me???
thank you very much ......
--
Ivan Marchesini
University of Perugia
Italy
More information about the grass-user
mailing list