From: Colin McCabe Subject: Re: [PATCHv2] cld: use XDR for all messages Date: Tue, 26 Jan 2010 15:47:52 -0800 Message-ID: <436f52801001261547h16334bcn8f1635fb49915cd2@mail.gmail.com> References: <1263577788-2081-1-git-send-email-cmccabe@alumni.cmu.edu> <4B57B01F.5080903@garzik.org> <436f52801001201838l450fbe09i6f2f9d2b6ceebe6d@mail.gmail.com> <436f52801001261322k4f6273ccl9f6a21f6ccb123df@mail.gmail.com> <4B5F6893.3070906@garzik.org> Mime-Version: 1.0 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type:content-transfer-encoding; bh=zBAtXhPkihZN3kb+OxTRwDmpAW8msKVZWJTyko8Hpzo=; b=feHWcGTrE4vhg8a+dCOM7oggkjcYT/ZmIa96AXyRgjzP03CxfDZvSRmwXvAIGrd/Qi 8ftfAVtmkI+WwO6ufbObErRKv73XuKLPMYkTBjOWQz3D5NLWJyWFUXyNS/JH0zIDCGzn QHeisrW/l4b2quKoqL5I0uZeSSrk9PvIo/A2w= In-Reply-To: <4B5F6893.3070906@garzik.org> Sender: hail-devel-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset="iso-8859-1" To: Jeff Garzik Cc: Project Hail List , Pete Zaitcev On Tue, Jan 26, 2010 at 2:11 PM, Jeff Garzik wrote: > Actually I poked at it this weekend, and was about to finish up. =A0S= o hold > off for another day, if you would. > > The answer is, there are two different build environments to consider= for > headers: =A0the in-tree build environment, and the installed-header b= uild > environment. =A0That is why including "lib/foo.h" does not work, part= icularly > in nested headers. =A0You need to fiddle INCLUDES in Makefile.am to g= et the > header path correct at build time, and then ensure that all headers a= re > installed in the proper location (by default, $includedir) using > include_HEADERS. =A0That way, cld_msg_rpc* remains in lib/ while the = other > headers remain in include/ We should probably also add an AC_CHECK_PROG(rpcgen, ...) to configure.= ac On an unrelated note, I just discovered "make check". I feel kind of silly that I didn't try that before. :) > > Also, while splitting this up, I noticed that ping_open is no longer = set to > true. Good catch. Clearly session_timeout should be setting that to true when it sends the PING message. Colin