Opened 9 years ago

Closed 8 years ago

#3928 closed defect (fixed)

Cant run autoconf

Reported by: isbaran Owned by: warmerdam
Priority: normal Milestone: 1.9.0
Component: ConfigBuild Version: 1.8.0
Severity: normal Keywords: libtool
Cc:

Description (last modified by warmerdam)

Hello, Trying to compile gdal but autoreconf (2.68) fails with this:

configure.in:56: the top level
configure.in:56: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2662: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2679: AC_LINK_IFELSE is expanded from...
aclocal.m4:1091: _LT_SYS_MODULE_PATH_AIX is expanded from...
aclocal.m4:5449: _LT_LANG_CXX_CONFIG is expanded from...
aclocal.m4:823: _LT_LANG is expanded from...
aclocal.m4:806: LT_LANG is expanded from...
aclocal.m4:834: _LT_LANG_DEFAULT_CONFIG is expanded from...
aclocal.m4:156: _LT_SETUP is expanded from...
aclocal.m4:82: LT_INIT is expanded from...
aclocal.m4:120: AC_PROG_LIBTOOL is expanded from...
configure.in:56: the top level
configure.in:63: 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:64: error: possibly undefined macro: AC_LD_SHARED
configure.in:92: error: possibly undefined macro: AC_HAVE_LONG_LONG
configure.in:93: error: possibly undefined macro: AC_UNIX_STDIO_64
configure.in:141: error: possibly undefined macro: AC_CHECK_FUNC_CUSTOM
autoreconf: /usr/bin/autoconf failed with exit status: 1

Change History (4)

comment:1 Changed 9 years ago by warmerdam

Component: defaultConfigBuild
Description: modified (diff)

comment:2 Changed 9 years ago by warmerdam

Status: newassigned

I've run into similar problems in trunk and upgraded the libtool version, including the support m4 macros (r22256) to correct the problem. Would it be possible for you to check if you can reconfigure properly with trunk? If so, I might try backporting the latest libtool to the 1.8 branch.

comment:3 Changed 9 years ago by warmerdam

Keywords: libtool added

comment:4 Changed 8 years ago by Even Rouault

Milestone: 1.9.0
Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.