[bug #3953] (grass) Re: [GRASS5] Re: [GRASSLIST:9669] compilation (again) - also: Re: [GRASS5] [bug #3918] (grass) configure syntax error

this bug's URL: http://intevation.de/rt/webrt?serial_num=3953
-------------------------------------------------------------------------

Daniel Calvelo wrote:

On 12/30/05, Markus Neteler <neteler@itc.it> wrote:

In fact, there is a bug in 'configure' which is happily ignored
on RHEL and Mandriva (also others) but not on Debian:

configure, line 1361:
           if test -r /etc/.relid -a "X`uname -n`" = "X`uname -s`" ; then
               system=MP-RAS-`awk '{print }' /etc/.relid'`
           fi
                                  ^- 1 ^- 2 ^- 3

This doesn't look good. My 'vim' does syntax highlighting, so it
was rather easy to find it.

Culprit is in
aclocal.m4: system=MP-RAS-`awk '{print $3}' /etc/.relid'`

Strange, that it existed for years. Also other programs contain it
like that. Maybe it's right? I have commented it in aclocal.m4
and re-generated the configure script. Both is updated in CVS.
   
Well, the syntax error comes from an excess apostrophe; try instead of
commenting it to delete that last ', after .relid and before the
backquote.

It seems there would exist a system for autotools called MP-RAS-XXX
where XXX is contained in that system in a file called /etc/.relid

Thanks Daniel,

fix applied to both 6.1-CVS and 6.0-CVS (for RC2 and 6.0.2 final).

Markus

--- Headers Follow ---

From neteler@itc.it Mon Jan 2 17:41:32 2006

Return-Path: <neteler@itc.it>
Delivered-To: grass-bugs@lists.intevation.de
Received: from mail.intevation.de (aktaia [212.95.126.10])
  by lists.intevation.de (Postfix) with ESMTP id 016D11006D2
  for <grass-bugs@lists.intevation.de>; Mon, 2 Jan 2006 17:41:32 +0100 (CET)
Received: from localhost (localhost [127.0.0.1])
  by mail.intevation.de (Postfix) with ESMTP id 5874036DD2
  for <grass-bugs@lists.intevation.de>; Mon, 2 Jan 2006 17:41:31 +0100 (CET)
Received: from mail.itc.it (ns.itc.it [217.77.80.3])
  by mail.intevation.de (Postfix) with ESMTP id 5482636DD1
  for <grass-bugs@intevation.de>; Mon, 2 Jan 2006 17:41:29 +0100 (CET)
Received: from ntmain.itc.it ([10.0.20.40])
  by mail.itc.it (8.12.11/8.12.11) with SMTP id k02GfRjW002668
  for <grass-bugs@intevation.de>; Mon, 2 Jan 2006 17:41:28 +0100
Received: from orchestra.itc.it ([10.0.10.11])
by ntmain.itc.it (SMSSMTP 4.1.9.35) with SMTP id M2006010217412727284
for <grass-bugs@intevation.de>; Mon, 02 Jan 2006 17:41:27 +0100
Received: from ntmail.itc.it (ntmail [10.0.10.50])
  by orchestra.itc.it (8.12.11/8.12.11) with ESMTP id k02GfR9R026643
  for <grass-bugs@intevation.de>; Mon, 2 Jan 2006 17:41:27 +0100
Received: from [10.40.0.190] ([10.40.0.190]) by ntmail.itc.it with Microsoft SMTPSVC(6.0.3790.1830);
   Mon, 2 Jan 2006 17:41:27 +0100
Message-ID: <43B957B7.9060109@itc.it>
Date: Mon, 02 Jan 2006 17:41:27 +0100
From: Markus Neteler <neteler@itc.it>
User-Agent: Mozilla Thunderbird 1.0.7-1.4.1 (X11/20050929)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Daniel Calvelo <dca.gis@gmail.com>
Cc: Paolo Cavallini <cavallini@faunalia.it>, grasslist@baylor.edu,
  grass5@grass.itc.it, grass-bugs@intevation.de
Subject: Re: [GRASS5] Re: [GRASSLIST:9669] compilation (again) - also: Re:
[GRASS5] [bug #3918] (grass) configure syntax error
References: <200512291747.26014.cavallini@faunalia.it> <20051230090355.GC22822@bartok.itc.it> <200512301131.42931.cavallini@faunalia.it> <20051230144232.GC4233@bartok.itc.it> <1a486f560512301642m578b3ee9x36b1cb09f938323d@mail.gmail.com>
In-Reply-To: <1a486f560512301642m578b3ee9x36b1cb09f938323d@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-OriginalArrivalTime: 02 Jan 2006 16:41:27.0225 (UTC) FILETIME=[6019EA90:01C60FBB]
X-Spam-Status: No, hits=-4.9 tagged_above=-999.0 required=3.0 tests=BAYES_00
X-Spam-Level:

-------------------------------------------- Managed by Request Tracker