[GRASS5] 6.1 weekly binaries

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

Hamish,

On Wed, Sep 28, 2005 at 02:44:12PM +1200, Hamish wrote:

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

?

Done as suggested.

--with-gdal automatically looks in /usr/local/bin/?

I dunno...

fftw, motif don't touch many modules so ok without?

Yes.

Ok to leave in Postgres & MySQL, will only fail if you try to access?

Again, I dunno...

--with-libs=/usr/local/lib redundant/wrong for a generic system?

Maybe, but works on our server.

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

I agree. This should be (probably) fixed in configure.in.

Markus