Jesus Loves GRASS

Technical blog about GRASS/GIS,open source geoinformatics and MAPSERVER.

Thursday, November 30, 2006

Complete ./configure options for GRASS 6.2

The new GRASS 6.2 has been out for sometime and normally when I have to compile GRASS I need to type a HHUUUUGGEEEE command line to have everything that I need working.

Normally I put the command line in a file called setup.sh and then run it

./configure --with-postgres-includes=/usr/include/pgsql --with-cxx --with-mysql --with-mysql-includes=/usr/include/mysql --with-ffmpeg --with-ffmpeg-includes=/usr/local/include/ffmpeg –enable-largefile --with-readline --with-sqlite --with-gdal=/usr/local/bin/gdal-config

This works for my linux box (suse 10.1) and it will give

- Access to MySQL and PostGIS

- Create movies (mpeg)

- Use GDAL to acess files (after GRASS is intalled GDAL need to be recompiled)

- Enable readline (to go back on the commands)

- Things like enable-largefile and enable-cxx just look good :)

0 Comments:

Post a Comment

<< Home