[Dune] configure error(dune-grid-howto)

Guo Hua hua.guo at inf.ethz.ch
Fri Feb 12 10:43:49 CET 2010


Hi Jö 

Thanks for the reply. But I am afraid the same error still exits after I run twice or even more...

"
--- calling all for dune-grid-howto ---
--- calling autogen for dune-grid-howto ---
Found am directory /home2/guo/svnwork/dune/dune-common/am
--> dunedoxynize...
--> libtoolize...
Remember to add `AC_PROG_LIBTOOL' to `configure.ac'.
--> writing dependencies.m4
    for dune-grid-howto 2.1-svn dune at dune-project.org
        requires  dune-common >= 2.1  dune-grid >= 2.1  dune-istl >= 2.1
--> aclocal...
configure.ac:45: warning: DUNE_GRID_HOWTO_CHECKS is m4_require'd but is not m4_defun'd
configure.ac:45: DUNE_GRID_HOWTO_CHECKS is required by...
dependencies.m4:42: DUNE_CHECK_MOD_DEPENDENCIES is expanded from...
configure.ac:45: DUNE_CHECK_MOD_DEPENDENCIES is required by...
/home2/guo/svnwork/dune/dune-common/m4/dune_all.m4:58: DUNE_CHECK_ALL is expanded from...
configure.ac:45: the top level
--> linking dune-common/am...
--> autoheader...
configure.ac:45: warning: DUNE_GRID_HOWTO_CHECKS is m4_require'd but is not m4_defun'd
configure.ac:45: DUNE_GRID_HOWTO_CHECKS is required by...
dependencies.m4:42: DUNE_CHECK_MOD_DEPENDENCIES is expanded from...
configure.ac:45: DUNE_CHECK_MOD_DEPENDENCIES is required by...
aclocal.m4:9964: DUNE_CHECK_ALL is expanded from...
configure.ac:45: the top level
--> automake...
configure.ac:45: warning: DUNE_GRID_HOWTO_CHECKS is m4_require'd but is not m4_defun'd
configure.ac:45: DUNE_GRID_HOWTO_CHECKS is required by...
dependencies.m4:42: DUNE_CHECK_MOD_DEPENDENCIES is expanded from...
configure.ac:45: DUNE_CHECK_MOD_DEPENDENCIES is required by...
aclocal.m4:9964: DUNE_CHECK_ALL is expanded from...
configure.ac:45: the top level
doc/Makefile.am:47: `%'-style pattern rules are a GNU make extension
doc/Makefile.am:63: `:='-style assignments are not portable
--> autoconf...
configure.ac:45: warning: DUNE_GRID_HOWTO_CHECKS is m4_require'd but is not m4_defun'd
configure.ac:45: DUNE_GRID_HOWTO_CHECKS is required by...
dependencies.m4:42: DUNE_CHECK_MOD_DEPENDENCIES is expanded from...
configure.ac:45: DUNE_CHECK_MOD_DEPENDENCIES is required by...
aclocal.m4:9964: DUNE_CHECK_ALL is expanded from...
configure.ac:45: the top level
Now run ./configure to setup dune-grid-howto
--- calling configure for dune-grid-howto ---
----- using default flags $CONFIGURE_FLAGS from /home2/guo/svnwork/dune/dunecontrol.opts -----
./configure CC=mpicc CXX=mpicxx --with-alugrid=/home2/guo/scratch2-extlib-felsim/ALUGrid-1.22-mpi-openmpi-1.2.6 --enable-parallel --enable-static "--with-dune-common=/home2/guo/svnwork/dune/dune-common/" "--with-dune-grid=/home2/guo/svnwork/dune/dune-grid/" "--with-dune-istl=/home2/guo/svnwork/dune/dune-istl/" ACLOCAL_AMFLAGS="-I . -I /home2/guo/svnwork/dune/dune-common/m4 -I /home2/guo/svnwork/dune/dune-grid/m4 -I /home2/guo/svnwork/dune/dune-istl/m4"
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking how to create a pax tar archive... gnutar
configure: error: cannot find macro directory `m4'
--- Failed to build dune-grid-howto ---
Execution of dunecontrol terminated due to errors!
"

Cheers
Hua





-----Original Message-----
From: Jö Fahlke [mailto:jorrit at jorrit.de]
Sent: Thu 2/11/2010 7:29 PM
To: Guo  Hua
Cc: dune at dune-project.org
Subject: Re: [Dune] configure error(dune-grid-howto)
 
Am Thu, 11. Feb 2010, 17:34:16 +0100 schrieb Guo  Hua:
> I have such configre error when building "dune-grid-howto":
> "
> Now run ./configure to setup dune-grid-howto
> --- calling configure for dune-grid-howto ---
> ----- using default flags $CONFIGURE_FLAGS from /home2/guo/svnwork/dune/dunecontrol.opts -----
> ./configure CC=mpicc CXX=mpicxx --with-alugrid=/home2/guo/scratch2-extlib-felsim/ALUGrid-1.22-mpi-openmpi-1.2.6 --enable-parallel --enable-static "--with-dune-common=/home2/guo/svnwork/dune/dune-common/" "--with-dune-grid=/home2/guo/svnwork/dune/dune-grid/" "--with-dune-istl=/home2/guo/svnwork/dune/dune-istl/" ACLOCAL_AMFLAGS="-I . -I /home2/guo/svnwork/dune/dune-common/m4 -I /home2/guo/svnwork/dune/dune-grid/m4 -I /home2/guo/svnwork/dune/dune-istl/m4"
> checking for a BSD-compatible install... /usr/bin/install -c
> checking whether build environment is sane... yes
> checking for gawk... gawk
> checking whether make sets $(MAKE)... yes
> checking how to create a pax tar archive... gnutar
> configure: error: cannot find macro directory `m4'
> "
> 
> Building the dune-common, dune-grid and dune-istl all went through successfully, so it seems it is not the problem of autoconf or automake?

That is in principle a known issue, although it is not recorded anywhere.  The
workaround is to call dunecontrol twice: it will fail the first time but
should work OK the second time.

Would you be so kind to file this issue as a bug in flyspry so we won't forget
it?

Bye,
Jö.

-- 
http://www.heise.de/tp/deutsch/inhalt/te/17529/1.html
"Wer nichts zu verbergen hat, kann auch seine echte Emailadresse
angeben." -- Luke321 im Telepolis-Forum






More information about the Dune mailing list