Details Ticket 3918


Comment | Reply | Take | Open


Serial Number 3918
Subject configure syntax error
Area grass6
Queue grass
Requestors pavkamlc@centrum.cz
Owner none
Status resolved
Last User Contact Tue May 16 10:26:24 2006 (2 yr ago)
Current Priority 70
Final Priority 70
Due No date assigned
Last Action Tue May 16 10:26:24 2006 (2 yr ago)
Created Thu Dec 29 19:48:26 2005 (3 yr ago)

Transaction History Ticket 3918


Thu, Dec 29 2005 19:48:26    Request created by guest  
Subject: configure syntax error

Platform: other
grass obtained from: CVS
grass binary for platform: Compiled from Sources

When I try ./configure script I got this error:
checking system version (for dynamic loading)... ./configure: line 12859: syntax
error: unexpected end of file

I use CVS source grass-6.0.cvs_src_snapshot_2005_12_24 and bash as /bin/sh version
"GNU bash, version 3.1.1(1)-release (x86_64-pc-linux-gnu)"
Pavel Mlčoch <pavkamlc@centrum.cz>
Thu, Dec 29 2005 23:29:55    Mail sent by wolf+grass@bergenheim.net  
Return-Path <wolf+grass@bergenheim.net>
Delivered-To grass-bugs@lists.intevation.de
Message-ID <43B46338.3030104@bergenheim.net>
Date Fri, 30 Dec 2005 00:29:12 +0200
From Wolf Bergenheim <wolf+grass@bergenheim.net>
User-Agent Debian Thunderbird 1.0.7 (X11/20051018)
X-Accept-Language en-us, en
MIME-Version 1.0
To Request Tracker <grass-bugs@intevation.de>
Cc grass5@grass.itc.it, pavkamlc@centrum.cz
Subject Re: [GRASS5] [bug #3918] (grass) configure syntax error
References <20051229184826.6AF651005DC@lists.intevation.de>
In-Reply-To <20051229184826.6AF651005DC@lists.intevation.de>
X-Enigmail-Version 0.93.0.0
Content-Type text/plain; charset=ISO-8859-15
Content-Transfer-Encoding 7bit
X-Spam-Status No, hits=-4.9 tagged_above=-999.0 required=3.0 tests=BAYES_00
X-Spam-Level
Hi,

Try executing autoconf in the grass6 root directory. and then try
configure again.

--W

-- 

<:3 )---- Wolf Bergenheim ----( 8:>

On 29/12/05 20:48, Request Tracker wrote:
> this bug's URL: http://intevation.de/rt/webrt?serial_num=3918
> -------------------------------------------------------------------------
> 
> Subject: configure syntax error
> 
> Platform: other
> grass obtained from: CVS
> grass binary for platform: Compiled from Sources
> 
> When I try ./configure script I got this error:
> checking system version (for dynamic loading)... ./configure: line 12859: syntax
error: unexpected end of file
> 
> I use CVS source grass-6.0.cvs_src_snapshot_2005_12_24 and bash as /bin/sh
version "GNU bash, version 3.1.1(1)-release (x86_64-pc-linux-gnu)"
> Pavel Mlčoch <pavkamlc@centrum.cz>
> 
> -------------------------------------------- Managed by Request Tracker
> 
> _______________________________________________
> grass5 mailing list
> grass5@grass.itc.it
> http://grass.itc.it/mailman/listinfo/grass5


Fri, Dec 30 2005 09:59:39    Mail sent by neteler@itc.it  
Return-Path <neteler@itc.it>
Delivered-To grass-bugs@lists.intevation.de
Date Fri, 30 Dec 2005 09:59:31 +0100
From Markus Neteler <neteler@itc.it>
To Wolf Bergenheim <wolf+grass@bergenheim.net>
Cc Request Tracker <grass-bugs@intevation.de>, grass5@grass.itc.it, pavkamlc@centrum.cz
Subject Re: [GRASS5] [bug #3918] (grass) configure syntax error
Message-ID <20051230085931.GB22822@bartok.itc.it>
Mail-Followup-To Wolf Bergenheim <wolf+grass@bergenheim.net>, Request Tracker <grass-bugs@intevation.de>, grass5@grass.itc.it, pavkamlc@centrum.cz
References <20051229184826.6AF651005DC@lists.intevation.de> <43B46338.3030104@bergenheim.net>
Mime-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Disposition inline
In-Reply-To <43B46338.3030104@bergenheim.net>
User-Agent Mutt/1.4.1i
X-PGP-Key http://www.gdf-hannover.de/neteler/markus_gpgkey.asc
X-Spam-Status No, hits=-4.9 tagged_above=-999.0 required=3.0 tests=BAYES_00
X-Spam-Level
On Fri, Dec 30, 2005 at 12:29:12AM +0200, Wolf Bergenheim wrote:
> Hi,
> 
> Try executing autoconf in the grass6 root directory. and then try
> configure again.

this should not be necessary as GRASS should come with a valid
configure file. In any case, autoconf-2.13 should be used.

I just checked it on the server:

wc -l  grass-6.1.cvs_src_snapshot_2005_12_24/configure
  13804 grass-6.1.cvs_src_snapshot_2005_12_24/configure

Line 12859 contains
   eval "ac_cv_header_$ac_safe=yes"

I have no idea what could be wrong.

Markus



 
> --W
> 
> -- 
> 
> <:3 )---- Wolf Bergenheim ----( 8:>
> 
> On 29/12/05 20:48, Request Tracker wrote:
> > this bug's URL: http://intevation.de/rt/webrt?serial_num=3918
> > -------------------------------------------------------------------------
> > 
> > Subject: configure syntax error
> > 
> > Platform: other
> > grass obtained from: CVS
> > grass binary for platform: Compiled from Sources
> > 
> > When I try ./configure script I got this error:
> > checking system version (for dynamic loading)... ./configure: line 12859:
syntax error: unexpected end of file
> > 
> > I use CVS source grass-6.0.cvs_src_snapshot_2005_12_24 and bash as /bin/sh
version "GNU bash, version 3.1.1(1)-release (x86_64-pc-linux-gnu)"
> > Pavel Mlčoch <pavkamlc@centrum.cz>
> > 
> > -------------------------------------------- Managed by Request Tracker
> > 
> > _______________________________________________
> > grass5 mailing list
> > grass5@grass.itc.it
> > http://grass.itc.it/mailman/listinfo/grass5
> 
> _______________________________________________
> grass5 mailing list
> grass5@grass.itc.it
> http://grass.itc.it/mailman/listinfo/grass5

-- 
Markus Neteler     <neteler itc it>       http://mpa.itc.it
ITC-irst -  Centro per la Ricerca Scientifica e Tecnologica
MPBA - Predictive Models for Biol. & Environ. Data Analysis
Via Sommarive, 18        -       38050 Povo (Trento), Italy


Fri, Dec 30 2005 15:42:40    Mail sent by neteler@itc.it  
Return-Path <neteler@itc.it>
Delivered-To grass-bugs@lists.intevation.de
Date Fri, 30 Dec 2005 15:42:32 +0100
From Markus Neteler <neteler@itc.it>
To Paolo Cavallini <cavallini@faunalia.it>
Cc 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
Message-ID <20051230144232.GC4233@bartok.itc.it>
Mail-Followup-To Paolo Cavallini <cavallini@faunalia.it>, grasslist@baylor.edu, grass5@grass.itc.it, grass-bugs@intevation.de
References <200512291747.26014.cavallini@faunalia.it> <20051230090355.GC22822@bartok.itc.it> <200512301131.42931.cavallini@faunalia.it>
Mime-Version 1.0
Content-Type text/plain; charset=iso-8859-1
Content-Disposition inline
Content-Transfer-Encoding 8bit
In-Reply-To <200512301131.42931.cavallini@faunalia.it>
User-Agent Mutt/1.4.1i
X-PGP-Key http://www.gdf-hannover.de/neteler/markus_gpgkey.asc
X-Spam-Status No, hits=-4.9 tagged_above=-999.0 required=3.0 tests=BAYES_00
X-Spam-Level
Ciao Paolo, Pavel,

found it! Details below: 

On Fri, Dec 30, 2005 at 11:31:41AM +0100, Paolo Cavallini wrote:
> At 10:03, venerd́ 30 dicembre 2005, Markus Neteler has probably written:
> > On Thu, Dec 29, 2005 at 05:47:25PM +0100, Paolo Cavallini wrote:
...
> > > checking if 64bit Sparc VIS support is requested... no
> > > checking system version (for dynamic loading)... ./configure: line 13675:
> > > unexpected EOF while looking for matching `''
> > > ./configure: line 13805: syntax error: unexpected end of file
> > > make: *** [config.status] Error 2
> > >
> > > Any hint?

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.

This should also fix bug#3918.
https://intevation.de/rt/webrt?serial_num=3918&display=History

Happy compiling (again),

 Markus

PS: @Paolo:

On Fri, Dec 30, 2005 at 11:31:41AM +0100, Paolo Cavallini wrote:
> It worked after several trials, but only removing a couple of modules
> (r.sim.water r.sim.sediment).

After loggin in, I just compiled the entire on your machine without
problems (but I used 'make' instead of the Debian approach to compile).
Enjoy!


Fri, Dec 30 2005 15:45:07    Status changed to resolved by mneteler  
Sat, Dec 31 2005 01:43:02    Mail sent by dca.gis@gmail.com  
Return-Path <dca.gis@gmail.com>
Delivered-To grass-bugs@lists.intevation.de
DomainKey-Signature a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=ZuxeeiP3m6SGsAnV6+scOlKystvG+vThLUFbXYd/FbEo3wjYqzGo5/dXnqIn3ySRsGoaoccVkCaPM3CVzqzmDQRYgKNetrLY8Xp+iXftmte14QUI43iP/irFOmbiNyHoDBHpGXC3IlxM9y3vguWBKRI0TU+LxH2DDb2Uwtjsf9I=
Message-ID <1a486f560512301642m578b3ee9x36b1cb09f938323d@mail.gmail.com>
Date Fri, 30 Dec 2005 21:42:58 -0300
From Daniel Calvelo <dca.gis@gmail.com>
To 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
In-Reply-To <20051230144232.GC4233@bartok.itc.it>
MIME-Version 1.0
Content-Type text/plain; charset=ISO-8859-1
Content-Transfer-Encoding quoted-printable
Content-Disposition inline
References <200512291747.26014.cavallini@faunalia.it> <20051230090355.GC22822@bartok.itc.it> <200512301131.42931.cavallini@faunalia.it> <20051230144232.GC4233@bartok.itc.it>
X-Spam-Status No, hits=-4.9 tagged_above=-999.0 required=3.0 tests=BAYES_00
X-Spam-Level
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`" =3D "X`uname -s`" ; t=
hen
>                 system=3DMP-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=3DMP-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

Daniel.

-- Daniel Calvelo Aros


Sat, Dec 31 2005 01:43:02    Status changed to open by _rt_system  
Wed, Jan 4 2006 11:42:04    Status changed to resolved by msieczka  
Wed, Jan 4 2006 11:42:04    Mail sent by msieczka  
accordiding to Markus Neteler:
(http://grass.itc.it/pipermail/grass5/2006-January/020634.html)

Thanks Daniel,
fix applied to both 6.1-CVS and 6.0-CVS (for RC2 and 6.0.2 final)


----

Closing it.

Maciek
Tue, May 16 2006 10:26:24    Mail sent by mneteler  
https://intevation.de/rt/webrt?serial_num=3918

I have fixed this bug also in GRASS 5-CVS.

Markus
Comment | Reply | Take | Open

You are currently authenticated as guest.
[Show Configuration] [Login as another user]

Users Guide - Mail Commands - Homepage of RequestTracker 1.0.7 - list any request