[Dune] undefined macro: _m4_divert_diversion

Eike Mueller E.Mueller at bath.ac.uk
Mon Feb 4 17:21:24 CET 2013


Hi Christian,

I'm using the DUNE trunk

dune-common Revision: 7074
dune-geometry Revision: 359
dune-grid Revision: 8749
dune-istl Revision: 1759
dune-localfunctions Revision: 1157

and the following version of autom4te:

eike at hector-xe6-9 $ autom4te --version
autom4te (GNU Autoconf) 2.63
Copyright (C) 2008 Free Software Foundation, Inc.

thanks, Eike


Christian Engwer wrote:
> Which version of dune and aunt are you using?
> 
> Christian
> 
> 
> 
> Eike Mueller <E.Mueller at bath.ac.uk> schrieb:
> 
>> 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/
>>
>> _______________________________________________
>> Dune mailing list
>> Dune at dune-project.org
>> http://lists.dune-project.org/mailman/listinfo/dune
> 


-- 
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