[GRASS5] 6.1 weekly binaries

Hamish hamish_nospam at yahoo.com
Tue Sep 27 22:44:12 EDT 2005


In an effort to make the weekly 6.1 snapshot linux binaries easier to 
install on a wider range of computers, should this:


CFLAGS="-O3" LDFLAGS="-s" ./configure \
  --with-libs=/usr/local/lib \
  --with-gdal=/usr/local/bin/gdal-config \
  --with-postgres-includes=/usr/include/pgsql --with-postgres-lib=/usr/lib \
  --with-mysql-includes=/usr/include/mysql --with-mysql-libs=/usr/lib/mysql \
  --with-fftw \
  --with-proj \
  --with-cxx \
  --with-motif \
  --with-motif-includes=/usr/X11R6/LessTif/Motif1.2/include \
  --with-motif-libs=/usr/X11R6/LessTif/Motif1.2/lib \
  --with-freetype --with-freetype-includes=/usr/include/freetype2 \
  --with-glw \
  --with-nls


be changed to this:

CFLAGS="-O2" LDFLAGS="-s" ./configure \
  --with-libs=/usr/local/lib \
  --with-cxx \
  --with-freetype --with-freetype-includes=/usr/include/freetype2 \
  --with-glw \
  --with-nls

?

--with-gdal automatically looks in /usr/local/bin/?
fftw, motif don't touch many modules so ok without?
Ok to leave in Postgres & MySQL, will only fail if you try to access?
--with-libs=/usr/local/lib redundant/wrong for a generic system?

Should ./configure automatically check /usr/include/freetype2? It seems 
like a very common place among several distributions.



Hamish




More information about the grass-dev mailing list