[gdal-dev] Compilation error gdal / git

APM apschwimmer at apmland.de
Thu Oct 7 00:47:52 PDT 2021


Dear List,


if I try to compile gdal, I got an error message, see below in this email.


I use Debian testing and git:


git clone https://github.com/OSGeo/gdal.git

cd gdal

git checkout master

cd gdal

./autogen.sh


configure.ac:6172: warning: AC_OUTPUT should be used without arguments.
configure.ac:6172: You should run autoupdate.


autoupdate


configure.ac:212: warning: AC_PROG_CC_C99 is obsolete; use AC_PROG_CC

configure.ac:289: warning: The preprocessor macro `STDC_HEADERS' is 
obsolete.
   Except in unusual embedded environments, you can safely include all
   ISO C90 headers unconditionally.


./configure --prefix=/home/user/apps/gdal/


make -j4

Error:

/src/gdal/gdal$ ./autogen.sh
+ aclocal -I ./m4
configure.ac:218: error: AC_REQUIRE(): cannot be used outside of an 
AC_DEFUN'd macro
configure.ac:218: the top level
autom4te: error: /usr/bin/m4 failed with exit status: 1
aclocal: error: autom4te failed with exit status: 1
+ autoconf
configure.ac:218: error: AC_REQUIRE(): cannot be used outside of an 
AC_DEFUN'd macro
configure.ac:218: the top level
autom4te: error: /usr/bin/m4 failed with exit status: 1


I'm not sure if I deal with gdal/git correctly.


Maybe you have a tipp?


Thank you!


Kind regards


Piet





More information about the gdal-dev mailing list