hadoop-zookeeper-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrei Savu <savu.and...@gmail.com>
Subject Re: Compiling c client
Date Sat, 07 Aug 2010 06:48:42 GMT
It should work. On which ZooKeeper release / version are you doing
this? Latest release (3.3.1)?

I've done the same steps on the 3.3.1 release, 3.3 branch and trunk
and everything seems to work fine. I'm running Ubuntu 10.04 and java
1.6.0_18 (OpenJDK).

Try running: $ ant clean compile_jute

You should get some output similar to this:

Buildfile: build.xml

[ ... clean ... ]

init:
    [mkdir] Created dir: /home/andrei/current/zk/src/zookeeper/build/classes
    [mkdir] Created dir: /home/andrei/current/zk/src/zookeeper/build/lib
    [mkdir] Created dir: /home/andrei/current/zk/src/zookeeper/build/test/lib

jute:
    [javac] Compiling 38 source files to
/home/andrei/current/zk/src/zookeeper/build/classes
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.

compile_jute_uptodate:

compile_jute:
    [mkdir] Created dir:
/home/andrei/current/zk/src/zookeeper/src/java/generated
    [mkdir] Created dir: /home/andrei/current/zk/src/zookeeper/src/c/generated
     [java] ../../zookeeper.jute Parsed Successfully
     [java] ../../zookeeper.jute Parsed Successfully
    [touch] Creating
/home/andrei/current/zk/src/zookeeper/src/java/generated/.generated

BUILD SUCCESSFUL
Total time: 4 seconds



On Sat, Aug 7, 2010 at 12:54 AM, Michi Mutsuzaki <michim@yahoo-inc.com> wrote:
> Hi,
>
> I'm trying to compile c client, and I'm getting error saying that jute files
> are missing. I've run "ant compile_jute", but it didn't generate any files.
> Am I missing any steps?
>
> $ ant compile_jute
> Buildfile: build.xml
>
> init:
>
> jute:
>
> compile_jute_uptodate:
>
> compile_jute:
>
> BUILD SUCCESSFUL
> Total time: 0 seconds
>
> $ cd src/c
> $ autoreconf -if
> $ ./configure
> ...
> configure: error: jute files are missing! Please run "ant compile_jute"
> while in the zookeeper top level directory.
>
> Thanks!
> --Michi
>
>



-- 
Indekspot -- http://www.indekspot.com -- Managed Hosting for Apache Solr

Mime
View raw message