Re: building client tools
Hi Mahadev, The suggestions from Sergey and Andrei have fixed this for me. regards, Martin On 13 July 2010 19:11, Mahadev Konar wrote: > Hi Martin, > There is a list of tools, i.e cppunit. That is the only required tool to > build the zookeeper c library. The readme says that it can be done without > cppunit being installed but there has been a open bug regarding this. So > cppunit is required as of now. > > Thanks > mahadev > > > On 7/13/10 10:09 AM, "Martin Waite" wrote: > > > Hi, > > > > I am trying to build the c client on debian lenny for zookeeper 3.3.1. > > > > autoreconf -if > > configure.ac:33: warning: macro `AM_PATH_CPPUNIT' not found in library > > 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 probably need to install some required tools. Is there a list of what > > tools are needed to build this please ? > > > > regards, > > Martin > >
Re: building client tools
Hi Sergey, I ran apt-get install libcppunit-dev - this pulled in libcppunit-1.12-1 automatically. Thanks for the help. regards, Martin On 13 July 2010 18:47, Sergey Doroshenko wrote: > Andrei is right. Also, libcppunit-dev might be neeeded too. > "sudo apt-get install libcppunit-1.12-1 libcppunit-dev" (I'm assuming 1.12 > is the latest version) should do the trick > > On Tue, Jul 13, 2010 at 8:39 PM, Andrei Savu > wrote: > > > Hi, > > > > In this case I think you have to install libcppunit (should work using > > apt-get). I believe that should be enough but I don't really remember > > what else I've installed the first time I compiled the c client. > > > > Let me know what else was needed. I would like to submit a patch to > > update the README file in order to avoid this problem in the future. > > > > Thanks. > > > > On Tue, Jul 13, 2010 at 8:09 PM, Martin Waite > wrote: > > > Hi, > > > > > > I am trying to build the c client on debian lenny for zookeeper 3.3.1. > > > > > > autoreconf -if > > > configure.ac:33: warning: macro `AM_PATH_CPPUNIT' not found in library > > > 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 probably need to install some required tools. Is there a list of > what > > > tools are needed to build this please ? > > > > > > regards, > > > Martin > > > > > > > > > > > -- > > Andrei Savu - http://andreisavu.ro/ > > > > > > -- > Regards, Sergey >
Re: building client tools
Hi Andrei, I needed to install the following: apt-get install libtool autoconf libcppunit-dev There could well be other packages that were already installed on my machine (automake, gcc etc), but my build works now. I have since found that zookeeper is already packaged in debian testing, and the build-depends for this is quite large: http://git.debian.org/?p=pkg-java/zookeeper.git;a=blob;f=debian/control;h=b3d5b6d73a298784473f62a1e0ac57a378dde9c9;hb=43878542fbc30e4d8fa8d55be16044d0c9b488a4 Thanks for the assistance. regards, Martin On 13 July 2010 18:39, Andrei Savu wrote: > Hi, > > In this case I think you have to install libcppunit (should work using > apt-get). I believe that should be enough but I don't really remember > what else I've installed the first time I compiled the c client. > > Let me know what else was needed. I would like to submit a patch to > update the README file in order to avoid this problem in the future. > > Thanks. > > On Tue, Jul 13, 2010 at 8:09 PM, Martin Waite wrote: > > Hi, > > > > I am trying to build the c client on debian lenny for zookeeper 3.3.1. > > > > autoreconf -if > > configure.ac:33: warning: macro `AM_PATH_CPPUNIT' not found in library > > 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 probably need to install some required tools. Is there a list of what > > tools are needed to build this please ? > > > > regards, > > Martin > > > > > > -- > Andrei Savu - http://andreisavu.ro/ >
Re: building client tools
Hi Martin, There is a list of tools, i.e cppunit. That is the only required tool to build the zookeeper c library. The readme says that it can be done without cppunit being installed but there has been a open bug regarding this. So cppunit is required as of now. Thanks mahadev On 7/13/10 10:09 AM, "Martin Waite" wrote: > Hi, > > I am trying to build the c client on debian lenny for zookeeper 3.3.1. > > autoreconf -if > configure.ac:33: warning: macro `AM_PATH_CPPUNIT' not found in library > 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 probably need to install some required tools. Is there a list of what > tools are needed to build this please ? > > regards, > Martin
Re: building client tools
Andrei is right. Also, libcppunit-dev might be neeeded too. "sudo apt-get install libcppunit-1.12-1 libcppunit-dev" (I'm assuming 1.12 is the latest version) should do the trick On Tue, Jul 13, 2010 at 8:39 PM, Andrei Savu wrote: > Hi, > > In this case I think you have to install libcppunit (should work using > apt-get). I believe that should be enough but I don't really remember > what else I've installed the first time I compiled the c client. > > Let me know what else was needed. I would like to submit a patch to > update the README file in order to avoid this problem in the future. > > Thanks. > > On Tue, Jul 13, 2010 at 8:09 PM, Martin Waite wrote: > > Hi, > > > > I am trying to build the c client on debian lenny for zookeeper 3.3.1. > > > > autoreconf -if > > configure.ac:33: warning: macro `AM_PATH_CPPUNIT' not found in library > > 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 probably need to install some required tools. Is there a list of what > > tools are needed to build this please ? > > > > regards, > > Martin > > > > > > -- > Andrei Savu - http://andreisavu.ro/ > -- Regards, Sergey
Re: building client tools
Hi, In this case I think you have to install libcppunit (should work using apt-get). I believe that should be enough but I don't really remember what else I've installed the first time I compiled the c client. Let me know what else was needed. I would like to submit a patch to update the README file in order to avoid this problem in the future. Thanks. On Tue, Jul 13, 2010 at 8:09 PM, Martin Waite wrote: > Hi, > > I am trying to build the c client on debian lenny for zookeeper 3.3.1. > > autoreconf -if > configure.ac:33: warning: macro `AM_PATH_CPPUNIT' not found in library > 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 probably need to install some required tools. Is there a list of what > tools are needed to build this please ? > > regards, > Martin > -- Andrei Savu - http://andreisavu.ro/
building client tools
Hi, I am trying to build the c client on debian lenny for zookeeper 3.3.1. autoreconf -if configure.ac:33: warning: macro `AM_PATH_CPPUNIT' not found in library 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 probably need to install some required tools. Is there a list of what tools are needed to build this please ? regards, Martin