[Gdal-dev] Compliation error with 1.2.0 on Linux

Susumu TANIMURA stanimura-ngs at umin.ac.jp
Sat Mar 13 19:10:46 EST 2004


Hi Frank,

Thank you for reply. 

> It would appear you have an older gdal.h in /usr/local/include and
> that is being used in preference to the copy in the ../gcore.  Hmm,
> when I build the include path looks like " -I../port -I../gcore
> -I../ogr -I../port".  I wonder how all that extra stuff about
> -I/usr/include and so forth got in there.  Anything special about
> how you configured?

There is gdal.h v 1.70 in /usr/include and gdal.h v 1.77 in
/home/hoge/rpm/BUILD/gdal-1.2.0/gcore/ in which I tried build rpm
package of gdal 1.2.0.

Here are my configure options in log message.

+ ./configure i386-vine-linux --prefix=/usr --exec-prefix=/usr
--bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc
--datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib
--libexecdir=/usr/libexec --localstatedir=/var/lib
--sharedstatedir=/usr/share --mandir=/usr/share/man
--infodir=/usr/info --with-libz=/usr/include --with-png=/usr/include
--with-gif=/usr/include --with-geotiff=internal
--with-jpeg=/usr/include --with-libtiff=internal
--with--pymodir=/usr/lib/python2.1/site-packages

The versions of external libraries are followed.
$ rpm -q lib{png,tiff,ungif,jpeg}-devel zlib-devel
libpng-devel-1.0.12-0vl3
libtiff-devel-3.5.7-6vl1
libungif-devel-4.1.0-9vl1
libjpeg-devel-6b-15vl1
zlib-devel-1.1.4-0vl2

If further information needed, please tell me.




More information about the Gdal-dev mailing list