[Dune] Buidsystem question: make am--refresh behavior

dan.popovic at iwr.uni-heidelberg.de dan.popovic at iwr.uni-heidelberg.de
Fri Nov 19 18:32:01 CET 2010


> Hi Dan,
>
> A) please send a copy of
>   /disk3/NeuroDune/dpopovic/dune-2.0/neurodune/Makefile.am
>
> B) please try the following:
>   change dune-common/bin/dune-autogen line 124:
> aclocal$AMVERSION -I . $ACLOCAL_FLAGS
>   to
> aclocal$AMVERSION -I $PWD $ACLOCAL_FLAGS
>
>   Reconfigure your module, then touch one of the m4 files (or what
>   ever is needed to trigger the am--refresh) and test if it helped.
>
> Ciao
> Christian


Dear Christian,

A) you find attached (Makefile.am of application root directory)

B) I tried that out with the following results. Note that
/disk3/NeuroDUNE/dpopovic is my home directory /home/dpopovic, its a
network storage. In the last error message, /home/dan was a spurious old
user name with which I was logged in -- but I could reproduce the previous
error logged in with my new NIS account. This are my results with your
change:

dpopovic at maxplanck2-desktop:/disk3/NeuroDune/dpopovic/dune-2.0/neurodune/samples/passive$
make
cd ../.. && make  am--refresh
make[1]: Entering directory `/disk3/NeuroDune/dpopovic/dune-2.0/neurodune'
CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/bash
/home/dpopovic/dune-2.0/neurodune/missing --run aclocal-1.11 -I . -I
/home/dpopovic/dune-2.0/dune-common-2.0/m4 -I
/home/dpopovic/dune-2.0/dune-grid-2.0/m4 -I
/home/dpopovic/dune-2.0/dune-istl-2.0/m4
configure.ac:10: warning: NEURODUNE_CHECKS is m4_require'd but not m4_defun'd
dependencies.m4:15: DUNE_CHECK_MOD_DEPENDENCIES is expanded from...
/home/dpopovic/dune-2.0/dune-common-2.0/m4/dune_all.m4:11: DUNE_CHECK_ALL
is expanded from...
configure.ac:10: the top level
 cd . && /bin/bash /home/dpopovic/dune-2.0/neurodune/missing --run
automake-1.11 --foreign
configure.ac:10: warning: NEURODUNE_CHECKS is m4_require'd but not m4_defun'd

Thank you for your help!

Greetings,
Dan


> On Fri, Nov 19, 2010 at 01:49:04PM -0100, Dan Popovic IWR wrote:
>> Dear dune,
>>
>> from time to time, when I try to rebuild a folder in my dune
>> application,
>> a 'make am--refresh' is called. This results in my applications checks
>> not
>> invoked into the build process (NEURODUNE_CHECKS is m4require'd but not
>> defun'd):
>>
>> dan at mp2:/home/dan/dune-2.0/neurodune/samples/passive$ make
>> cd ../.. && make  am--refresh
>> make[1]: Entering directory
>> `/disk3/NeuroDune/dpopovic/dune-2.0/neurodune'
>> CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/bash
>> /home/dpopovic/dune-2.0/neurodune/missing --run aclocal-1.11 -I . -I
>> /home/dpopovic/dune-2.0/dune-common-2.0/m4 -I
>> /home/dpopovic/dune-2.0/dune-grid-2.0/m4 -I
>> /home/dpopovic/dune-2.0/dune-istl-2.0/m4
>> configure.ac:10: warning: NEURODUNE_CHECKS is m4_require'd but not
>> m4_defun'd
>>
>> It is not clear to me when and why this happens. Is it my fault or
>> deterministic build system behavior? Thanks for an answer and please
>> tell
>> me if I can supply additional information such as config.log. Have a
>> nice
>> day!
>>
>> Dan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Makefile.am
Type: application/octet-stream
Size: 514 bytes
Desc: not available
URL: <https://lists.dune-project.org/pipermail/dune/attachments/20101119/c0bfa81e/attachment.obj>


More information about the Dune mailing list