Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
-
None
-
Red-Hat (amazon's AMI)
Description
Firstly the readme should probably state that to build with zookeeper you need to have CPPUNIT installed
on Red hat:
sudo yum install cppunit-devel
However, the zookeeper cofigure script assumes access to the macro:
AM_PATH_CPPUNIT(<version>)
All this does is check to see if the currently installed cppunit version is >= whatever is required, in this case 1.10.2. On red-hat, for whatever reason, the script does not have access to this macro.
I fixed this issue by commenting out the offending line in the zookeeper configure script, and everything built fine. I think the manual inclusion of /usr/share/aclocal/ccpunit.m4 will also fix the problem (this is where the macro is defined), although I haven't tested this assertion.
This seems related to: https://issues.apache.org/jira/browse/ZOOKEEPER-316