[Dune] [#447] configure fails with mawk instead of gawk installed

Dune dune at dune-project.org
Mon Oct 27 11:08:13 CET 2008


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

A new Flyspray task has been opened.  Details are below. 

User who did this - Felix Albrecht (felixalbrecht) 

Attached to Project - Dune
Summary - configure fails with mawk instead of gawk installed
Task Type - Bug Report
Category - FEM
Status - Unconfirmed
Assigned To - 
Operating System - Linux
Severity - Low
Priority - Normal
Reported Version - SVN
Due in Version - Undecided
Due Date - Undecided
Details - ./dune-common/bin/dunecontrol --only=dune-fem --opts=config.opts configure

fails on a standard installation of ubuntu 8.04 32 with the following error:

awk: line 1: syntax error at or near ,
awk: line 1: syntax error at or near ,
awk: line 1: syntax error at or near ,
configure:34032: error: Cannot parse dune-fem version: 0.9.2

corresponding lines 34027 - 34029 are:

DUNE_FEM_VERSION_MAJOR="`echo $DUNE_FEM_VERSION | awk '{ split($0,s,"."); match(s[1],/[[[:digit:]]]*/,n); print n[0] }'`"
DUNE_FEM_VERSION_MINOR="`echo $DUNE_FEM_VERSION | awk '{ split($0,s,"."); match(s[2],/[[[:digit:]]]*/,n); print n[0] }'`"
DUNE_FEM_VERSION_REVISION="`echo $DUNE_FEM_VERSION | awk '{ split($0,s,"."); match(s[3],/[[[:digit:]]]*/,n); print n[0] }'`"

This fails because ubuntu comes with an installation of mawk 1.3.3-11ubuntu2.
Deinstalling mawk and installting gawk 3.1.6 solves the problem!


More information can be found at the following URL:
http://www.dune-project.org/flyspray/index.php?do=details&task_id=447

You are receiving this message because you have requested it from the Flyspray bugtracking system.  If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.




More information about the Dune mailing list