Re: [92hackathon] SPUDlib available

"Pal Martinsen (palmarti)" <palmarti@cisco.com> Sat, 21 March 2015 03:26 UTC

Return-Path: <palmarti@cisco.com>
X-Original-To: 92hackathon@ietfa.amsl.com
Delivered-To: 92hackathon@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id DB9C41A892B for <92hackathon@ietfa.amsl.com>; Fri, 20 Mar 2015 20:26:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.511
X-Spam-Level:
X-Spam-Status: No, score=-14.511 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id UnEGc6uzB25n for <92hackathon@ietfa.amsl.com>; Fri, 20 Mar 2015 20:26:14 -0700 (PDT)
Received: from rcdn-iport-3.cisco.com (rcdn-iport-3.cisco.com [173.37.86.74]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 14BCD1A8919 for <92hackathon@ietf.org>; Fri, 20 Mar 2015 20:26:14 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=3719; q=dns/txt; s=iport; t=1426908374; x=1428117974; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-id:content-transfer-encoding: mime-version; bh=nGwn0qtkn0Mkj8lKg47mJ4g+DyE9kwWJ5yP4fILurlY=; b=hAOeg4u+EOQwEK4yMS+lKCz04vce3OJIupAbRrAt/a2CI1VpjUUKw1CK pNaktLnew1S5gErnKNi76eBHvWd+FsbG7K7Ue9Y9IqVrppoFln71o4J7k f6aRPaCKpkveMMEk5ydT1fPV/GI0jwIZdKSvYd8Zk1es9dxJoWPklbTl1 M=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0AOBQB54wxV/4ENJK1CGoMGUloExloKhSxJAoErTAEBAQEBAX2EFAEBAQMBAQEBawsFCwIBCBguJwslAgQOBYgnCA03y0QBAQEBAQEBAQEBAQEBAQEBAQEBAQEXiyGEQjMHgxeBFgWQT4NuhX+BVZJUIoICHIFQb4FEfwEBAQ
X-IronPort-AV: E=Sophos;i="5.11,441,1422921600"; d="scan'208";a="405454173"
Received: from alln-core-9.cisco.com ([173.36.13.129]) by rcdn-iport-3.cisco.com with ESMTP; 21 Mar 2015 03:26:13 +0000
Received: from xhc-aln-x13.cisco.com (xhc-aln-x13.cisco.com [173.36.12.87]) by alln-core-9.cisco.com (8.14.5/8.14.5) with ESMTP id t2L3QDH3018425 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Sat, 21 Mar 2015 03:26:13 GMT
Received: from xmb-rcd-x06.cisco.com ([169.254.6.40]) by xhc-aln-x13.cisco.com ([173.36.12.87]) with mapi id 14.03.0195.001; Fri, 20 Mar 2015 22:26:12 -0500
From: "Pal Martinsen (palmarti)" <palmarti@cisco.com>
To: "Visweswaran, Gowri" <gvisweswaran@verisign.com>
Thread-Topic: [92hackathon] SPUDlib available
Thread-Index: AQHQY2kP0DI6OF4A3ku4THZhzzrwrZ0mF3GAgABslgD//69tgIAAZyEA
Date: Sat, 21 Mar 2015 03:26:12 +0000
Message-ID: <D9799ED7-D9A9-4759-9EC8-DC8B6CF2A01E@cisco.com>
References: <D1321CEE.43155%eckelcu@cisco.com> <D132353A.6F90%gvisweswaran@verisign.com> <3E11BFFB-FE00-435D-966C-22EE0F504642@cisco.com> <D1324AF9.6F96%gvisweswaran@verisign.com>
In-Reply-To: <D1324AF9.6F96%gvisweswaran@verisign.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.61.199.59]
Content-Type: text/plain; charset="Windows-1252"
Content-ID: <12A3CC81152F4D40A5066B407A8525E8@emea.cisco.com>
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Archived-At: <http://mailarchive.ietf.org/arch/msg/92hackathon/DhO4ZBL73PvjBf_ZP9rHMEL4Q1M>
Cc: "IETF Hackathon: New Discussion" <discussions-community-developer-ietf--hackathon@cisco-marketing.hosted.jivesoftware.com>, "92hackathon@ietf.org" <92hackathon@ietf.org>, "Charles Eckel \(eckelcu\)" <eckelcu@cisco.com>
Subject: Re: [92hackathon] SPUDlib available
X-BeenThere: 92hackathon@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: IETF 92 Hackathon <92hackathon.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/92hackathon>, <mailto:92hackathon-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/92hackathon/>
List-Post: <mailto:92hackathon@ietf.org>
List-Help: <mailto:92hackathon-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/92hackathon>, <mailto:92hackathon-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 21 Mar 2015 03:26:16 -0000

> On 20 Mar 2015, at 21:17, Visweswaran, Gowri <gvisweswaran@verisign.com> wrote:
> 
> Hello,
> 
> I would be happy to sit down tomorrow and figure this out, meantime, here
> is what I am seeing on both my machinesŠ
> 
> 
Cool.

> 
> On the Mac OS X Yosemite 10.10.2:
> 
> bash-3.2$ ./bootstrap.sh
> Can't exec "libtoolize": No such file or directory at
> /usr/local/share/autoconf/Autom4te/FileUtils.pm line 345, <GEN2> line 5.
> autoreconf: failed to run libtoolize: No such file or directory
> autoreconf: libtoolize is needed because this package uses Libtool
> 

sudo port install libtool should fix that. (Assuming you have macports installed)

> 
> On my Centos 6.6 machine:
> 
> ./configure: line 12756: syntax error near unexpected token `CHECK,'
> ./configure: line 12756: `  PKG_CHECK_MODULES(CHECK, check >= 0.9.8)’
> 
Weird.

Did you run a plain ./configure or with —enable-check?

If you want to do development running the unit-tests are essential. Install check.
CentOS is RPM based right?
(http://rpmfind.net/linux/rpm2html/search.php?query=check(x86-32))

> I commented out that line to see if I could proceed and did build the
> libraries and samples.
> 
> I did try to run the spud echo sample but could not see my UDP request
> echo¹ed back. 
> 
Running them on the same box is not always successful. Need to look into that as well.



> Tests did fail to build though:
> 
No wonder since you commented it out in the configure.ac… :-)


.-.
Pål-Erik
> 
> 
> 
> 
> 
> On 3/20/15, 10:05 PM, "Pal Martinsen (palmarti)" <palmarti@cisco.com>
> wrote:
> 
>> 
>>> On 20 Mar 2015, at 19:36, Visweswaran, Gowri
>>> <gvisweswaran@verisign.com> wrote:
>>> 
>>> Thanks Charles, 
>>> 
>>> Which platforms does this code build on? I am not able to build it on my
>>> Mac Yosemite or on a Centos 6X machine.
>> 
>> What did ./configure tell you?
>> 
>> You need to have auto-tools installed to build the ./configure script
>> 
>> Works on my Darwin kernel 14.0.1 and Ubuntu box.
>> On OS-X i works well with gcc, clang and cc( Apple clang)
>> Ubuntu works with gcc and clang
>> 
>> Making sure this compile an all platforms is important to us. Can we sit
>> down tomorrow and see if we can figure out what the problem is?
>> 
>> .-.
>> Pål-Erik
>> 
>>> 
>>> Gowri
>>> 
>>> On 3/20/15, 7:53 PM, "Charles Eckel (eckelcu)" <eckelcu@cisco.com>
>>> wrote:
>>> 
>>>> Actually, I meant SPUDlib at https://github.com/iptube/SPUDlib
>>>> But check out SPUDshark as well :)
>>>> 
>>>> On 3/20/15, 6:51 PM, "Charles Eckel (eckelcu)" <eckelcu@cisco.com>
>>>> wrote:
>>>> 
>>>>> For those of you planning to work on SPUD related stuff at the
>>>>> Hackathon,
>>>>> check out: https://github.com/iptube/SPUDshark
>>>>> 
>>>>> There is a list of issues included in the project in case you want to
>>>>> start looking now for good things to work on this weekend. You will
>>>>> hear
>>>>> more about it tomorrow morning. See you then!
>>>>> 
>>>>> Cheers,
>>>>> Charles
>>>>> 
>>>>> _______________________________________________
>>>>> 92hackathon mailing list
>>>>> 92hackathon@ietf.org
>>>>> https://www.ietf.org/mailman/listinfo/92hackathon
>>>> 
>>>> _______________________________________________
>>>> 92hackathon mailing list
>>>> 92hackathon@ietf.org
>>>> https://www.ietf.org/mailman/listinfo/92hackathon
>>> 
>>> _______________________________________________
>>> 92hackathon mailing list
>>> 92hackathon@ietf.org
>>> https://www.ietf.org/mailman/listinfo/92hackathon
>> 
>