bundy

* Modular * Extensible * Friendly *

[Bundy-hackers] autoconf issue on Ubuntu 14.04

Carsten Strotmann carsten at strotmann.de
Thu May 29 19:03:06 CEST 2014


Hi,

I've run into an issue with autoconf on Ubuntu 14.04. Running
"autoreconf -i" after cloning from git gave:

root at ubuntu1404:/usr/src/bundy/bundy# autoreconf -i
libtoolize: putting auxiliary files in `.'.
libtoolize: copying file `./ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4macros'.
libtoolize: copying file `m4macros/libtool.m4'
libtoolize: copying file `m4macros/ltoptions.m4'
libtoolize: copying file `m4macros/ltsugar.m4'
libtoolize: copying file `m4macros/ltversion.m4'
libtoolize: copying file `m4macros/lt~obsolete.m4'
configure.ac:20: error: possibly undefined macro: dnl
      If this token and others are legitimate, please use
m4_pattern_allow. See the Autoconf documentation.
configure.ac:152: error: possibly undefined macro: AC_MSG_CHECKING
configure.ac:167: error: possibly undefined macro: AC_MSG_RESULT
autoreconf: /usr/bin/autoconf failed with exit status: 1

A "configure" file war produced, but it runs into an error while
checking for SQLite:

checking Boost offset_ptr compiles... yes
checking Boost numeric_cast compiles with -Werror... yes
checking Boost rbtree is old... no
checking Boost managed_mapped_file compiles... yes, with no flag
checking BOOST_STATIC_ASSERT compiles... yes
checking Boost version... 1.54
checking for pthread_create in -lpthread... yes
checking for pkg-config... yes
./configure: line 18673: syntax error near unexpected token `SQLITE,'
./configure: line 18673: `PKG_CHECK_MODULES(SQLITE, sqlite3 >= 3.3.9,'

The same checkout was working fine on Debian 7.

Autoconf version:

# autoconf -V
autoconf (GNU Autoconf) 2.69
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+/Autoconf: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>,
<http://gnu.org/licenses/exceptions.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by David J. MacKenzie and Akim Demaille.

not being an autoconf expert, I'm now stuck at this point.

-- Carsten