hadoop-zookeeper-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Patrick Hunt <ph...@apache.org>
Subject Re: Compiling c client
Date Sun, 08 Aug 2010 06:54:44 GMT
Andrei that's correct.

Patrick

On 08/07/2010 12:33 PM, Andrei Savu wrote:
> I believe the code for the 3.3.2 release should be on the 3.3 branch
> but I'm not completely sure.
>
> The trunk contains many unreleased changes. They should all be part of
> the upcoming 3.4.0 release.
>
> On Sat, Aug 7, 2010 at 9:41 PM, Michi Mutsuzaki<michim@yahoo-inc.com>  wrote:
>> Thanks for the response, Andrei.
>>
>> branch-3.3 didn't work for me, but trunk worked. I'll try what you suggested
>> in branch-3.3.
>>
>> By the way, how can I find out which zookeeper version is in the trunk? I
>> need to fix a bug in 3.3.2, but I wasn't sure which branch I'm supposed to
>> work on.
>>
>> Thanks!
>> --Michi
>>
>> On 8/6/10 11:48 PM, "Andrei Savu"<savu.andrei@gmail.com>  wrote:
>>
>>> 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