Was trying to build Zookeeper from trunk ( 3.3.0 ) .
Came across this error -
create-cppunit-configure:
[exec] configure.ac:33: warning: macro `AM_PATH_CPPUNIT' not found in library
[exec] libtoolize: putting auxiliary files in `.'.
[exec] libtoolize: copying file `./config.guess'
[exec] libtoolize: copying file `./config.sub'
[exec] libtoolize: copying file `./install-sh'
[exec] libtoolize: copying file `./ltmain.sh'
[exec] libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac and
[exec] libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
[exec] libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
[exec] configure.ac:33: warning: macro `AM_PATH_CPPUNIT' not found in library
[exec] configure.ac:33: error: possibly undefined macro: AM_PATH_CPPUNIT
[exec] If this token and others are legitimate, please use m4_pattern_allow.
[exec] See the Autoconf documentation.
[exec] autoreconf: /usr/bin/autoconf failed with exit status: 1
Installed -
$ sudo apt-get install libcppunit-dev
Ended up with ..
[exec] .../zookeeper/src/c/configure: line 5015: syntax error near unexpected token `1.10.2'
[exec] .../zookeeper/src/c/configure: line 5015: ` AM_PATH_CPPUNIT(1.10.2)'
Hmm.. bad times.
Came across this error -
create-cppunit-configure:
[exec] configure.ac:33: warning: macro `AM_PATH_CPPUNIT' not found in library
[exec] libtoolize: putting auxiliary files in `.'.
[exec] libtoolize: copying file `./config.guess'
[exec] libtoolize: copying file `./config.sub'
[exec] libtoolize: copying file `./install-sh'
[exec] libtoolize: copying file `./ltmain.sh'
[exec] libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac and
[exec] libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
[exec] libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
[exec] configure.ac:33: warning: macro `AM_PATH_CPPUNIT' not found in library
[exec] configure.ac:33: error: possibly undefined macro: AM_PATH_CPPUNIT
[exec] If this token and others are legitimate, please use m4_pattern_allow.
[exec] See the Autoconf documentation.
[exec] autoreconf: /usr/bin/autoconf failed with exit status: 1
Installed -
$ sudo apt-get install libcppunit-dev
Ended up with ..
[exec] .../zookeeper/src/c/configure: line 5015: syntax error near unexpected token `1.10.2'
[exec] .../zookeeper/src/c/configure: line 5015: ` AM_PATH_CPPUNIT(1.10.2)'
Hmm.. bad times.
1 comment:
Sorry to heard you had trouble. I had the same initial error when running autoreconf for zookeeper 3.3.3 (on Ubuntu 10.10). But when I did
$ sudo apt-get install libcppunit-dev
It worked fine. Thanks for the tip!
Post a Comment