Details Ticket 883


Comment | Reply | Take | Open


Serial Number 883
Subject configure dosn't look for yacc
Area bug
Queue grass
Requestors aaime@libero.it
Owner none
Status resolved
Last User Contact Fri Jan 4 18:06:24 2002 (7 yr ago)
Current Priority 30
Final Priority 70
Due No date assigned
Last Action Sun Jan 6 10:02:30 2002 (7 yr ago)
Created Fri Dec 21 09:08:42 2001 (7 yr ago)

Transaction History Ticket 883


Fri, Dec 21 2001 09:08:42    Request created by guest  
Subject: configure dosn't look for yacc

Platform: Linux/Intel
Linux distro: RedHat
linux cpu: Intel (i486, i586, pentium ...)
Xwindows version: Xfree 4.0.x
Xwindows manager: KDE 2.x
TclTk version: tcl/tk 8.3
grass downloaded at: CVS Server, Germany
grass binary for platform: I compiled the sources myself
grass sources source: yes, I am using the latest GRASS from CVS
c compiler name: gcc

configure doesn't assure that yacc is installed on the
system, so at the make stage programs that depend on
yacc fail to compile (like r.mapcalc)... 
it is possible to look it in the error.log file and
then test with gmake5, but 
it would be better if configure could test it since it 
is a requirement for compilation...
Fri, Dec 21 2001 19:24:56    Mail sent by glynn.clements@virgin.net  
Return-Path <glynn.clements@virgin.net>
Delivered-To grass-bugs@lists.intevation.de
From Glynn Clements <glynn.clements@virgin.net>
MIME-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Transfer-Encoding 7bit
Message-ID <15395.32019.179567.657668@cerise.nosuchdomain.co.uk>
Date Fri, 21 Dec 2001 18:18:59 +0000
To Request Tracker <grass-bugs@intevation.de>
Cc grass5@grass.itc.it
Subject Re: [GRASS5] [bug #883] (grass) configure dosn't look for yacc
In-Reply-To <20011221080842.621DB13A14@lists.intevation.de>
References <20011221080842.621DB13A14@lists.intevation.de>
X-Mailer VM 6.94 under 21.4 (patch 4) "Artificial Intelligence (candidate #1)" XEmacs Lucid
X-Spam-Status No, hits=0 required=5 tests=
Request Tracker wrote:

> configure doesn't assure that yacc is installed on the
> system, so at the make stage programs that depend on
> yacc fail to compile (like r.mapcalc)... 

I've added checks for lex and yacc.

-- 
Glynn Clements <glynn.clements@virgin.net>


Fri, Jan 4 2002 17:48:07    Status changed to resolved by mneteler  
Fri, Jan 4 2002 18:06:24    Mail sent by neteler@itc.it  
Return-Path <neteler@itc.it>
Delivered-To grass-bugs@lists.intevation.de
Resent-Message-Id <200201041706.g04H6DO15290@thuille.itc.it.>
From Markus Neteler <neteler@itc.it>
To grass5@grass.itc.it
Subject Re: [GRASS5] [bug #883] (grass) configure dosn't look for yacc
Message-ID <20020104175332.W3608@itc.it>
Mail-Followup-To grass5@grass.itc.it
References <20011221080842.621DB13A14@lists.intevation.de> <15395.32185.917761.490219@cerise.nosuchdomain.co.uk>
Mime-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Disposition inline
User-Agent Mutt/1.2.5i
In-Reply-To <15395.32185.917761.490219@cerise.nosuchdomain.co.uk>; from glynn.clements@virgin.net on Fri, Dec 21, 2001 at 06:21:45PM +0000
Sender grass5-admin@grass.itc.it
Errors-To grass5-admin@grass.itc.it
X-BeenThere grass5@grass.itc.it
X-Mailman-Version 2.0.5
Precedence bulk
List-Help <mailto:grass5-request@grass.itc.it?subject=help>
List-Post <mailto:grass5@grass.itc.it>
List-Subscribe <http://grass.itc.it/mailman/listinfo/grass5>, <mailto:grass5-request@grass.itc.it?subject=subscribe>
List-Id GRASS 5 Developers mailing list <grass5.grass.itc.it>
List-Unsubscribe <http://grass.itc.it/mailman/listinfo/grass5>, <mailto:grass5-request@grass.itc.it?subject=unsubscribe>
List-Archive <http://grass.itc.it/pipermail/grass5/>
Date Fri, 4 Jan 2002 17:53:32 +0100
Resent-From neteler@itc.it
Resent-Date Fri, 4 Jan 2002 18:06:13 +0100
Resent-To grass-bugs@intevation.de
X-Spam-Status No, hits=0 required=5 tests=
On Fri, Dec 21, 2001 at 06:21:45PM +0000, Glynn Clements wrote:
> 
> On the subject of lex/flex, configure.in currently has the following:
> 
> if test "$LEX" != "flex"; then
>     AC_MSG_WARN([Consider installation of flex (replacement of lex).])
> fi
> 
> Does anyone know the reason for this message?
> 
> If the .l files *need* flex, then this should be an error. OTOH, if
> they work with lex, there doesn't seem much point in issuing a
> warning.

Glynn,

the reason is that we had problems with "yylineno" in the past (if
I recall properly). In:
src/raster/r.binfer/binfer.l

Flex provides something which is not always provided by lex.
Mhhh, long time ago.

Markus
_______________________________________________
grass5 mailing list
grass5@grass.itc.it
http://grass.itc.it/mailman/listinfo/grass5


Fri, Jan 4 2002 18:06:24    Status changed to open by _rt_system  
Sun, Jan 6 2002 10:02:30    Status changed to resolved by gclements  
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