[Gdal-dev] GDAL 1.2.4 Build problems on RH7.3 linux

Lars Holm Loldrup LLO at CARLBRO.DK
Thu Nov 18 13:59:32 EST 2004


Trying to build a 1.2.4 version, with the options:

./configure 
 --prefix=$installdir 
 --without-python 
 --with-xerces=$installdir 
 --with-pg=/usr/local/pgsql/bin/pg_config 
 --with-geos=$installdir/bin/geos-config 
 --with-static-proj4=$installdir 
 --with-png=$installdir


The script ends up with following output:

..
..
config.status: creating GDALmake.opt
sed: file ./confstatnVtLBi/subs-3.sed line 15: Unterminated `s' command
config.status: creating port/cpl_config.h
config.status: port/cpl_config.h is unchanged

GDAL is now configured for i686-pc-linux-gnu

  Installation directory:    /usr/local/mapserver/v44_b2_CBP_1a
  C compiler:                gcc -O2
  C++ compiler:              g++ -O2

  LIBTOOL support:           yes

  LIBZ support:              external
  GRASS support:             no
  CFITSIO support:           no
  NETCDF support:            no
  LIBPNG support:            external
  LIBTIFF support:           internal
  LIBGEOTIFF support:        internal
  LIBJPEG support:           external
  LIBGIF support:            external
  OGDI support:              no
  HDF4 support:              no
  KAKADU support:            no
  JASPER support:            no
  ECW support:               no
  MrSID support:             no
  POSTGRESQL support:        yes
  MySQL support:             yes
  XERCES support:            yes
  ODBC support:              no
  OCI support:               no
  DODS support:              no
  SQLite support:            no
  GEOS support:              yes

  Statically link PROJ.4:    yes

  Python:                    no

  enable OGR building:       yes


GDALmake.opt is empty, so the build fails.


GDAL 1.2.3 builds fine with the same configure options.

The build system is a RedHat 7.3 with gcc 2.96 and binutils-2.11.93.0.2-11

Also tried many options to configure including:

./configure 
 --prefix=$installdir 
 --without-python 
 --with-xerces 
 --with-xerces-inc=$installdir/include 
 --with-xerces-lib='-L$installdir/lib -lxerces-c -lpthread' 
 --with-pg=/usr/local/pgsql/bin/pg_config 
 --with-geos=$installdir/bin/geos-config 
 --with-static-proj4=$installdir 
 --with-png=$installdir
 
 With the same results (also works fine with 1.2.3)
 
 
Regards Lars Loldrup





More information about the Gdal-dev mailing list