I'm trying to build ZooKeeper on a RedHat Linux box. (Exactly what ZooKeeper is is probably not important :-)
When I follow the package instructions, I get:
$ autoreconf -if
aclocal:configure.ac:33: warning: macro `AM_PATH_CPPUNIT' not found in library
aclocal:configure.ac:33: warning: macro `AM_PATH_CPPUNIT' not found in library
configure.ac:33: 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
I can't install CPPPUNIT in the standard place. (Don't have root privileges, system team has a policy of "no deviations" from standard configuration.)
I've worked around the problem by commenting out the references to
AM_PATH_CPPUNI
T in my configure.ac file, but what I'd really like to do
is to install CPPPUNIT in my personal directory and point to it, but I'm
not making much progress in figuring out how to tell the autoconf/auotmake
system to look for it in a non-standard place. Anybody have any hints on
how to do that?