[Gdal-dev] gdal install errors
Yves Jacolin
yjacolin at free.fr
Thu Nov 9 10:05:39 EST 2006
Le Jeudi 9 Novembre 2006 15:57, Martin Wegmann a écrit :
> Hello,
>
> I tried on a fresh debian testing system to install the official gdal 1.3.2
> source code and the cvs code (today), both resulted in the error messages
> below when executing make.
>
> Any hint, how to fix it is appreciated.
>
> regards, Martin
>
> ./configure --with-grass=/usr/local/grass-6.3.cvs/
> [...]
> GDAL is now configured for i686-pc-linux-gnu
>
> Installation directory: /usr/local
> C compiler: gcc -O2
> C++ compiler: g++ -O2
>
> LIBTOOL support: yes
>
> LIBZ support: external
> GRASS support: grass57+
> CFITSIO support: no
> PCRaster support: internal
> NETCDF support: no
> LIBPNG support: internal
> LIBTIFF support: internal
> LIBGEOTIFF support: internal
> LIBJPEG support: internal
> LIBGIF support: internal
> OGDI support: no
> HDF4 support: no
> HDF5 support: no
> KAKADU support: no
> JASPER support: no
> ECW support: no
> MrSID support: no
> CURL support (wcs): no
> POSTGRESQL support: yes
> MySQL support: no
> XERCES support: no
> ODBC support: no
> PGEO support: no
> OCI support: no
> SDE support: no
> DODS support: no
> SQLite support: no
> DWGdirect support no
> PANORAMA GIS support: no
> GEOS support:
>
> Statically link PROJ.4: no
>
> Traditional Python: yes
> NG SWIG Bindings:
>
> enable OGR building: yes
>
>
> #make
> [...]
>
> make[2]: Nothing to be done for `install-obj'.
> make[2]: Leaving directory
> `/home/baliola/software/gdal_cvs/gdal/frmts/pcraster'
> make -C grass install-obj
> make[2]: Entering directory
> `/home/baliola/software/gdal_cvs/gdal/frmts/grass' /bin/sh
> /home/baliola/software/gdal_cvs/gdal/libtool --mode=compile g++ -Wall -O2
> -I/usr/local/grass-6.3.cvs//include
> -I/home/baliola/software/gdal_cvs/gdal/port
> -I/home/baliola/software/gdal_cvs/gdal/gcore
> -I/home/baliola/software/gdal_cvs/gdal/alg
> -I/home/baliola/software/gdal_cvs/gdal/ogr
> -I/home/baliola/software/gdal_cvs/gdal/ogr/ogrsf_frmts -DOGR_ENABLED
> -I/home/baliola/software/gdal_cvs/gdal/port -c -o ../o/grass57dataset.o
> grass57dataset.cpp
>
> g++ -Wall -O2 -I/usr/local/grass-6.3.cvs//include
> -I/home/baliola/software/gdal_cvs/gdal/port
> -I/home/baliola/software/gdal_cvs/gdal/gcore
> -I/home/baliola/software/gdal_cvs/gdal/alg
> -I/home/baliola/software/gdal_cvs/gdal/ogr
> -I/home/baliola/software/gdal_cvs/gdal/ogr/ogrsf_frmts -DOGR_ENABLED
> -I/home/baliola/software/gdal_cvs/gdal/port -c grass57dataset.cpp -fPIC
> -DPIC -o ../o/.libs/grass57dataset.o
> grass57dataset.cpp: In static member function 'static GDALDataset*
> GRASSDataset::Open(GDALOpenInfo*)':
> grass57dataset.cpp:948: error: 'GPJ_grass_to_wkt' was not declared in this
> scope
> make[2]: *** [../o/grass57dataset.o] Error 1
> make[2]: Leaving directory
> `/home/baliola/software/gdal_cvs/gdal/frmts/grass' make[1]: ***
> [grass-install-obj] Error 2
> make[1]: Leaving directory `/home/baliola/software/gdal_cvs/gdal/frmts'
> make: *** [frmts-target] Error 2
> _______________________________________________
> Gdal-dev mailing list
> Gdal-dev at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/gdal-dev
Hi,
In the installation doc about grass, it is wrote to
1/ build gdal with the --without-grass flag
2/ build Grass
3/ build gdal-grass
I advice you to follow the documentation.
Regards,
Y.
--
Yves Jacolin
---
http://yjacolin.gloobe.org
More information about the Gdal-dev
mailing list