[2008.9] Compiling GDAL

Radek Bartoň blackhex at post.cz
Mon Oct 13 16:48:40 CEST 2008


Hello.

I'm trying to compile GDAL [1] library as a prerequisity for GRASS GIS package 
using OpenMoko toolchain [2] but I'm getting following error message of 
missing some autoconf macros.

NOTE: Executing 
autoreconf --verbose --install --force -I /root/test/gdal/gdal/m4/ -I/usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/usr/share/aclocal-1.10 -I /usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/usr/share/aclocal
autoreconf-2.63: Entering directory `.'
autoreconf-2.63: configure.in: not using Gettext
autoreconf-2.63: running: aclocal --force
configure.in:2272: warning: macro `AM_INIT_PYEXEC_MOD' not found in library
configure.in:2273: warning: macro `AM_CHECK_NUMPY' not found in library
autoreconf-2.63: configure.in: tracing
autoreconf-2.63: running: libtoolize --copy --force
Using `AC_PROG_RANLIB' is rendered obsolete by `AC_PROG_LIBTOOL'
You should update your `aclocal.m4' by running aclocal.
configure.in:2272: warning: macro `AM_INIT_PYEXEC_MOD' not found in library
configure.in:2273: warning: macro `AM_CHECK_NUMPY' not found in library
autoreconf-2.63: 
running: /usr/bin/autoconf-2.63 --include=/root/test/gdal/gdal/m4/ --include=/usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/usr/share/aclocal-1.10 --include=/usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/usr/share/aclocal --force --warnings=cross
configure.in:62: error: possibly undefined macro: AC_COMPILER_PIC
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
configure.in:63: error: possibly undefined macro: AC_LD_SHARED
configure.in:91: error: possibly undefined macro: AC_HAVE_LONG_LONG
configure.in:92: error: possibly undefined macro: AC_UNIX_STDIO_64
configure.in:139: error: possibly undefined macro: AC_CHECK_FUNC_CUSTOM
configure.in:2272: error: possibly undefined macro: AM_INIT_PYEXEC_MOD
configure.in:2273: error: possibly undefined macro: AM_CHECK_NUMPY
configure.in:2274: error: possibly undefined macro: AC_COMPILER_LOCALHACK
autoreconf-2.63: /usr/bin/autoconf-2.63 failed with exit status: 1
FATAL: autoreconf execution failed.

They were defined in files included in aclocal.m4 file but om-conf 
deletes it by calling autoreconf. Have anyone any idea how to override this?

[1] - http://www.gdal.org/
[2] - http://wiki.openmoko.org/wiki/Toolchain

-- 
Ing. Radek Bartoň

Faculty of Information Technology
Department of Computer Graphics and Multimedia
Brno University of Technology

E-mail: blackhex at post.cz
Web: http://blackhex.no-ip.org
Jabber: blackhex at jabber.cz




More information about the community mailing list