<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Hi Steffen,<div><br></div><div>in fact, I installed pkg-config myself:</div><div><br></div><div><div style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(214, 214, 214); background-color: rgb(43, 43, 43);">/Users/oswald/extlib/pkg-config/0.28/gcc/4.8.1/bin/pkg-config</div></div><div><br></div><div><div style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(214, 214, 214); background-color: rgb(43, 43, 43);">odysseus:hades-github oswald$ pkg-config --version</div><div style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(214, 214, 214); background-color: rgb(43, 43, 43);">0.28</div></div><div><br></div><div>I also installed gcc 4.8.1 from sources on my system.</div><div><br></div><div><br></div><div>In fact, it only crashes in dune-grid but runs through dune-geometry.</div><div><br></div><div>Would this not imply that pkg-config works ok ?</div><div><br></div><div><br></div><div><br></div><div>As a cross check I ran the build process with cmake which runs through nicely.</div><div><br></div><div>Greetings,Benedikt</div><div><br></div><div><br><div><div>On 27 Jan 2014, at 16:44, Steffen Müthing <<a href="mailto:steffen.muething@iwr.uni-heidelberg.de">steffen.muething@iwr.uni-heidelberg.de</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Hi Benedikt,<br><br>Am 27.01.2014 um 16:22 schrieb Benedikt Oswald <<a href="mailto:benedikt.oswald@lspr.ch">benedikt.oswald@lspr.ch</a>>:<br><br><blockquote type="cite">Dear Dune,<br><br>when trying to configure / compile, using<br><br>dune-common<span class="Apple-tab-span" style="white-space:pre">    </span><span class="Apple-tab-span" style="white-space:pre">    </span>from dune-project<br>dune-geometrry<span class="Apple-tab-span" style="white-space:pre">   </span>from github<br>dune-grid<span class="Apple-tab-span" style="white-space:pre">      </span><span class="Apple-tab-span" style="white-space:pre">    </span><span class="Apple-tab-span" style="white-space:pre">    </span>from github<br>dune-grid-howto<span class="Apple-tab-span" style="white-space:pre">        </span>from dune-project<br><br>the configure process within dune-grid crashes,<br>cf.output below.<br><br>platform: MAC OS X 10.9.1<br>compiler: gcc 4.8.1<br><br>Any suggestion what is going wrong ?<br></blockquote><br>autoconf doesn’t find the PKG_PROG_PKG_CONFIG macro. Did you install your GCC<br>via Macports? If yes, did you install the Macports versions of automake, autoconf and pkg-config?<br>Apple ships some of those tools, but they are horribly outdated and don’t work correctly…<br><br>Steffen<br><br><blockquote type="cite"><br>Thanks and greetings, Benedikt<br><br><br><br><br><br>--- calling all for dune-grid ---<br>--- calling vcsetup for dune-grid ---<br>--- calling autogen for dune-grid ---<br>Found am directory /Users/oswald/gitwork/hades-github/dune-common/am<br>--> dunedoxynize...<br>Generating doc/doxygen/Doxyfile.in from <br>global style<br>and dune-grid config<br>... done<br>--> libtoolize...<br>libtoolize: putting auxiliary files in `.'.<br>libtoolize: linking file `./ltmain.sh'<br>libtoolize: Remember to add `LT_INIT' to configure.ac.<br>libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac 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 /Users/oswald/gitwork/hades-github/dune-grid/dependencies.m4<br>for dune-grid 2.3-svn <a href="mailto:dune-devel@dune-project.org">dune-devel@dune-project.org</a><br>    requires  dune-common >= 2.3  dune-geometry >= 2.3 <br>    suggests <br>--> aclocal...<br>configure.ac:13: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd<br>/Users/oswald/gitwork/hades-github/dune-common/m4/dune_all.m4:51: DUNE_CHECK_ALL is expanded from...<br>configure.ac:13: the top level<br>configure.ac:13: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd<br>/Users/oswald/gitwork/hades-github/dune-common/m4/dune_common.m4:78: DUNE_COMMON_CHECKS is expanded from...<br>dependencies.m4:35: DUNE_CHECK_MOD_DEPENDENCIES is expanded from...<br>/Users/oswald/gitwork/hades-github/dune-common/m4/dune_all.m4:51: DUNE_CHECK_ALL is expanded from...<br>configure.ac:13: the top level<br>configure.ac:13: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd<br>/Users/oswald/gitwork/hades-github/dune-common/m4/dune.m4:526: DUNE_CHECK_MODULES is expanded from...<br>/Users/oswald/gitwork/hades-github/dune-common/m4/dune_common.m4:87: DUNE_COMMON_CHECK_MODULE is expanded from...<br>dependencies.m4:35: DUNE_CHECK_MOD_DEPENDENCIES is expanded from...<br>/Users/oswald/gitwork/hades-github/dune-common/m4/dune_all.m4:51: DUNE_CHECK_ALL is expanded from...<br>configure.ac:13: the top level<br>configure.ac:13: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd<br>/Users/oswald/gitwork/hades-github/dune-common/m4/dune.m4:526: DUNE_CHECK_MODULES is expanded from...<br>/Users/oswald/gitwork/hades-github/dune-geometry/m4/dune-geometry.m4:22: DUNE_GEOMETRY_CHECK_MODULE is expanded from...<br>dependencies.m4:35: DUNE_CHECK_MOD_DEPENDENCIES is expanded from...<br>/Users/oswald/gitwork/hades-github/dune-common/m4/dune_all.m4:51: DUNE_CHECK_ALL is expanded from...<br>configure.ac:13: the top level<br>configure.ac:13: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd<br>/Users/oswald/gitwork/hades-github/dune-common/m4/dune_all.m4:51: DUNE_CHECK_ALL is expanded from...<br>configure.ac:13: the top level<br>configure.ac:13: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd<br>/Users/oswald/gitwork/hades-github/dune-common/m4/dune_common.m4:78: DUNE_COMMON_CHECKS is expanded from...<br>dependencies.m4:35: DUNE_CHECK_MOD_DEPENDENCIES is expanded from...<br>/Users/oswald/gitwork/hades-github/dune-common/m4/dune_all.m4:51: DUNE_CHECK_ALL is expanded from...<br>configure.ac:13: the top level<br>configure.ac:13: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd<br>/Users/oswald/gitwork/hades-github/dune-common/m4/dune.m4:526: DUNE_CHECK_MODULES is expanded from...<br>/Users/oswald/gitwork/hades-github/dune-common/m4/dune_common.m4:87: DUNE_COMMON_CHECK_MODULE is expanded from...<br>dependencies.m4:35: DUNE_CHECK_MOD_DEPENDENCIES is expanded from...<br>/Users/oswald/gitwork/hades-github/dune-common/m4/dune_all.m4:51: DUNE_CHECK_ALL is expanded from...<br>configure.ac:13: the top level<br>configure.ac:13: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd<br>/Users/oswald/gitwork/hades-github/dune-common/m4/dune.m4:526: DUNE_CHECK_MODULES is expanded from...<br>/Users/oswald/gitwork/hades-github/dune-geometry/m4/dune-geometry.m4:22: DUNE_GEOMETRY_CHECK_MODULE is expanded from...<br>dependencies.m4:35: DUNE_CHECK_MOD_DEPENDENCIES is expanded from...<br>/Users/oswald/gitwork/hades-github/dune-common/m4/dune_all.m4:51: DUNE_CHECK_ALL is expanded from...<br>configure.ac:13: the top level<br>--> linking dune-common/am...<br>--> autoheader...<br>configure.ac:13: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd<br>aclocal.m4:12935: DUNE_CHECK_ALL is expanded from...<br>configure.ac:13: the top level<br>configure.ac:13: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd<br>aclocal.m4:13195: DUNE_COMMON_CHECKS is expanded from...<br>dependencies.m4:35: DUNE_CHECK_MOD_DEPENDENCIES is expanded from...<br>aclocal.m4:12935: DUNE_CHECK_ALL is expanded from...<br>configure.ac:13: the top level<br>configure.ac:13: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd<br>aclocal.m4:12884: DUNE_CHECK_MODULES is expanded from...<br>aclocal.m4:13204: DUNE_COMMON_CHECK_MODULE is expanded from...<br>dependencies.m4:35: DUNE_CHECK_MOD_DEPENDENCIES is expanded from...<br>aclocal.m4:12935: DUNE_CHECK_ALL is expanded from...<br>configure.ac:13: the top level<br>configure.ac:13: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd<br>aclocal.m4:12884: DUNE_CHECK_MODULES is expanded from...<br>aclocal.m4:11104: DUNE_GEOMETRY_CHECK_MODULE is expanded from...<br>dependencies.m4:35: DUNE_CHECK_MOD_DEPENDENCIES is expanded from...<br>aclocal.m4:12935: DUNE_CHECK_ALL is expanded from...<br>configure.ac:13: the top level<br>--> automake...<br>configure.ac:13: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd<br>aclocal.m4:12935: DUNE_CHECK_ALL is expanded from...<br>configure.ac:13: the top level<br>configure.ac:13: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd<br>aclocal.m4:13195: DUNE_COMMON_CHECKS is expanded from...<br>dependencies.m4:35: DUNE_CHECK_MOD_DEPENDENCIES is expanded from...<br>aclocal.m4:12935: DUNE_CHECK_ALL is expanded from...<br>configure.ac:13: the top level<br>configure.ac:13: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd<br>aclocal.m4:12884: DUNE_CHECK_MODULES is expanded from...<br>aclocal.m4:13204: DUNE_COMMON_CHECK_MODULE is expanded from...<br>dependencies.m4:35: DUNE_CHECK_MOD_DEPENDENCIES is expanded from...<br>aclocal.m4:12935: DUNE_CHECK_ALL is expanded from...<br>configure.ac:13: the top level<br>configure.ac:13: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd<br>aclocal.m4:12884: DUNE_CHECK_MODULES is expanded from...<br>aclocal.m4:11104: DUNE_GEOMETRY_CHECK_MODULE is expanded from...<br>dependencies.m4:35: DUNE_CHECK_MOD_DEPENDENCIES is expanded from...<br>aclocal.m4:12935: DUNE_CHECK_ALL is expanded from...<br>configure.ac:13: the top level<br>am/top-rules:22: warning: user target 'distclean-libtool' defined here ...<br>Makefile.am:31:   'am/top-rules' included from here<br>/Users/oswald/extlib/automake/1.14/gcc/4.8.1/share/automake-1.14/am/libtool.am: ... overrides Automake target 'distclean-libtool' defined here<br>--> autoconf...<br>configure.ac:13: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd<br>aclocal.m4:12935: DUNE_CHECK_ALL is expanded from...<br>configure.ac:13: the top level<br>configure.ac:13: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd<br>aclocal.m4:13195: DUNE_COMMON_CHECKS is expanded from...<br>dependencies.m4:35: DUNE_CHECK_MOD_DEPENDENCIES is expanded from...<br>aclocal.m4:12935: DUNE_CHECK_ALL is expanded from...<br>configure.ac:13: the top level<br>configure.ac:13: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd<br>aclocal.m4:12884: DUNE_CHECK_MODULES is expanded from...<br>aclocal.m4:13204: DUNE_COMMON_CHECK_MODULE is expanded from...<br>dependencies.m4:35: DUNE_CHECK_MOD_DEPENDENCIES is expanded from...<br>aclocal.m4:12935: DUNE_CHECK_ALL is expanded from...<br>configure.ac:13: the top level<br>configure.ac:13: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd<br>aclocal.m4:12884: DUNE_CHECK_MODULES is expanded from...<br>aclocal.m4:11104: DUNE_GEOMETRY_CHECK_MODULE is expanded from...<br>dependencies.m4:35: DUNE_CHECK_MOD_DEPENDENCIES is expanded from...<br>aclocal.m4:12935: DUNE_CHECK_ALL is expanded from...<br>configure.ac:13: the top level<br>configure:35746: error: possibly undefined macro: AC_DEFINE<br>  If this token and others are legitimate, please use m4_pattern_allow.<br>  See the Autoconf documentation.<br>configure:35752: error: possibly undefined macro: AC_MSG_RESULT<br>configure:35754: error: possibly undefined macro: AC_MSG_WARN<br>--- Failed to build dune-grid ---<br>Terminating dunecontrol due to previous errors!<br><br><br><br>--------------------------------------------------------------------------------------------------------------------------------------------------------------<br>Dr. sc. techn. Benedikt Oswald - first engineer - LSPR AG - phone - +41 43 366 90 74<br>Technoparkstrasse 1, CH-8005 Zürich, <a href="mailto:benedikt.oswald@lspr.ch">benedikt.oswald@lspr.ch</a> - 'Ambition is a dream with a V8 engine', The KING<br>--------------------------------------------------------------------------------------------------------------------------------------------------------------<br><br>_______________________________________________<br>Dune mailing list<br><a href="mailto:Dune@dune-project.org">Dune@dune-project.org</a><br>http://lists.dune-project.org/mailman/listinfo/dune<br></blockquote><br></blockquote></div><br></div></body></html>