[Dune] installing dune with libtool 2.4.2

Martin Nolte nolte at mathematik.uni-freiburg.de
Fri Feb 15 13:10:13 CET 2013


Hi Arya,

could you file a proper bug report (on FlySpray)? The mail will be forgotten 
in about 2 days.

Best,

Martin

On 02/15/2013 11:56 AM, Arya Fallahi wrote:
> By the way, I thought maybe it is useful for you to have the total returned
> script from
>
> ./dune-common/bin/dunecontrol all
>
>
> which is:
>
> --- going to build dune-common dune-geometry dune-grid dune-istl
> dune-localfunctions dune-grid-howto  ---
> --- calling all for dune-common ---
> --- calling autogen for dune-common ---
> Found am directory /afs/desy.de/user/a/afallahi/workspace/dune-common/am
> <http://desy.de/user/a/afallahi/workspace/dune-common/am>
> --> dunedoxynize...
> Generating doc/doxygen/Doxyfile.in from
>      global style
>      and dune-common 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:   `/tools/libtool-2.4.2/share/aclocal/libtool.m4'
> libtoolize:   `/tools/libtool-2.4.2/share/aclocal/ltoptions.m4'
> libtoolize:   `/tools/libtool-2.4.2/share/aclocal/ltversion.m4'
> libtoolize:   `/tools/libtool-2.4.2/share/aclocal/ltsugar.m4'
> libtoolize:   `/tools/libtool-2.4.2/share/aclocal/lt~obsolete.m4'
> libtoolize: Remember to add `LT_INIT' to configure.ac <http://configure.ac>.
> libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac
> <http://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 /afs/desy.de/user/a/afallahi/workspace/dune-common/dependencies.m4
> <http://desy.de/user/a/afallahi/workspace/dune-common/dependencies.m4>
>      for dune-common 2.2.1beta1 dune-devel at dune-project.org
> <mailto:dune-devel at dune-project.org>
>          requires
>          suggests
> --> aclocal...
> configure.ac:13 <http://configure.ac:13>: warning: PKG_PROG_PKG_CONFIG is
> m4_require'd but not m4_defun'd
> /afs/desy.de/user/a/afallahi/workspace/dune-common/m4/dune_all.m4:51
> <http://desy.de/user/a/afallahi/workspace/dune-common/m4/dune_all.m4:51>:
> DUNE_CHECK_ALL is expanded from...
> configure.ac:13 <http://configure.ac:13>: the top level
> configure.ac:13 <http://configure.ac:13>: warning: AC_DISABLE_SHARED is
> m4_require'd but not m4_defun'd
> /afs/desy.de/user/a/afallahi/workspace/dune-common/m4/dune_all.m4:51
> <http://desy.de/user/a/afallahi/workspace/dune-common/m4/dune_all.m4:51>:
> DUNE_CHECK_ALL is expanded from...
> configure.ac:13 <http://configure.ac:13>: the top level
> configure.ac:13 <http://configure.ac:13>: warning: AC_PROG_LIBTOOL is
> m4_require'd but not m4_defun'd
> /afs/desy.de/user/a/afallahi/workspace/dune-common/m4/dune_all.m4:51
> <http://desy.de/user/a/afallahi/workspace/dune-common/m4/dune_all.m4:51>:
> DUNE_CHECK_ALL is expanded from...
> configure.ac:13 <http://configure.ac:13>: the top level
> configure.ac:13 <http://configure.ac:13>: warning: PKG_PROG_PKG_CONFIG is
> m4_require'd but not m4_defun'd
> /afs/desy.de/user/a/afallahi/workspace/dune-common/m4/dune_common.m4:78
> <http://desy.de/user/a/afallahi/workspace/dune-common/m4/dune_common.m4:78>:
> DUNE_COMMON_CHECKS is expanded from...
> dependencies.m4:19: DUNE_CHECK_MOD_DEPENDENCIES is expanded from...
> /afs/desy.de/user/a/afallahi/workspace/dune-common/m4/dune_all.m4:51
> <http://desy.de/user/a/afallahi/workspace/dune-common/m4/dune_all.m4:51>:
> DUNE_CHECK_ALL is expanded from...
> configure.ac:13 <http://configure.ac:13>: the top level
> configure.ac:13 <http://configure.ac:13>: warning: AC_PROG_LIBTOOL is
> m4_require'd but not m4_defun'd
> /afs/desy.de/user/a/afallahi/workspace/dune-common/m4/dune_common.m4:78
> <http://desy.de/user/a/afallahi/workspace/dune-common/m4/dune_common.m4:78>:
> DUNE_COMMON_CHECKS is expanded from...
> dependencies.m4:19: DUNE_CHECK_MOD_DEPENDENCIES is expanded from...
> /afs/desy.de/user/a/afallahi/workspace/dune-common/m4/dune_all.m4:51
> <http://desy.de/user/a/afallahi/workspace/dune-common/m4/dune_all.m4:51>:
> DUNE_CHECK_ALL is expanded from...
> configure.ac:13 <http://configure.ac:13>: the top level
> configure.ac:13 <http://configure.ac:13>: warning: PKG_PROG_PKG_CONFIG is
> m4_require'd but not m4_defun'd
> /afs/desy.de/user/a/afallahi/workspace/dune-common/m4/dune_all.m4:51
> <http://desy.de/user/a/afallahi/workspace/dune-common/m4/dune_all.m4:51>:
> DUNE_CHECK_ALL is expanded from...
> configure.ac:13 <http://configure.ac:13>: the top level
> configure.ac:13 <http://configure.ac:13>: warning: AC_DISABLE_SHARED is
> m4_require'd but not m4_defun'd
> /afs/desy.de/user/a/afallahi/workspace/dune-common/m4/dune_all.m4:51
> <http://desy.de/user/a/afallahi/workspace/dune-common/m4/dune_all.m4:51>:
> DUNE_CHECK_ALL is expanded from...
> configure.ac:13 <http://configure.ac:13>: the top level
> configure.ac:13 <http://configure.ac:13>: warning: AC_PROG_LIBTOOL is
> m4_require'd but not m4_defun'd
> /afs/desy.de/user/a/afallahi/workspace/dune-common/m4/dune_all.m4:51
> <http://desy.de/user/a/afallahi/workspace/dune-common/m4/dune_all.m4:51>:
> DUNE_CHECK_ALL is expanded from...
> configure.ac:13 <http://configure.ac:13>: the top level
> configure.ac:13 <http://configure.ac:13>: warning: PKG_PROG_PKG_CONFIG is
> m4_require'd but not m4_defun'd
> /afs/desy.de/user/a/afallahi/workspace/dune-common/m4/dune_common.m4:78
> <http://desy.de/user/a/afallahi/workspace/dune-common/m4/dune_common.m4:78>:
> DUNE_COMMON_CHECKS is expanded from...
> dependencies.m4:19: DUNE_CHECK_MOD_DEPENDENCIES is expanded from...
> /afs/desy.de/user/a/afallahi/workspace/dune-common/m4/dune_all.m4:51
> <http://desy.de/user/a/afallahi/workspace/dune-common/m4/dune_all.m4:51>:
> DUNE_CHECK_ALL is expanded from...
> configure.ac:13 <http://configure.ac:13>: the top level
> configure.ac:13 <http://configure.ac:13>: warning: AC_PROG_LIBTOOL is
> m4_require'd but not m4_defun'd
> /afs/desy.de/user/a/afallahi/workspace/dune-common/m4/dune_common.m4:78
> <http://desy.de/user/a/afallahi/workspace/dune-common/m4/dune_common.m4:78>:
> DUNE_COMMON_CHECKS is expanded from...
> dependencies.m4:19: DUNE_CHECK_MOD_DEPENDENCIES is expanded from...
> /afs/desy.de/user/a/afallahi/workspace/dune-common/m4/dune_all.m4:51
> <http://desy.de/user/a/afallahi/workspace/dune-common/m4/dune_all.m4:51>:
> DUNE_CHECK_ALL is expanded from...
> configure.ac:13 <http://configure.ac:13>: the top level
> --> autoheader...
> configure.ac:13 <http://configure.ac:13>: warning: PKG_PROG_PKG_CONFIG is
> m4_require'd but not m4_defun'd
> aclocal.m4:2015: DUNE_CHECK_ALL is expanded from...
> configure.ac:13 <http://configure.ac:13>: the top level
> configure.ac:13 <http://configure.ac:13>: warning: AC_DISABLE_SHARED is
> m4_require'd but not m4_defun'd
> aclocal.m4:2015: DUNE_CHECK_ALL is expanded from...
> configure.ac:13 <http://configure.ac:13>: the top level
> configure.ac:13 <http://configure.ac:13>: warning: AC_PROG_LIBTOOL is
> m4_require'd but not m4_defun'd
> aclocal.m4:2015: DUNE_CHECK_ALL is expanded from...
> configure.ac:13 <http://configure.ac:13>: the top level
> configure.ac:13 <http://configure.ac:13>: warning: PKG_PROG_PKG_CONFIG is
> m4_require'd but not m4_defun'd
> aclocal.m4:2257: DUNE_COMMON_CHECKS is expanded from...
> dependencies.m4:19: DUNE_CHECK_MOD_DEPENDENCIES is expanded from...
> aclocal.m4:2015: DUNE_CHECK_ALL is expanded from...
> configure.ac:13 <http://configure.ac:13>: the top level
> configure.ac:13 <http://configure.ac:13>: warning: AC_PROG_LIBTOOL is
> m4_require'd but not m4_defun'd
> aclocal.m4:2257: DUNE_COMMON_CHECKS is expanded from...
> dependencies.m4:19: DUNE_CHECK_MOD_DEPENDENCIES is expanded from...
> aclocal.m4:2015: DUNE_CHECK_ALL is expanded from...
> configure.ac:13 <http://configure.ac:13>: the top level
> --> automake...
> configure.ac:13 <http://configure.ac:13>: warning: PKG_PROG_PKG_CONFIG is
> m4_require'd but not m4_defun'd
> aclocal.m4:2015: DUNE_CHECK_ALL is expanded from...
> configure.ac:13 <http://configure.ac:13>: the top level
> configure.ac:13 <http://configure.ac:13>: warning: AC_DISABLE_SHARED is
> m4_require'd but not m4_defun'd
> aclocal.m4:2015: DUNE_CHECK_ALL is expanded from...
> configure.ac:13 <http://configure.ac:13>: the top level
> configure.ac:13 <http://configure.ac:13>: warning: AC_PROG_LIBTOOL is
> m4_require'd but not m4_defun'd
> aclocal.m4:2015: DUNE_CHECK_ALL is expanded from...
> configure.ac:13 <http://configure.ac:13>: the top level
> configure.ac:13 <http://configure.ac:13>: warning: PKG_PROG_PKG_CONFIG is
> m4_require'd but not m4_defun'd
> aclocal.m4:2257: DUNE_COMMON_CHECKS is expanded from...
> dependencies.m4:19: DUNE_CHECK_MOD_DEPENDENCIES is expanded from...
> aclocal.m4:2015: DUNE_CHECK_ALL is expanded from...
> configure.ac:13 <http://configure.ac:13>: the top level
> configure.ac:13 <http://configure.ac:13>: warning: AC_PROG_LIBTOOL is
> m4_require'd but not m4_defun'd
> aclocal.m4:2257: DUNE_COMMON_CHECKS is expanded from...
> dependencies.m4:19: DUNE_CHECK_MOD_DEPENDENCIES is expanded from...
> aclocal.m4:2015: DUNE_CHECK_ALL is expanded from...
> configure.ac:13 <http://configure.ac:13>: the top level
> configure.ac:13 <http://configure.ac:13>: warning: The 'AM_PROG_MKDIR_P' macro
> is deprecated, and will soon be removed.
> configure.ac:13 <http://configure.ac:13>: You should use the Autoconf-provided
> 'AC_PROG_MKDIR_P' macro instead,
> configure.ac:13 <http://configure.ac:13>: and use '$(MKDIR_P)' instead of
> '$(mkdir_p)'in your Makefile.am files.
> configure.ac:13 <http://configure.ac:13>: installing './config.guess'
> configure.ac:13 <http://configure.ac:13>: installing './config.sub'
> configure.ac:5 <http://configure.ac:5>: installing './install-sh'
> configure.ac:5 <http://configure.ac:5>: installing './missing'
> dune/common/Makefile.am:6: error: Libtool library used but 'LIBTOOL' is undefined
> dune/common/Makefile.am:6:   The usual way to define 'LIBTOOL' is to add 'LT_INIT'
> dune/common/Makefile.am:6:   to 'configure.ac <http://configure.ac>' and run
> 'aclocal' and 'autoconf' again.
> dune/common/Makefile.am:6:   If 'LT_INIT' is in 'configure.ac
> <http://configure.ac>', make sure
> dune/common/Makefile.am:6:   its definition is in aclocal's search path.
> dune/common/Makefile.am: installing './depcomp'
> parallel-tests: installing './test-driver'
> lib/Makefile.am:8: error: Libtool library used but 'LIBTOOL' is undefined
> lib/Makefile.am:8:   The usual way to define 'LIBTOOL' is to add 'LT_INIT'
> lib/Makefile.am:8:   to 'configure.ac <http://configure.ac>' and run 'aclocal'
> and 'autoconf' again.
> lib/Makefile.am:8:   If 'LT_INIT' is in 'configure.ac <http://configure.ac>',
> make sure
> lib/Makefile.am:8:   its definition is in aclocal's search path.
> --- Failed to build dune-common ---
>
>
>
> On Fri, Feb 15, 2013 at 11:51 AM, Arya Fallahi <arya.fallahi at gmail.com
> <mailto:arya.fallahi at gmail.com>> wrote:
>
>     Dear Dune support team,
>
>     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.
>
>     I downloaded the latest version of dune using svn. Particularly for
>     dune-common where I received the problem, I have:
>
>     svn info dune-common
>     Path: dune-common
>     URL: https://svn.dune-project.org/svn/dune-common/branches/release-2.2
>     Repository Root: https://svn.dune-project.org/svn/dune-common
>     Repository UUID: 419231ca-4411-0410-aba2-fc6cf8c4f609
>     Revision: 7124
>     Node Kind: directory
>     Schedule: normal
>     Last Changed Author: mblatt
>     Last Changed Rev: 7109
>     Last Changed Date: 2013-02-07 13:44:27 +0100 (Thu, 07 Feb 2013)
>
>     the version of libtool and automake I am also using is:
>
>     libtool --version
>     libtool (GNU libtool) 2.4.2
>     Written by Gordon Matzigkeit <gord at gnu.ai.mit.edu
>     <mailto:gord at gnu.ai.mit.edu>>, 1996
>
>     automake --version
>     automake (GNU automake) 1.13
>
>     when I first tried to compile dune, I received the following error message:
>
>     autoheader: error: AC_CONFIG_HEADERS not found in configure.ac
>     <http://configure.ac>
>     --- Failed to build dune-common ---
>
>     Based on the quote from "info automake optional", which returns:
>
>     `AC_CONFIG_HEADERS'
>           Automake will generate rules to rebuild these headers.  Older
>           versions of Automake required the use of `AM_CONFIG_HEADER' (*note
>           Macros::); this is no longer the case today.
>
>     I changed the AM_CONFIG_HEADER to AC_CONFIG_HEADER in configure.ac
>     <http://configure.ac> by myself. However, I then received the following
>     error message:
>
>     configure.ac:13 <http://configure.ac:13>: installing './config.guess'
>     configure.ac:13 <http://configure.ac:13>: installing './config.sub'
>     configure.ac:5 <http://configure.ac:5>: installing './install-sh'
>     configure.ac:5 <http://configure.ac:5>: installing './missing'
>     dune/common/Makefile.am:6: error: Libtool library used but 'LIBTOOL' is
>     undefined
>     dune/common/Makefile.am:6:   The usual way to define 'LIBTOOL' is to add
>     'LT_INIT'
>     dune/common/Makefile.am:6:   to 'configure.ac <http://configure.ac>' and
>     run 'aclocal' and 'autoconf' again.
>     dune/common/Makefile.am:6:   If 'LT_INIT' is in 'configure.ac
>     <http://configure.ac>', make sure
>     dune/common/Makefile.am:6:   its definition is in aclocal's search path.
>     dune/common/Makefile.am: installing './depcomp'
>     parallel-tests: installing './test-driver'
>     lib/Makefile.am:8: error: Libtool library used but 'LIBTOOL' is undefined
>     lib/Makefile.am:8:   The usual way to define 'LIBTOOL' is to add 'LT_INIT'
>     lib/Makefile.am:8:   to 'configure.ac <http://configure.ac>' and run
>     'aclocal' and 'autoconf' again.
>     lib/Makefile.am:8:   If 'LT_INIT' is in 'configure.ac
>     <http://configure.ac>', make sure
>     lib/Makefile.am:8:   its definition is in aclocal's search path.
>     --- Failed to build dune-common ---
>
>     I could go further to change the configure.ac <http://configure.ac> 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 configure.ac <http://configure.ac>?
>
>     Thank you very much for your help and assistance and best regards,
>     Arya
>
>
>
>
>
>
>
> _______________________________________________
> Dune mailing list
> Dune at dune-project.org
> http://lists.dune-project.org/mailman/listinfo/dune
>

-- 
Dr. Martin Nolte <nolte at mathematik.uni-freiburg.de>

Universität Freiburg                                   phone: +49-761-203-5630
Abteilung für angewandte Mathematik                    fax:   +49-761-203-5632
Hermann-Herder-Straße 10
79104 Freiburg, Germany




More information about the Dune mailing list