You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by André Santi Oliveira <as...@gmail.com> on 2012/04/01 07:14:07 UTC
Running unit tests on Mac
Hi,
I read the page
HowToContribute<https://cwiki.apache.org/confluence/display/ZOOKEEPER/HowToContribute>and
I'm trying to run the unit tests in a OS X 10.6.8 (ant
-Djavac.args="-Xlint -Xmaxwarns 1000" clean test tar), but after 23 minutes
of tests this error occurs:
*check-cppunit-configure:
create-cppunit-configure:
[mkdir] Created dir:
/Developer/Java/zookeeper/trunk/build/test/test-cppunit
[exec] checking for doxygen... no
[exec] checking for perl... /usr/bin/perl
[exec] checking for dot... no
[exec] configure: error: cannot find install-sh or install.sh in
"/Developer/Java/zookeeper/trunk/src/c"
"/Developer/Java/zookeeper/trunk/src/c/.."
"/Developer/Java/zookeeper/trunk/src/c/../.."
BUILD FAILED
/Developer/Java/zookeeper/trunk/build.xml:1302: The following error
occurred while executing this line:
/Developer/Java/zookeeper/trunk/build.xml:1261: The following error
occurred while executing this line:
/Developer/Java/zookeeper/trunk/build.xml:1253: exec returned: 1
*
Could you give me more information about that, please? I saw that the file
install-sh/install.sh doesn't exists in these folders!
PS: I'm using brew to configure stuffs like automake, autoconf, cpp-unit,
etc.
Thanks
André
Re: Running unit tests on Mac
Posted by Patrick Hunt <ph...@apache.org>.
try running "autoreconf -if" in your src/c directory and see if that helps
Patrick
On Sat, Mar 31, 2012 at 10:14 PM, André Santi Oliveira
<as...@gmail.com> wrote:
> Hi,
>
> I read the page
> HowToContribute<https://cwiki.apache.org/confluence/display/ZOOKEEPER/HowToContribute>and
> I'm trying to run the unit tests in a OS X 10.6.8 (ant
> -Djavac.args="-Xlint -Xmaxwarns 1000" clean test tar), but after 23 minutes
> of tests this error occurs:
>
> *check-cppunit-configure:
>
> create-cppunit-configure:
> [mkdir] Created dir:
> /Developer/Java/zookeeper/trunk/build/test/test-cppunit
> [exec] checking for doxygen... no
> [exec] checking for perl... /usr/bin/perl
> [exec] checking for dot... no
> [exec] configure: error: cannot find install-sh or install.sh in
> "/Developer/Java/zookeeper/trunk/src/c"
> "/Developer/Java/zookeeper/trunk/src/c/.."
> "/Developer/Java/zookeeper/trunk/src/c/../.."
>
> BUILD FAILED
> /Developer/Java/zookeeper/trunk/build.xml:1302: The following error
> occurred while executing this line:
> /Developer/Java/zookeeper/trunk/build.xml:1261: The following error
> occurred while executing this line:
> /Developer/Java/zookeeper/trunk/build.xml:1253: exec returned: 1
> *
>
> Could you give me more information about that, please? I saw that the file
> install-sh/install.sh doesn't exists in these folders!
>
> PS: I'm using brew to configure stuffs like automake, autoconf, cpp-unit,
> etc.
>
>
> Thanks
> André