Return-Path: Delivered-To: apmail-hadoop-zookeeper-user-archive@minotaur.apache.org Received: (qmail 86158 invoked from network); 7 Jul 2009 16:16:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 7 Jul 2009 16:16:29 -0000 Received: (qmail 40870 invoked by uid 500); 7 Jul 2009 16:16:39 -0000 Delivered-To: apmail-hadoop-zookeeper-user-archive@hadoop.apache.org Received: (qmail 40831 invoked by uid 500); 7 Jul 2009 16:16:38 -0000 Mailing-List: contact zookeeper-user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: zookeeper-user@hadoop.apache.org Delivered-To: mailing list zookeeper-user@hadoop.apache.org Received: (qmail 40817 invoked by uid 99); 7 Jul 2009 16:16:38 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Jul 2009 16:16:38 +0000 X-ASF-Spam-Status: No, hits=-2.8 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [207.126.228.149] (HELO rsmtp1.corp.yahoo.com) (207.126.228.149) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Jul 2009 16:16:29 +0000 Received: from [172.21.148.205] (UNKNOWN-209-131-62-145.yahoo.com [209.131.62.145] (may be forged)) (authenticated bits=0) by rsmtp1.corp.yahoo.com (8.13.8/8.13.8/y.rout) with ESMTP id n67GG5kS068155 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 7 Jul 2009 09:16:05 -0700 (PDT) Message-ID: <4A5374C4.8020108@apache.org> Date: Tue, 07 Jul 2009 09:16:04 -0700 From: Patrick Hunt User-Agent: Thunderbird 2.0.0.22 (X11/20090608) MIME-Version: 1.0 To: zookeeper-user@hadoop.apache.org Subject: Re: Help to compile Zookeeper C API on a old system References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org We'd be happy to take a look, create a JIRA here and attach your patch: https://issues.apache.org/jira/browse/ZOOKEEPER Easiest way to create the patch is to use SVN and do a "svn diff". More details here, please feel free to join the zookeeper-dev mailing list, that's the main list for development related discussion: http://wiki.apache.org/hadoop/ZooKeeper/HowToContribute Thanks! Patrick Qian Ye wrote: > Hi Mahadev: > > After modified some code, I have build Zookeeper C API (3.1.1) on the old > system successfully. I have done some simple test, it works. > > Thanks for your help, I wonder whether I can submit my modification to you, > after all it is a more universal version > > > On Tue, Jul 7, 2009 at 9:56 AM, Mahadev Konar wrote: > >> Hi Qian, >> I am not sure if it will work. You should be able to back port it such a >> way so that it works with gcc 3.*/4.*, but again I have never tried it. >> >> mahadev >> >> >> On 7/6/09 6:35 PM, "Qian Ye" wrote: >> >>> Thanks Mahadev, I follow the installation instruction in the README, >>> >>> autoreconf -i -f >>> ./configure --prefix=$dir >>> make >>> make install >>> >>> until "./configure --prefix=$dir", there is no error, however, errors >> came >>> when I did make, >>> >>> My plan is change the compiler from gcc to g++, and solve the compile >> errors >>> one by one. >>> >>> Will my plan do? >>> >>> Thanks~ >>> >>> >>> On Tue, Jul 7, 2009 at 2:22 AM, Mahadev Konar >> wrote: >>>> Hi Qian, >>>> What issues do you face? I have never tried compiling with the >>>> configuration below, but I could give it a try in my free time to see if >> I >>>> can get it to compile. >>>> >>>> mahadev >>>> >>>> >>>> On 7/6/09 7:37 AM, "Qian Ye" wrote: >>>> >>>>> Hi all: >>>>> >>>>> I'm writing to ask you to do me a favor. It's urgent. For some >>>> unchangeable >>>>> reason, I have to compile "libzookeeper_st.a", "libzookeeper_mt.a" on >> an >>>> old >>>>> system: >>>>> >>>>> gcc 2.96 >>>>> autoconf 2.13 >>>>> automake 1.4-p5 >>>>> libtool 1.4.2 >>>>> >>>>> I cannot not compile the target lib in the usual way, and this task >>>> drives >>>>> me crazy :-( >>>>> >>>>> could anyone help me out? Thanks a lot~ >>>> >> > >