#447 configure fails with mawk instead of gawk installed
Metadata
| Property | Value |
|---|---|
| Reported by | Felix Albrecht (felix.albrecht@uni-muenster.de) |
| Reported at | Oct 27, 2008 10:08 |
| Type | Bug Report |
| Version | Git (pre2.4) [autotools] |
| Operating System | Linux |
| Last edited by | Christian Engwer (christi@conan.iwr.uni-heidelberg.de) |
| Last edited at | Oct 29, 2008 15:36 |
| Closed by | Christian Engwer (christi@conan.iwr.uni-heidelberg.de) |
| Closed at | Oct 29, 2008 15:36 |
| Closed in version | Unknown |
| Resolution | Fixed |
| Comment | was fixed in 5306. |
duplicate code in dune-fem was/is not uptodate. |
Description
./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!