[Dune] crash in configure step of dune-grid

Steffen Müthing steffen.muething at iwr.uni-heidelberg.de
Mon Jan 27 16:44:43 CET 2014


Hi Benedikt,

Am 27.01.2014 um 16:22 schrieb Benedikt Oswald <benedikt.oswald at lspr.ch>:

> Dear Dune,
> 
> when trying to configure / compile, using
> 
> dune-common		from dune-project
> dune-geometrry	from github
> dune-grid			from github
> dune-grid-howto	from dune-project
> 
> the configure process within dune-grid crashes,
> cf.output below.
> 
> platform: MAC OS X 10.9.1
> compiler: gcc 4.8.1
> 
> Any suggestion what is going wrong ?

autoconf doesn’t find the PKG_PROG_PKG_CONFIG macro. Did you install your GCC
via Macports? If yes, did you install the Macports versions of automake, autoconf and pkg-config?
Apple ships some of those tools, but they are horribly outdated and don’t work correctly…

Steffen

> 
> Thanks and greetings, Benedikt
> 
> 
> 
> 
> 
> --- calling all for dune-grid ---
> --- calling vcsetup for dune-grid ---
> --- calling autogen for dune-grid ---
> Found am directory /Users/oswald/gitwork/hades-github/dune-common/am
> --> dunedoxynize...
> Generating doc/doxygen/Doxyfile.in from 
> global style
> and dune-grid config
> ... done
> --> libtoolize...
> libtoolize: putting auxiliary files in `.'.
> libtoolize: linking file `./ltmain.sh'
> 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 /Users/oswald/gitwork/hades-github/dune-grid/dependencies.m4
> for dune-grid 2.3-svn dune-devel at dune-project.org
>     requires  dune-common >= 2.3  dune-geometry >= 2.3 
>     suggests 
> --> aclocal...
> configure.ac:13: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd
> /Users/oswald/gitwork/hades-github/dune-common/m4/dune_all.m4:51: DUNE_CHECK_ALL is expanded from...
> configure.ac:13: the top level
> configure.ac:13: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd
> /Users/oswald/gitwork/hades-github/dune-common/m4/dune_common.m4:78: DUNE_COMMON_CHECKS is expanded from...
> dependencies.m4:35: DUNE_CHECK_MOD_DEPENDENCIES is expanded from...
> /Users/oswald/gitwork/hades-github/dune-common/m4/dune_all.m4:51: DUNE_CHECK_ALL is expanded from...
> configure.ac:13: the top level
> configure.ac:13: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd
> /Users/oswald/gitwork/hades-github/dune-common/m4/dune.m4:526: DUNE_CHECK_MODULES is expanded from...
> /Users/oswald/gitwork/hades-github/dune-common/m4/dune_common.m4:87: DUNE_COMMON_CHECK_MODULE is expanded from...
> dependencies.m4:35: DUNE_CHECK_MOD_DEPENDENCIES is expanded from...
> /Users/oswald/gitwork/hades-github/dune-common/m4/dune_all.m4:51: DUNE_CHECK_ALL is expanded from...
> configure.ac:13: the top level
> configure.ac:13: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd
> /Users/oswald/gitwork/hades-github/dune-common/m4/dune.m4:526: DUNE_CHECK_MODULES is expanded from...
> /Users/oswald/gitwork/hades-github/dune-geometry/m4/dune-geometry.m4:22: DUNE_GEOMETRY_CHECK_MODULE is expanded from...
> dependencies.m4:35: DUNE_CHECK_MOD_DEPENDENCIES is expanded from...
> /Users/oswald/gitwork/hades-github/dune-common/m4/dune_all.m4:51: DUNE_CHECK_ALL is expanded from...
> configure.ac:13: the top level
> configure.ac:13: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd
> /Users/oswald/gitwork/hades-github/dune-common/m4/dune_all.m4:51: DUNE_CHECK_ALL is expanded from...
> configure.ac:13: the top level
> configure.ac:13: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd
> /Users/oswald/gitwork/hades-github/dune-common/m4/dune_common.m4:78: DUNE_COMMON_CHECKS is expanded from...
> dependencies.m4:35: DUNE_CHECK_MOD_DEPENDENCIES is expanded from...
> /Users/oswald/gitwork/hades-github/dune-common/m4/dune_all.m4:51: DUNE_CHECK_ALL is expanded from...
> configure.ac:13: the top level
> configure.ac:13: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd
> /Users/oswald/gitwork/hades-github/dune-common/m4/dune.m4:526: DUNE_CHECK_MODULES is expanded from...
> /Users/oswald/gitwork/hades-github/dune-common/m4/dune_common.m4:87: DUNE_COMMON_CHECK_MODULE is expanded from...
> dependencies.m4:35: DUNE_CHECK_MOD_DEPENDENCIES is expanded from...
> /Users/oswald/gitwork/hades-github/dune-common/m4/dune_all.m4:51: DUNE_CHECK_ALL is expanded from...
> configure.ac:13: the top level
> configure.ac:13: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd
> /Users/oswald/gitwork/hades-github/dune-common/m4/dune.m4:526: DUNE_CHECK_MODULES is expanded from...
> /Users/oswald/gitwork/hades-github/dune-geometry/m4/dune-geometry.m4:22: DUNE_GEOMETRY_CHECK_MODULE is expanded from...
> dependencies.m4:35: DUNE_CHECK_MOD_DEPENDENCIES is expanded from...
> /Users/oswald/gitwork/hades-github/dune-common/m4/dune_all.m4:51: DUNE_CHECK_ALL is expanded from...
> configure.ac:13: the top level
> --> linking dune-common/am...
> --> autoheader...
> configure.ac:13: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd
> aclocal.m4:12935: DUNE_CHECK_ALL is expanded from...
> configure.ac:13: the top level
> configure.ac:13: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd
> aclocal.m4:13195: DUNE_COMMON_CHECKS is expanded from...
> dependencies.m4:35: DUNE_CHECK_MOD_DEPENDENCIES is expanded from...
> aclocal.m4:12935: DUNE_CHECK_ALL is expanded from...
> configure.ac:13: the top level
> configure.ac:13: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd
> aclocal.m4:12884: DUNE_CHECK_MODULES is expanded from...
> aclocal.m4:13204: DUNE_COMMON_CHECK_MODULE is expanded from...
> dependencies.m4:35: DUNE_CHECK_MOD_DEPENDENCIES is expanded from...
> aclocal.m4:12935: DUNE_CHECK_ALL is expanded from...
> configure.ac:13: the top level
> configure.ac:13: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd
> aclocal.m4:12884: DUNE_CHECK_MODULES is expanded from...
> aclocal.m4:11104: DUNE_GEOMETRY_CHECK_MODULE is expanded from...
> dependencies.m4:35: DUNE_CHECK_MOD_DEPENDENCIES is expanded from...
> aclocal.m4:12935: DUNE_CHECK_ALL is expanded from...
> configure.ac:13: the top level
> --> automake...
> configure.ac:13: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd
> aclocal.m4:12935: DUNE_CHECK_ALL is expanded from...
> configure.ac:13: the top level
> configure.ac:13: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd
> aclocal.m4:13195: DUNE_COMMON_CHECKS is expanded from...
> dependencies.m4:35: DUNE_CHECK_MOD_DEPENDENCIES is expanded from...
> aclocal.m4:12935: DUNE_CHECK_ALL is expanded from...
> configure.ac:13: the top level
> configure.ac:13: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd
> aclocal.m4:12884: DUNE_CHECK_MODULES is expanded from...
> aclocal.m4:13204: DUNE_COMMON_CHECK_MODULE is expanded from...
> dependencies.m4:35: DUNE_CHECK_MOD_DEPENDENCIES is expanded from...
> aclocal.m4:12935: DUNE_CHECK_ALL is expanded from...
> configure.ac:13: the top level
> configure.ac:13: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd
> aclocal.m4:12884: DUNE_CHECK_MODULES is expanded from...
> aclocal.m4:11104: DUNE_GEOMETRY_CHECK_MODULE is expanded from...
> dependencies.m4:35: DUNE_CHECK_MOD_DEPENDENCIES is expanded from...
> aclocal.m4:12935: DUNE_CHECK_ALL is expanded from...
> configure.ac:13: the top level
> am/top-rules:22: warning: user target 'distclean-libtool' defined here ...
> Makefile.am:31:   'am/top-rules' included from here
> /Users/oswald/extlib/automake/1.14/gcc/4.8.1/share/automake-1.14/am/libtool.am: ... overrides Automake target 'distclean-libtool' defined here
> --> autoconf...
> configure.ac:13: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd
> aclocal.m4:12935: DUNE_CHECK_ALL is expanded from...
> configure.ac:13: the top level
> configure.ac:13: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd
> aclocal.m4:13195: DUNE_COMMON_CHECKS is expanded from...
> dependencies.m4:35: DUNE_CHECK_MOD_DEPENDENCIES is expanded from...
> aclocal.m4:12935: DUNE_CHECK_ALL is expanded from...
> configure.ac:13: the top level
> configure.ac:13: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd
> aclocal.m4:12884: DUNE_CHECK_MODULES is expanded from...
> aclocal.m4:13204: DUNE_COMMON_CHECK_MODULE is expanded from...
> dependencies.m4:35: DUNE_CHECK_MOD_DEPENDENCIES is expanded from...
> aclocal.m4:12935: DUNE_CHECK_ALL is expanded from...
> configure.ac:13: the top level
> configure.ac:13: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd
> aclocal.m4:12884: DUNE_CHECK_MODULES is expanded from...
> aclocal.m4:11104: DUNE_GEOMETRY_CHECK_MODULE is expanded from...
> dependencies.m4:35: DUNE_CHECK_MOD_DEPENDENCIES is expanded from...
> aclocal.m4:12935: DUNE_CHECK_ALL is expanded from...
> configure.ac:13: the top level
> configure:35746: error: possibly undefined macro: AC_DEFINE
>   If this token and others are legitimate, please use m4_pattern_allow.
>   See the Autoconf documentation.
> configure:35752: error: possibly undefined macro: AC_MSG_RESULT
> configure:35754: error: possibly undefined macro: AC_MSG_WARN
> --- Failed to build dune-grid ---
> Terminating dunecontrol due to previous errors!
> 
> 
> 
> --------------------------------------------------------------------------------------------------------------------------------------------------------------
> Dr. sc. techn. Benedikt Oswald - first engineer - LSPR AG - phone - +41 43 366 90 74
> Technoparkstrasse 1, CH-8005 Zürich, benedikt.oswald at lspr.ch - 'Ambition is a dream with a V8 engine', The KING
> --------------------------------------------------------------------------------------------------------------------------------------------------------------
> 
> _______________________________________________
> Dune mailing list
> Dune at dune-project.org
> http://lists.dune-project.org/mailman/listinfo/dune

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 495 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <https://lists.dune-project.org/pipermail/dune/attachments/20140127/e9f2943a/attachment.sig>


More information about the Dune mailing list