[Dune] configure crashes on Mac OS X

Oswald Benedikt Benedikt.Oswald at psi.ch
Tue Feb 10 15:18:36 CET 2009


Dear Dune,  I am recently encountering configure problems on Mac OS X, 10.5.6:

cf. output below. There is apparently no such thing as --enable-static or so in
the dunecontrol opts file.

I have recently upgraded to the most recent version of libtool.
This was necessary in order to avoid inconsistencies in the
configure & make build process.


pcp034208:super_lu benediktoswald$ libtool --version
ltmain.sh (GNU libtool) 1.5.22 (1.1220.2.365 2005/12/18 22:14:06)

Copyright (C) 2005  Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


Any ideas what goes wrong ? Greetings, Benedikt

============================================================================

pcp034208:dune-release-1.2 benediktoswald$ ./dune-common/bin/dunecontrol --opts=dune.psi.bare.opts all
--- going to build dune-common dune-grid dune-grid-howto dune-istl  ---
--- calling all for dune-common ---
--- calling autogen for dune-common ---
Found am directory /Users/benediktoswald/svnwork/dune-release-1.2/dune-common/am
--> libtoolize...
Remember to add `AC_PROG_LIBTOOL' to `configure.ac'.
--> writing dependencies.m4
    for dune-common 1.2svn dune at dune-project.org
        requires 
--> aclocal...
configure.ac:15: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd
dependencies.m4:27: DUNE_CHECK_MOD_DEPENDENCIES is expanded from...
/Users/benediktoswald/svnwork/dune-release-1.2/dune-common/m4/dune_all.m4:47: DUNE_CHECK_ALL is expanded from...
configure.ac:15: the top level
/Users/benediktoswald/svnwork/dune-release-1.2/dune-common/m4/dune_common.m4:87: DUNE_COMMON_CHECKS is expanded from...
--> autoheader...
configure.ac:15: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd
dependencies.m4:27: DUNE_CHECK_MOD_DEPENDENCIES is expanded from...
aclocal.m4:7733: DUNE_CHECK_ALL is expanded from...
configure.ac:15: the top level
aclocal.m4:7886: DUNE_COMMON_CHECKS is expanded from...
--> automake...
configure.ac:15: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd
dependencies.m4:27: DUNE_CHECK_MOD_DEPENDENCIES is expanded from...
aclocal.m4:7733: DUNE_CHECK_ALL is expanded from...
configure.ac:15: the top level
aclocal.m4:7886: DUNE_COMMON_CHECKS is expanded from...
doc/doxygen/Makefile.am:10: WHAT was already defined in condition TRUE, which includes condition BUILD_DOCS and WML ...
doc/doxygen/Makefile.am:6: ... `WHAT' previously defined here
am/doxygen:70: user target `html' defined here...
doc/doxygen/Makefile.am:22:   `am/doxygen' included from here
automake: ... overrides Automake target `html' defined here
am/doxygen:70: consider using html-local instead of html
doc/doxygen/Makefile.am:22:   `am/doxygen' included from here
--> autoconf...
configure.ac:15: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd
dependencies.m4:27: DUNE_CHECK_MOD_DEPENDENCIES is expanded from...
aclocal.m4:7733: DUNE_CHECK_ALL is expanded from...
configure.ac:15: the top level
aclocal.m4:7886: DUNE_COMMON_CHECKS is expanded from...
Now run ./configure to setup dune-common
--- calling configure for dune-common ---
----- using default flags $CONFIGURE_FLAGS from /Users/benediktoswald/svnwork/dune-release-1.2/dune.psi.bare.opts -----
./configure CXX='mpicxx' CC='mpicxx' LD='mpicxx' CXXFLAGS='-DMPICH_IGNORE_CXX_SEEK ' CPPFLAGS='-DMPICH_IGNORE_CXX_SEEK ' LDFLAGS=' ' --disable-documentation --enable-parallel --enable-boost --enable-debug-high --enable-message-high --prefix='/Users/benediktoswald/ownlib/hades ' --with-metis='/Users/benediktoswald/extlib/metis-4.0 ' "--with-dune-common=/Users/benediktoswald/svnwork/dune-release-1.2/dune-common" "--with-dune-grid=/Users/benediktoswald/svnwork/dune-release-1.2/dune-grid" "--with-dune-grid-howto=/Users/benediktoswald/svnwork/dune-release-1.2/dune-grid-howto" "--with-dune-istl=/Users/benediktoswald/svnwork/dune-release-1.2/dune-istl" ACLOCAL_AMFLAGS="-I . -I /Users/benediktoswald/svnwork/dune-release-1.2/dune-common/m4 -I /Users/benediktoswald/svnwork/dune-release-1.2/dune-grid/m4 -I /Users/benediktoswald/svnwork/dune-release-1.2/dune-istl/m4"
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
./configure: line 2080: syntax error near unexpected token `disable-shared'
./configure: line 2080: `  LT_INIT(disable-shared)'
--- Failed to build dune-common ---
Execution of dunecontrol terminated due to errors!
pcp034208:dune-release-1.2 benediktoswald$ 








More information about the Dune mailing list