[Dune] Buildsystem or autotools fail
Christian Engwer
christi at uni-hd.de
Wed Jul 2 18:07:32 CEST 2008
On Wed, Jul 02, 2008 at 05:42:31PM +0200, Uli Sack wrote:
> Christian Engwer wrote:
> > You you do me a a favour and do an rgrep from the
> >m4depends command? Thanks.
>
> dune/dune-common$ rgrep m4depends *
> autom4te.cache/traces.0:
> _DUNE_MODULE_DEPENDENCIES(m4_esyscmd(dunecontrol --only=$@ m4depends))])
> dune/autom4te.cache/traces.0:
> _DUNE_MODULE_DEPENDENCIES(m4_esyscmd(dunecontrol --only=$@ m4depends))])
> dune/dune-common.m4: _DUNE_MODULE_DEPENDENCIES(m4_esyscmd(dunecontrol
> --only=$@ m4depends))])
> grep: Warnung: dune/dune: Rekursive Verzeichnisschleife.
>
> dune-common.m4: _DUNE_MODULE_DEPENDENCIES(m4_esyscmd(dunecontrol
> --only=$@ m4depends))])
>
> >The way to fix this is to remove all
> >unnecessary m4 files.
>
> Are they ALL unnecessary, or can I damage something by simply removing
> all .m4 files?
usually a rm -rf autom4te.cache should do it, but that is what
dune-autobuild is supposed to do anyway.
dune-common.m4 should not be there at all. I added some code to
dune-autogen to remove $MODNAME.m4 aswell. Could you try the attached
patch?
Christian
-------------- next part --------------
Index: bin/dune-autogen
===================================================================
--- bin/dune-autogen (Revision 5223)
+++ bin/dune-autogen (Arbeitskopie)
@@ -16,6 +16,7 @@
## dune-all.m4
rm -f dune-all.m4
+rm -f $name.m4
# add current dir to PATH
PATH=`dirname $0`:$PATH
More information about the Dune
mailing list