You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@zookeeper.apache.org by Alexander Gryanko <xp...@gmail.com> on 2013/09/11 04:37:32 UTC

Building ZooKeeper for Ubuntu 12.04

Hello.

I'm trying to build ZooKeeper for my Ubuntu 12.04 with transactions
support. I've found package with 3.4.5 version
http://packages.ubuntu.com/ru/raring/zookeeper here. But I can't build it:

ivy-download:

ivy-init:

ivy-retrieve:

BUILD FAILED
/home/xpahos/zookeeper/src/contrib/build.xml:38: The following error
occurred while executing this line:
/home/xpahos/zookeeper/src/contrib/build-contrib.xml:215: Problem: failed
to create task or type antlib:org.apache.ivy.ant:retrieve
Cause: The name is undefined.
Action: Check the spelling.
Action: Check that any custom tasks/types have been declared.
Action: Check that any <presetdef>/<macrodef> declarations have taken place.
No types or tasks have been defined in this namespace yet

This appears to be an antlib declaration.
Action: Check that the implementing library exists in one of:
        -/usr/share/ant/lib
        -/home/xpahos/.ant/lib
        -a directory added on the command line with the -lib argument


Total time: 0 seconds
make[1]: *** [override_dh_auto_build] Error 1
make[1]: Leaving directory `/home/xpahos/zookeeper'
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
debuild: fatal error at line 1350:
dpkg-buildpackage -rfakeroot -D -us -uc failed

I don't know how Java works and can't understand this error. Can anybody
help me?

Thank you.