zookeeper-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andor Molnar (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ZOOKEEPER-3034) Facing issues while building from source
Date Wed, 16 May 2018 05:47:00 GMT

    [ https://issues.apache.org/jira/browse/ZOOKEEPER-3034?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16476874#comment-16476874

Andor Molnar commented on ZOOKEEPER-3034:

Hi [~bhavenamrata], thanks for reporting the issue.

Ubuntu 18.04 is quite recent, I have some doubts about anyone has ever tried to to build ZooKeeper
C++ unit tests since it's out, but given that it's an LTS release, we should start looking
into it.

The error message is complaing about AM_PATH_CPPUNIT macro is missing. Have you installed
any *cppunit* related package?

Is there a cppunit package available in Ubuntu 18.04 at all? I think it's quite an old tool
and not actively maintained, maybe it has been removed from the distro.

> Facing issues while building from source
> ----------------------------------------
>                 Key: ZOOKEEPER-3034
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-3034
>             Project: ZooKeeper
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 3.4.11
>         Environment: Linux x86_64, Ubuntu 18.04, Ubuntu 17.10.
>            Reporter: Namrata Bhave
>            Priority: Major
> Building Zookeeper from source using below steps:
> {{git clone git://github.com/apache/zookeeper}}
>  {{cd zookeeper}}
>  {{git checkout tags/release-3.4.11}}
>  {{ant compile}}
>  {{cd src/c}}
>  {{sudo apt-get install -y libcppunit-dev}}
>  {{ACLOCAL="aclocal -I /usr/share/aclocal" autoreconf -if}}
>  {{./configure && make && sudo make install}}
>  {{sudo make distclean}}
> The 'autoreconf -if' step fails with below error:
>  + ACLOCAL='aclocal -I /usr/share/aclocal'
>  + autoreconf -if
>  configure.ac:37: warning: macro 'AM_PATH_CPPUNIT' not found in library
>  libtoolize: putting auxiliary files in '.'.
>  libtoolize: copying file './ltmain.sh'
>  libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.ac,
>  libtoolize: and rerunning libtoolize and aclocal.
>  libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
>  configure.ac:37: warning: macro 'AM_PATH_CPPUNIT' not found in library
>  configure.ac:37: error: possibly undefined macro: AM_PATH_CPPUNIT
>  If this token and others are legitimate, please use m4_pattern_allow.
>  See the Autoconf documentation.
>  autoreconf: /usr/bin/autoconf failed with exit status: 1
>  Build step 'Execute shell' marked build as failure
> This is happening on Ubuntu 18.04. Can someone please help in resolving this error?

This message was sent by Atlassian JIRA

View raw message