<div dir="ltr"><div>By the way, I thought maybe it is useful for you to have the total returned script from<br><br>./dune-common/bin/dunecontrol all<br><br><br></div>which is:<br><br>--- going to build dune-common dune-geometry dune-grid dune-istl dune-localfunctions dune-grid-howto  ---<br>
--- calling all for dune-common ---<br>--- calling autogen for dune-common ---<br>Found am directory /afs/<a href="http://desy.de/user/a/afallahi/workspace/dune-common/am">desy.de/user/a/afallahi/workspace/dune-common/am</a><br>
--> dunedoxynize...<br>Generating doc/doxygen/Doxyfile.in from <br>    global style<br>    and dune-common config<br>    ... done<br>--> libtoolize...<br>libtoolize: putting auxiliary files in `.'.<br>libtoolize: linking file `./ltmain.sh'<br>
libtoolize: You should add the contents of the following files to `aclocal.m4':<br>libtoolize:   `/tools/libtool-2.4.2/share/aclocal/libtool.m4'<br>libtoolize:   `/tools/libtool-2.4.2/share/aclocal/ltoptions.m4'<br>
libtoolize:   `/tools/libtool-2.4.2/share/aclocal/ltversion.m4'<br>libtoolize:   `/tools/libtool-2.4.2/share/aclocal/ltsugar.m4'<br>libtoolize:   `/tools/libtool-2.4.2/share/aclocal/lt~obsolete.m4'<br>libtoolize: Remember to add `LT_INIT' to <a href="http://configure.ac">configure.ac</a>.<br>
libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to <a href="http://configure.ac">configure.ac</a> and<br>libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.<br>libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.<br>
--> writing /afs/<a href="http://desy.de/user/a/afallahi/workspace/dune-common/dependencies.m4">desy.de/user/a/afallahi/workspace/dune-common/dependencies.m4</a><br>    for dune-common 2.2.1beta1 <a href="mailto:dune-devel@dune-project.org">dune-devel@dune-project.org</a><br>
        requires <br>        suggests <br>--> aclocal...<br><a href="http://configure.ac:13">configure.ac:13</a>: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd<br>/afs/<a href="http://desy.de/user/a/afallahi/workspace/dune-common/m4/dune_all.m4:51">desy.de/user/a/afallahi/workspace/dune-common/m4/dune_all.m4:51</a>: DUNE_CHECK_ALL is expanded from...<br>
<a href="http://configure.ac:13">configure.ac:13</a>: the top level<br><a href="http://configure.ac:13">configure.ac:13</a>: warning: AC_DISABLE_SHARED is m4_require'd but not m4_defun'd<br>/afs/<a href="http://desy.de/user/a/afallahi/workspace/dune-common/m4/dune_all.m4:51">desy.de/user/a/afallahi/workspace/dune-common/m4/dune_all.m4:51</a>: DUNE_CHECK_ALL is expanded from...<br>
<a href="http://configure.ac:13">configure.ac:13</a>: the top level<br><a href="http://configure.ac:13">configure.ac:13</a>: warning: AC_PROG_LIBTOOL is m4_require'd but not m4_defun'd<br>/afs/<a href="http://desy.de/user/a/afallahi/workspace/dune-common/m4/dune_all.m4:51">desy.de/user/a/afallahi/workspace/dune-common/m4/dune_all.m4:51</a>: DUNE_CHECK_ALL is expanded from...<br>
<a href="http://configure.ac:13">configure.ac:13</a>: the top level<br><a href="http://configure.ac:13">configure.ac:13</a>: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd<br>/afs/<a href="http://desy.de/user/a/afallahi/workspace/dune-common/m4/dune_common.m4:78">desy.de/user/a/afallahi/workspace/dune-common/m4/dune_common.m4:78</a>: DUNE_COMMON_CHECKS is expanded from...<br>
dependencies.m4:19: DUNE_CHECK_MOD_DEPENDENCIES is expanded from...<br>/afs/<a href="http://desy.de/user/a/afallahi/workspace/dune-common/m4/dune_all.m4:51">desy.de/user/a/afallahi/workspace/dune-common/m4/dune_all.m4:51</a>: DUNE_CHECK_ALL is expanded from...<br>
<a href="http://configure.ac:13">configure.ac:13</a>: the top level<br><a href="http://configure.ac:13">configure.ac:13</a>: warning: AC_PROG_LIBTOOL is m4_require'd but not m4_defun'd<br>/afs/<a href="http://desy.de/user/a/afallahi/workspace/dune-common/m4/dune_common.m4:78">desy.de/user/a/afallahi/workspace/dune-common/m4/dune_common.m4:78</a>: DUNE_COMMON_CHECKS is expanded from...<br>
dependencies.m4:19: DUNE_CHECK_MOD_DEPENDENCIES is expanded from...<br>/afs/<a href="http://desy.de/user/a/afallahi/workspace/dune-common/m4/dune_all.m4:51">desy.de/user/a/afallahi/workspace/dune-common/m4/dune_all.m4:51</a>: DUNE_CHECK_ALL is expanded from...<br>
<a href="http://configure.ac:13">configure.ac:13</a>: the top level<br><a href="http://configure.ac:13">configure.ac:13</a>: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd<br>/afs/<a href="http://desy.de/user/a/afallahi/workspace/dune-common/m4/dune_all.m4:51">desy.de/user/a/afallahi/workspace/dune-common/m4/dune_all.m4:51</a>: DUNE_CHECK_ALL is expanded from...<br>
<a href="http://configure.ac:13">configure.ac:13</a>: the top level<br><a href="http://configure.ac:13">configure.ac:13</a>: warning: AC_DISABLE_SHARED is m4_require'd but not m4_defun'd<br>/afs/<a href="http://desy.de/user/a/afallahi/workspace/dune-common/m4/dune_all.m4:51">desy.de/user/a/afallahi/workspace/dune-common/m4/dune_all.m4:51</a>: DUNE_CHECK_ALL is expanded from...<br>
<a href="http://configure.ac:13">configure.ac:13</a>: the top level<br><a href="http://configure.ac:13">configure.ac:13</a>: warning: AC_PROG_LIBTOOL is m4_require'd but not m4_defun'd<br>/afs/<a href="http://desy.de/user/a/afallahi/workspace/dune-common/m4/dune_all.m4:51">desy.de/user/a/afallahi/workspace/dune-common/m4/dune_all.m4:51</a>: DUNE_CHECK_ALL is expanded from...<br>
<a href="http://configure.ac:13">configure.ac:13</a>: the top level<br><a href="http://configure.ac:13">configure.ac:13</a>: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd<br>/afs/<a href="http://desy.de/user/a/afallahi/workspace/dune-common/m4/dune_common.m4:78">desy.de/user/a/afallahi/workspace/dune-common/m4/dune_common.m4:78</a>: DUNE_COMMON_CHECKS is expanded from...<br>
dependencies.m4:19: DUNE_CHECK_MOD_DEPENDENCIES is expanded from...<br>/afs/<a href="http://desy.de/user/a/afallahi/workspace/dune-common/m4/dune_all.m4:51">desy.de/user/a/afallahi/workspace/dune-common/m4/dune_all.m4:51</a>: DUNE_CHECK_ALL is expanded from...<br>
<a href="http://configure.ac:13">configure.ac:13</a>: the top level<br><a href="http://configure.ac:13">configure.ac:13</a>: warning: AC_PROG_LIBTOOL is m4_require'd but not m4_defun'd<br>/afs/<a href="http://desy.de/user/a/afallahi/workspace/dune-common/m4/dune_common.m4:78">desy.de/user/a/afallahi/workspace/dune-common/m4/dune_common.m4:78</a>: DUNE_COMMON_CHECKS is expanded from...<br>
dependencies.m4:19: DUNE_CHECK_MOD_DEPENDENCIES is expanded from...<br>/afs/<a href="http://desy.de/user/a/afallahi/workspace/dune-common/m4/dune_all.m4:51">desy.de/user/a/afallahi/workspace/dune-common/m4/dune_all.m4:51</a>: DUNE_CHECK_ALL is expanded from...<br>
<a href="http://configure.ac:13">configure.ac:13</a>: the top level<br>--> autoheader...<br><a href="http://configure.ac:13">configure.ac:13</a>: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd<br>
aclocal.m4:2015: DUNE_CHECK_ALL is expanded from...<br><a href="http://configure.ac:13">configure.ac:13</a>: the top level<br><a href="http://configure.ac:13">configure.ac:13</a>: warning: AC_DISABLE_SHARED is m4_require'd but not m4_defun'd<br>
aclocal.m4:2015: DUNE_CHECK_ALL is expanded from...<br><a href="http://configure.ac:13">configure.ac:13</a>: the top level<br><a href="http://configure.ac:13">configure.ac:13</a>: warning: AC_PROG_LIBTOOL is m4_require'd but not m4_defun'd<br>
aclocal.m4:2015: DUNE_CHECK_ALL is expanded from...<br><a href="http://configure.ac:13">configure.ac:13</a>: the top level<br><a href="http://configure.ac:13">configure.ac:13</a>: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd<br>
aclocal.m4:2257: DUNE_COMMON_CHECKS is expanded from...<br>dependencies.m4:19: DUNE_CHECK_MOD_DEPENDENCIES is expanded from...<br>aclocal.m4:2015: DUNE_CHECK_ALL is expanded from...<br><a href="http://configure.ac:13">configure.ac:13</a>: the top level<br>
<a href="http://configure.ac:13">configure.ac:13</a>: warning: AC_PROG_LIBTOOL is m4_require'd but not m4_defun'd<br>aclocal.m4:2257: DUNE_COMMON_CHECKS is expanded from...<br>dependencies.m4:19: DUNE_CHECK_MOD_DEPENDENCIES is expanded from...<br>
aclocal.m4:2015: DUNE_CHECK_ALL is expanded from...<br><a href="http://configure.ac:13">configure.ac:13</a>: the top level<br>--> automake...<br><a href="http://configure.ac:13">configure.ac:13</a>: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd<br>
aclocal.m4:2015: DUNE_CHECK_ALL is expanded from...<br><a href="http://configure.ac:13">configure.ac:13</a>: the top level<br><a href="http://configure.ac:13">configure.ac:13</a>: warning: AC_DISABLE_SHARED is m4_require'd but not m4_defun'd<br>
aclocal.m4:2015: DUNE_CHECK_ALL is expanded from...<br><a href="http://configure.ac:13">configure.ac:13</a>: the top level<br><a href="http://configure.ac:13">configure.ac:13</a>: warning: AC_PROG_LIBTOOL is m4_require'd but not m4_defun'd<br>
aclocal.m4:2015: DUNE_CHECK_ALL is expanded from...<br><a href="http://configure.ac:13">configure.ac:13</a>: the top level<br><a href="http://configure.ac:13">configure.ac:13</a>: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd<br>
aclocal.m4:2257: DUNE_COMMON_CHECKS is expanded from...<br>dependencies.m4:19: DUNE_CHECK_MOD_DEPENDENCIES is expanded from...<br>aclocal.m4:2015: DUNE_CHECK_ALL is expanded from...<br><a href="http://configure.ac:13">configure.ac:13</a>: the top level<br>
<a href="http://configure.ac:13">configure.ac:13</a>: warning: AC_PROG_LIBTOOL is m4_require'd but not m4_defun'd<br>aclocal.m4:2257: DUNE_COMMON_CHECKS is expanded from...<br>dependencies.m4:19: DUNE_CHECK_MOD_DEPENDENCIES is expanded from...<br>
aclocal.m4:2015: DUNE_CHECK_ALL is expanded from...<br><a href="http://configure.ac:13">configure.ac:13</a>: the top level<br><a href="http://configure.ac:13">configure.ac:13</a>: warning: The 'AM_PROG_MKDIR_P' macro is deprecated, and will soon be removed.<br>
<a href="http://configure.ac:13">configure.ac:13</a>: You should use the Autoconf-provided 'AC_PROG_MKDIR_P' macro instead,<br><a href="http://configure.ac:13">configure.ac:13</a>: and use '$(MKDIR_P)' instead of '$(mkdir_p)'in your Makefile.am files.<br>
<a href="http://configure.ac:13">configure.ac:13</a>: installing './config.guess'<br><a href="http://configure.ac:13">configure.ac:13</a>: installing './config.sub'<br><a href="http://configure.ac:5">configure.ac:5</a>: installing './install-sh'<br>
<a href="http://configure.ac:5">configure.ac:5</a>: installing './missing'<br>dune/common/Makefile.am:6: error: Libtool library used but 'LIBTOOL' is undefined<br>dune/common/Makefile.am:6:   The usual way to define 'LIBTOOL' is to add 'LT_INIT'<br>
dune/common/Makefile.am:6:   to '<a href="http://configure.ac">configure.ac</a>' and run 'aclocal' and 'autoconf' again.<br>dune/common/Makefile.am:6:   If 'LT_INIT' is in '<a href="http://configure.ac">configure.ac</a>', make sure<br>
dune/common/Makefile.am:6:   its definition is in aclocal's search path.<br>dune/common/Makefile.am: installing './depcomp'<br>parallel-tests: installing './test-driver'<br>lib/Makefile.am:8: error: Libtool library used but 'LIBTOOL' is undefined<br>
lib/Makefile.am:8:   The usual way to define 'LIBTOOL' is to add 'LT_INIT'<br>lib/Makefile.am:8:   to '<a href="http://configure.ac">configure.ac</a>' and run 'aclocal' and 'autoconf' again.<br>
lib/Makefile.am:8:   If 'LT_INIT' is in '<a href="http://configure.ac">configure.ac</a>', make sure<br>lib/Makefile.am:8:   its definition is in aclocal's search path.<br>--- Failed to build dune-common ---<br>
<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Feb 15, 2013 at 11:51 AM, Arya Fallahi <span dir="ltr"><<a href="mailto:arya.fallahi@gmail.com" target="_blank">arya.fallahi@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div><div><div><div>Dear Dune support team,<br><br></div>Trying to install dune on a server, I faced with a problem which I would like to first ask you before changing the configure files in Dune.<br>

<br></div>I downloaded the latest version of dune using svn. Particularly for dune-common where I received the problem, I have:<br><br>svn info dune-common<br>Path: dune-common<br>URL: <a href="https://svn.dune-project.org/svn/dune-common/branches/release-2.2" target="_blank">https://svn.dune-project.org/svn/dune-common/branches/release-2.2</a><br>

Repository Root: <a href="https://svn.dune-project.org/svn/dune-common" target="_blank">https://svn.dune-project.org/svn/dune-common</a><br>Repository UUID: 419231ca-4411-0410-aba2-fc6cf8c4f609<br>Revision: 7124<br>Node Kind: directory<br>

Schedule: normal<br>Last Changed Author: mblatt<br>Last Changed Rev: 7109<br>Last Changed Date: 2013-02-07 13:44:27 +0100 (Thu, 07 Feb 2013)<br><br></div>the version of libtool and automake I am also using is:<br><br>libtool --version<br>

libtool (GNU libtool) 2.4.2<br>Written by Gordon Matzigkeit <<a href="mailto:gord@gnu.ai.mit.edu" target="_blank">gord@gnu.ai.mit.edu</a>>, 1996<br><br>automake --version<br>automake (GNU automake) 1.13<br><br></div>
when I first tried to compile dune, I received the following error message:<br>
<br>autoheader: error: AC_CONFIG_HEADERS not found in <a href="http://configure.ac" target="_blank">configure.ac</a><br>--- Failed to build dune-common ---<br><br></div>Based on the quote from "info automake optional", which returns:<br>

<br>`AC_CONFIG_HEADERS'<br>     Automake will generate rules to rebuild these headers.  Older<br>     versions of Automake required the use of `AM_CONFIG_HEADER' (*note<br>     Macros::); this is no longer the case today.<br>

<br></div>I changed the AM_CONFIG_HEADER to AC_CONFIG_HEADER in <a href="http://configure.ac" target="_blank">configure.ac</a> by myself. However, I then received the following error message:<br><br><a href="http://configure.ac:13" target="_blank">configure.ac:13</a>: installing './config.guess'<br>

<a href="http://configure.ac:13" target="_blank">configure.ac:13</a>: installing './config.sub'<br><a href="http://configure.ac:5" target="_blank">configure.ac:5</a>: installing './install-sh'<br><a href="http://configure.ac:5" target="_blank">configure.ac:5</a>: installing './missing'<br>

dune/common/Makefile.am:6: error: Libtool library used but 'LIBTOOL' is undefined<br>dune/common/Makefile.am:6:   The usual way to define 'LIBTOOL' is to add 'LT_INIT'<br>dune/common/Makefile.am:6:   to '<a href="http://configure.ac" target="_blank">configure.ac</a>' and run 'aclocal' and 'autoconf' again.<br>

dune/common/Makefile.am:6:   If 'LT_INIT' is in '<a href="http://configure.ac" target="_blank">configure.ac</a>', make sure<br>dune/common/Makefile.am:6:   its definition is in aclocal's search path.<br>
dune/common/Makefile.am: installing './depcomp'<br>
parallel-tests: installing './test-driver'<br>lib/Makefile.am:8: error: Libtool library used but 'LIBTOOL' is undefined<br>lib/Makefile.am:8:   The usual way to define 'LIBTOOL' is to add 'LT_INIT'<br>

lib/Makefile.am:8:   to '<a href="http://configure.ac" target="_blank">configure.ac</a>' and run 'aclocal' and 'autoconf' again.<br>lib/Makefile.am:8:   If 'LT_INIT' is in '<a href="http://configure.ac" target="_blank">configure.ac</a>', make sure<br>

lib/Makefile.am:8:   its definition is in aclocal's search path.<br>--- Failed to build dune-common ---<br><br></div>I could go further to change the <a href="http://configure.ac" target="_blank">configure.ac</a> file. However, I believe the Dune team probably had already faced with these problems and know a better way to deal with it. So, my question is that should I really change the configure files. If yes, is it any reason why LT_INIT is not added to the <a href="http://configure.ac" target="_blank">configure.ac</a>?<br>

<br></div>Thank you very much for your help and assistance and best regards,<br>Arya<br><div><div><div><div><div><br><br><div><br><br></div></div></div></div></div></div></div>
</blockquote></div><br></div>