[Dune] undefined macro: _m4_divert_diversion

Eike Mueller E.Mueller at bath.ac.uk
Mon Feb 4 17:07:52 CET 2013


Dear dune list,

I'm just trying to recompile my DUNE code and I get the following error message when running autogen:

eike at hector-xe6-9 $ dunecontrol --opts=config_hector_DEBUG.opts --only=geometricmultigrid autogen
--- going to build geometricmultigrid  ---
--- calling autogen for geometricmultigrid ---
--> dunedoxynize...
Generating doc/doxygen/Doxyfile.in from
     global style
     and geometricmultigrid config
     ... done
--> libtoolize...
libtoolize: putting auxiliary files in `.'.
libtoolize: linking file `./ltmain.sh'
libtoolize: You should add the contents of the following files to `aclocal.m4':
libtoolize:   `/usr/share/aclocal/libtool.m4'
libtoolize:   `/usr/share/aclocal/ltoptions.m4'
libtoolize:   `/usr/share/aclocal/ltversion.m4'
libtoolize:   `/usr/share/aclocal/ltsugar.m4'
libtoolize:   `/usr/share/aclocal/lt~obsolete.m4'
libtoolize: Remember to add `LT_INIT' to configure.ac.
libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac and
libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
--> writing /home/n02/n02/eike/svn_gungho_workspace/DUNEGeometricMultigrid/trunk/geometricmultigrid/dependencies.m4
     for geometricmultigrid 0.1 e.mueller at bath.ac.uk
         requires  dune-common   dune-grid   dune-istl   dune-metagrid
         suggests
WARNING: could not find module dune-freiburg,
        module is also unknown to pkg-config.
        Maybe you need to adjust PKG_CONFIG_PATH!
        dune-freiburg is suggested by dune-metagrid
Skipping dune-freiburg!
--> aclocal...
configure.ac:5: error: m4_defn: undefined macro: _m4_divert_diversion
configure.ac:5: the top level
autom4te: /usr/bin/m4 failed with exit status: 1
aclocal: autom4te failed with exit status: 1
--- Failed to build geometricmultigrid ---
Terminating dunecontrol due to previous errors!

I have done a make clean before and it worked before, so I'm a bit lost at what might be going wrong here.

Thanks a lot,

Eike

-- 
Dr Eike Mueller
Research Officer

Department of Mathematical Sciences
University of Bath
Bath BA2 7AY, United Kingdom

+44 1225 38 5633
e.mueller at bath.ac.uk
http://people.bath.ac.uk/em459/




More information about the Dune mailing list