Re: [dtn-users] DTN2 compilation problems on Arch Linux Raspberry Pi

Nik Ansell <nikansell00@gmail.com> Mon, 30 November 2015 20:13 UTC

Return-Path: <nikansell00@gmail.com>
X-Original-To: dtn-users@ietfa.amsl.com
Delivered-To: dtn-users@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D36141B305E for <dtn-users@ietfa.amsl.com>; Mon, 30 Nov 2015 12:13:09 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.15
X-Spam-Level:
X-Spam-Status: No, score=0.15 tagged_above=-999 required=5 tests=[BAYES_20=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, SPF_PASS=-0.001] autolearn=no
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 jKHRSz04itAj for <dtn-users@ietfa.amsl.com>; Mon, 30 Nov 2015 12:13:08 -0800 (PST)
Received: from mail-io0-x229.google.com (mail-io0-x229.google.com [IPv6:2607:f8b0:4001:c06::229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 5ABBD1B3055 for <dtn-users@irtf.org>; Mon, 30 Nov 2015 12:13:08 -0800 (PST)
Received: by ioc74 with SMTP id 74so185085232ioc.2 for <dtn-users@irtf.org>; Mon, 30 Nov 2015 12:13:07 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:in-reply-to:references:date:message-id :subject:from:to:content-type; bh=GYh6dvs6CAIYOWQLtikjcPnaDsZxAJ7eLdibdGkEmh4=; b=XvZ47j7CEe0TyLcffZDVxk8ByLfOblzNy5hdus98qr7aEpuX5Q7PwfAr6FgIZi9cTX BYbXGNon+U0pmdv5Yzo0NseMDLIzqDAAX1TDLD701J7zgqJ0inIryEiQ5cN3BSj917Vf IjMlPXnOP5MZs/WanCSCHgZhUIXn7nMySns6lDxa+Xt7+qeApVvu7oKocOm1MYIPvOhY /2QLwUGwnohffZiQyMh4eFZCOVZJeYJHTjDwChA7ytZG5urevspn+zn2wH3bAzz5mh6H 5WW+aOUVq5ZC3pGb+Jhp6rAujb1Ev5VvW5z4jnl558tZEFH9bClt0XxUbP0tS6HvTEoy FOzA==
MIME-Version: 1.0
X-Received: by 10.107.30.85 with SMTP id e82mr59100347ioe.166.1448914387474; Mon, 30 Nov 2015 12:13:07 -0800 (PST)
Received: by 10.107.201.143 with HTTP; Mon, 30 Nov 2015 12:13:07 -0800 (PST)
In-Reply-To: <CAKLzrV_yS_JE1B5BWOAxY9hck2ZDUcQ__NQ-NofV8sWLGsPyAA@mail.gmail.com>
References: <CAKLzrV_yS_JE1B5BWOAxY9hck2ZDUcQ__NQ-NofV8sWLGsPyAA@mail.gmail.com>
Date: Tue, 01 Dec 2015 00:13:07 +0400
Message-ID: <CAKLzrV9As-JA9fov=M2ELvwUkM8O6Aw2-_L5RhBcfiEfY3G9GQ@mail.gmail.com>
From: Nik Ansell <nikansell00@gmail.com>
To: dtn-users@irtf.org
Content-Type: multipart/alternative; boundary="001a1140c20a601ce10525c7ab71"
Archived-At: <http://mailarchive.ietf.org/arch/msg/dtn-users/ycF-q0n1Zgxq8XoF2R-A87XrgbQ>
Subject: Re: [dtn-users] DTN2 compilation problems on Arch Linux Raspberry Pi
X-BeenThere: dtn-users@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
Reply-To: nikansell00@gmail.com
List-Id: "The Delay-Tolerant Networking Research Group \(DTNRG\) - Users." <dtn-users.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/dtn-users>, <mailto:dtn-users-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/dtn-users/>
List-Post: <mailto:dtn-users@irtf.org>
List-Help: <mailto:dtn-users-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/dtn-users>, <mailto:dtn-users-request@irtf.org?subject=subscribe>
X-List-Received-Date: Mon, 30 Nov 2015 20:13:10 -0000

Managed to figure this one out, just add |5.* to the following files:

oasys-1.6.0/aclocal.m4
line 881:   3.*|4.*|5.*)

oasys-1.6.0/aclocal/gcc.ac
line 120:   3.*|4.*|5.*)

oasys-1.6.0/configure
line 8166: 3.*|4.*|5.*)

dtn-2.9.0/aclocal.m4
line 1335:  3.*|4.*|5.*)

dtn-2.9.0/configure
line 6243:  3.*|4.*|5.*)

It seemed to compile OK and dtnd started OK too.

Kind Regards,
Nik

On Sun, Nov 29, 2015 at 4:55 PM, Nik Ansell <nikansell00@gmail.com> wrote:

> Hi,
>
> I am conducting a research project to compare the energy consumption and
> delivery profiles of ION, DTN2 and IBR-DTN.
>
> Having successfully setup ION, I am now trying to compile oasys on Arch
> Linux using a Raspberry Pi 2 B.
> I have run build_configure.sh, which seemed to run OK after I installed
> autoconf and applied the tclv8.6 fix.
>
> However, when I run ./configure it fails as follows:
> checking for the version of the GNU C compiler... 5.2
> checking for the version of the GNU C++ compiler... 5.2
> error: unsupported compiler version 5.2
>
> Does anyone know if this is a simple fix?
> Can I edit a file somewhere to look for 5.2?
>
> Any help would be really appreciated, thanks!
>
> Kind Regards,
> Nik
>