[Gfoss] RATMAN errore compilazione

Markus Neteler neteler a osgeo.org
Mar 3 Mar 2009 12:33:52 CET


On Tue, Mar 3, 2009 at 11:49 AM, Luca Delucchi <lucadeluge a gmail.com> wrote:
> Ecco a voi il primo quesito su RATMAN sono alla compilazione di ratman
> vera e propria ma mi viene restituito un errore sulle librerie gdal;
> queste sono installate comprese le dev infatti il file mancante č
> situato in /usr/include/gdal/gdal_priv.h, quando faccio il make ho
> provato anche l'opzione -I ma il risultato non cambia
>
> gis a srvcavit:~/Desktop/ratman/ratman$ make
> cd src/ && make -f Makefile
> make[1]: Entering directory `/home/gis/Desktop/ratman/ratman/src'
> cd vic/ && make -f Makefile
> make[2]: Entering directory `/home/gis/Desktop/ratman/ratman/src/vic'
> cd geo/ && make -f Makefile
> make[3]: Entering directory `/home/gis/Desktop/ratman/ratman/src/vic/geo'
> cd base/ && make -f Makefile
> make[4]: Entering directory `/home/gis/Desktop/ratman/ratman/src/vic/geo/base'
> make[4]: Nothing to be done for `first'.
> make[4]: Leaving directory `/home/gis/Desktop/ratman/ratman/src/vic/geo/base'
> cd srs/ && /usr/bin/qmake srs.pro -unix -o Makefile
> Project MESSAGE: Configured for release build
> Project MESSAGE: DEFAULT configured
> Project MESSAGE:  PREFIX=/usr/local
> Project MESSAGE:  INCLUDE_DIR=/usr/local/include
> Project MESSAGE:  BIN_DIR=/usr/local/bin
> Project MESSAGE:  LIB_DIR=/usr/local/lib
> Project MESSAGE:  SHARE_DIR=/usr/local/share
> Project MESSAGE:  DOC_DIR=/usr/local/share/doc
> Project MESSAGE: CONFIG= lex yacc warn_on uic resources qt warn_on
> incremental link_prl exceptions no_mocdepend stl qt_no_framework
> staticlib warn_on sse sl thread system-png system-zlib lib32 release
> system-png system-zlib xvic_gdal xvic_sl
> Project MESSAGE: INCLUDE PATH= ./ /home/gis/Desktop/ratman/ratman/src/
> Project MESSAGE: ------- XVIC Configuration
> Project MESSAGE: Configured for xvic_sl
> Project ERROR: Cannot find GDAL_DIR/include/gdal_priv.h -- please set
> GDAL_DIR env var
> make[3]: *** [srs//Makefile] Error 2
> make[3]: Leaving directory `/home/gis/Desktop/ratman/ratman/src/vic/geo'
> make[2]: *** [sub-geo-make_default] Error 2
> make[2]: Leaving directory `/home/gis/Desktop/ratman/ratman/src/vic'
> make[1]: *** [sub-vic-make_default] Error 2
> make[1]: Leaving directory `/home/gis/Desktop/ratman/ratman/src'
> make: *** [sub-src-make_default] Error 2

E' un problema su Debian dove gli "include" files stanno in una
sottocartella gdal/. Anche Alessandro Frigeri aveva questo problema.
Bisognerebbe modificare il por/Makefile per anche cercare nella
cartella dove Debian mette gli includes.

Markus


Maggiori informazioni sulla lista Gfoss