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

Markus Neteler neteler at itc.it
Fri Dec 30 09:42:32 EST 2005


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!




More information about the grass-dev mailing list