[Dune] crash in configure step of dune-grid

Benedikt Oswald benedikt.oswald at lspr.ch
Mon Jan 27 17:38:05 CET 2014


Hi Steffen,

in fact, I installed pkg-config myself:

/Users/oswald/extlib/pkg-config/0.28/gcc/4.8.1/bin/pkg-config

odysseus:hades-github oswald$ pkg-config --version
0.28

I also installed gcc 4.8.1 from sources on my system.


In fact, it only crashes in dune-grid but runs through dune-geometry.

Would this not imply that pkg-config works ok ?



As a cross check I ran the build process with cmake which runs through nicely.

Greetings,Benedikt


On 27 Jan 2014, at 16:44, Steffen Müthing <steffen.muething at iwr.uni-heidelberg.de> wrote:

> 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 --------------
An HTML attachment was scrubbed...
URL: <https://lists.dune-project.org/pipermail/dune/attachments/20140127/2b7f5455/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 841 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <https://lists.dune-project.org/pipermail/dune/attachments/20140127/2b7f5455/attachment.sig>


More information about the Dune mailing list