[Dune] Dune Trunk Build Problem

arya fallahi arya.fallahi at psi.ch
Fri Aug 6 17:17:25 CEST 2010


Dear Dune, I have problems in building the trunk version of Dune.
The versions, the platform name, compiler  and the error are show below.

Thanks for having a look!


Greetings, Arya

1. The dune versions are as follows:

pc7650-129129158113:dune-trunk fallahi$ svn info ./dune-common/
Path: dune-common
URL: https://svn.dune-project.org/svn/dune-common/trunk
Repository Root: https://svn.dune-project.org/svn/dune-common
Repository UUID: 419231ca-4411-0410-aba2-fc6cf8c4f609
Revision: 6083
Node Kind: directory
Schedule: normal
Last Changed Author: mblatt
Last Changed Rev: 6083
Last Changed Date: 2010-08-06 16:06:15 +0200 (Fri, 06 Aug 2010)

pc7650-129129158113:dune-trunk fallahi$ svn info ./dune-istl/
Path: dune-istl
URL: https://svn.dune-project.org/svn/dune-istl/trunk
Repository Root: https://svn.dune-project.org/svn/dune-istl
Repository UUID: 8c7282f0-4411-0410-8e4f-cdd3e049afb8
Revision: 1261
Node Kind: directory
Schedule: normal
Last Changed Author: mblatt
Last Changed Rev: 1261
Last Changed Date: 2010-08-06 16:22:40 +0200 (Fri, 06 Aug 2010)

pc7650-129129158113:dune-trunk fallahi$ svn info ./dune-grid-howto/
Path: dune-grid-howto
URL: https://svn.dune-project.org/svn/dune-grid-howto/trunk
Repository Root: https://svn.dune-project.org/svn/dune-grid-howto
Repository UUID: 971b7fa1-7d12-0410-b1b7-9c127676b1f7
Revision: 318
Node Kind: directory
Schedule: normal
Last Changed Author: joe
Last Changed Rev: 318
Last Changed Date: 2010-06-07 11:37:57 +0200 (Mon, 07 Jun 2010)

pc7650-129129158113:dune-trunk fallahi$ svn info ./dune-grid
Path: dune-grid
URL: https://svn.dune-project.org/svn/dune-grid/trunk
Repository Root: https://svn.dune-project.org/svn/dune-grid
Repository UUID: f82f27de-4411-0410-b156-930a902cda50
Revision: 6865
Node Kind: directory
Schedule: normal
Last Changed Author: mnolte
Last Changed Rev: 6865
Last Changed Date: 2010-08-03 21:55:05 +0200 (Tue, 03 Aug 2010)


2. Platform: pc7650-129129158113:dune-trunk fallahi$ uname -a
Darwin pc7650-129129158113.psi.ch 10.4.0 Darwin Kernel Version 10.4.0: Fri Apr 23 18:28:53 PDT 2010; root:xnu-1504.7.4~1/RELEASE_I386 i386

3. compiler version: 

pc7650-129129158113:dune-common fallahi$ mpicxx --version
i686-apple-darwin10-g++-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5659)
Copyright (C) 2007 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.


4. The error message is as follows:

pc7650-129129158113:dune-trunk fallahi$ ./dune-common/bin/dunecontrol update all
--- going to build dune-common dune-grid dune-istl dune-grid-howto hades  ---
--- calling update for dune-common ---
At revision 6083.
--- dune-common done ---
--- calling update for dune-grid ---
At revision 6865.
--- dune-grid done ---
--- calling update for dune-istl ---
At revision 1261.
--- dune-istl done ---
--- calling update for dune-grid-howto ---
At revision 318.
--- dune-grid-howto done ---
--- calling update for hades ---
At revision 1800.
--- hades done ---
--- done ---
pc7650-129129158113:dune-trunk fallahi$ time ./dune-common/bin/dunecontrol --opts=dune.imac.arya.opts all
--- going to build dune-common dune-grid dune-istl dune-grid-howto hades  ---
--- calling all for dune-common ---
--- calling autogen for dune-common ---
Found am directory /Users/fallahi/svnwork/dune-trunk/dune-common/am
--> dunedoxynize...
Generating doc/doxygen/Doxyfile.in from 
    global style
    and dune-common config
    ... done
--> libtoolize...
glibtoolize: putting auxiliary files in `.'.
glibtoolize: linking file `./ltmain.sh'
glibtoolize: Remember to add `LT_INIT' to configure.ac.
glibtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac and
glibtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
glibtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
--> writing dependencies.m4
    for dune-common 2.1-svn dune at dune-project.org
        requires 
--> aclocal...
configure.ac:13: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd
/Users/fallahi/svnwork/dune-trunk/dune-common/m4/dune_all.m4:50: DUNE_CHECK_ALL is expanded from...
configure.ac:13: the top level
/Users/fallahi/svnwork/dune-trunk/dune-common/m4/dune_common.m4:69: DUNE_COMMON_CHECKS is expanded from...
dependencies.m4:18: DUNE_CHECK_MOD_DEPENDENCIES is expanded from...
--> autoheader...
configure.ac:13: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd
aclocal.m4:9483: DUNE_CHECK_ALL is expanded from...
configure.ac:13: the top level
aclocal.m4:9666: DUNE_COMMON_CHECKS is expanded from...
dependencies.m4:18: DUNE_CHECK_MOD_DEPENDENCIES is expanded from...
--> automake...
configure.ac:13: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd
aclocal.m4:9483: DUNE_CHECK_ALL is expanded from...
configure.ac:13: the top level
aclocal.m4:9666: DUNE_COMMON_CHECKS is expanded from...
dependencies.m4:18: DUNE_CHECK_MOD_DEPENDENCIES is expanded from...
configure.ac:13: installing `./config.sub'
configure.ac:13: installing `./config.guess'
am/top-rules:22: user target `distclean-libtool' defined here...
Makefile.am:15:   `am/top-rules' included from here
/usr/bin/../share/automake-1.10/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:9483: DUNE_CHECK_ALL is expanded from...
configure.ac:13: the top level
aclocal.m4:9666: DUNE_COMMON_CHECKS is expanded from...
dependencies.m4:18: DUNE_CHECK_MOD_DEPENDENCIES is expanded from...
Now run ./configure to setup dune-common
--- calling configure for dune-common ---
----- using default flags $CONFIGURE_FLAGS from /Users/fallahi/svnwork/dune-trunk/dune.imac.arya.opts -----
./configure CXX='mpicxx' CC='mpicc' LD='mpicxx' CXXFLAGS='-DMPICH_IGNORE_CXX_SEEK -O2' CPPFLAGS='-DMPICH_IGNORE_CXX_SEEK -O2' LDFLAGS=' ' --enable-experimental-hades3deld --enable-experimental-hades3delectrostatic --disable-documentation --enable-parallel --enable-debug-output --prefix='/Users/fallahi/ownlib/hades' --with-boost='/Users/fallahi/extlib/boost-trunk' --with-metis='/Users/fallahi/extlib/metis-4.0' --with-rlog='/Users/fallahi/extlib/rlog-trunk' --with-alugrid='/Users/fallahi/extlib/ALUGrid-1.22' ACLOCAL_AMFLAGS="-I ."
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking how to create a pax tar archive... gnutar
checking how to create a pax tar archive... (cached) gnutar
checking for inkscape... no
checking for doxygen... no
checking for latex... latex
checking for bibtex... bibtex
checking for dvipdf... dvipdf
checking for dvips... dvips
checking for wml... no
checking for dot... no
checking for perl... perl
checking for convert... convert
./configure: line 3620: PKG_PROG_PKG_CONFIG: command not found
checking for style of include used by make... GNU
checking for gcc... mpicc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether mpicc accepts -g... yes
checking for mpicc option to accept ISO C89... none needed
checking dependency style of mpicc... gcc3
checking dependency style of mpicc... (cached) gcc3
checking how to run the C preprocessor... mpicc -E
checking whether we are using the GNU C++ compiler... yes
checking whether mpicxx accepts -g... yes
checking dependency style of mpicxx... gcc3
checking dependency style of mpicxx... (cached) gcc3
checking how to run the C++ preprocessor... mpicxx -E
checking for g77... no
checking for xlf... no
checking for f77... no
checking for frt... no
checking for pgf77... no
checking for cf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for xlf90... no
checking for f90... no
checking for pgf90... no
checking for pghpf... no
checking for epcf90... no
checking for gfortran... no
checking for g95... no
checking for xlf95... no
checking for f95... no
checking for fort... no
checking for ifort... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for ftn... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether  accepts -g... no
checking build system type... i386-apple-darwin10.4.0
checking host system type... i386-apple-darwin10.4.0
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by mpicc... mpicxx
checking if the linker (mpicxx) is GNU ld... no
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm
checking the name lister (/usr/bin/nm) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 196608
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for mpicxx option to reload object files... -r
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm output from mpicc object... ok
checking for dsymutil... dsymutil
checking for nmedit... nmedit
checking for lipo... lipo
checking for otool... otool
checking for otool64... no
checking for -single_module linker flag... yes
checking for -exported_symbols_list linker flag... yes
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether mpicxx accepts -g... (cached) yes
checking dependency style of mpicxx... (cached) gcc3
checking dependency style of mpicxx... (cached) gcc3
checking how to run the C++ preprocessor... mpicxx -E
checking for g77... no
checking for xlf... no
checking for f77... no
checking for frt... no
checking for pgf77... no
checking for cf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for xlf90... no
checking for f90... no
checking for pgf90... no
checking for pghpf... no
checking for epcf90... no
checking for gfortran... no
checking for g95... no
checking for xlf95... no
checking for f95... no
checking for fort... no
checking for ifort... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for ftn... no
checking whether we are using the GNU Fortran 77 compiler... (cached) no
checking whether  accepts -g... (cached) no
checking for objdir... .libs
checking if mpicc supports -fno-rtti -fno-exceptions... no
checking for mpicc option to produce PIC... -fno-common -DPIC
checking if mpicc PIC flag -fno-common -DPIC works... yes
checking if mpicc static flag -static works... no
checking if mpicc supports -c -o file.o... yes
checking if mpicc supports -c -o file.o... (cached) yes
checking whether the mpicc linker (mpicxx) supports shared libraries... yes
checking dynamic linker characteristics... darwin10.4.0 dyld
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking for ld used by mpicxx... mpicxx
checking if the linker (mpicxx) is GNU ld... no
checking whether the mpicxx linker (mpicxx) supports shared libraries... yes
checking for mpicxx option to produce PIC... -fno-common -DPIC
checking if mpicxx PIC flag -fno-common -DPIC works... yes
checking if mpicxx static flag -static works... no
checking if mpicxx supports -c -o file.o... yes
checking if mpicxx supports -c -o file.o... (cached) yes
checking whether the mpicxx linker (mpicxx) supports shared libraries... yes
checking dynamic linker characteristics... darwin10.4.0 dyld
checking how to hardcode library paths into programs... immediate
./configure: line 19694: PKG_PROG_PKG_CONFIG: command not found
checking for ranlib... (cached) ranlib
checking whether compiler is officially supported by DUNE... yes
checking whether g++ accepts -std=c++0x... no
checking whether static_assert is supported... no
checking whether nullptr is supported... no
checking type_traits usability... no
checking type_traits presence... no
checking for type_traits... no
checking tr1/type_traits usability... yes
checking tr1/type_traits presence... yes
checking for tr1/type_traits... yes
checking array usability... no
checking array presence... no
checking for array... no
checking tr1/array usability... yes
checking tr1/array presence... yes
checking for tr1/array... yes
checking tuple usability... no
checking tuple presence... no
checking for tuple... no
checking tr1/tuple usability... yes
checking tr1/tuple presence... yes
checking for tr1/tuple... yes
checking memory usability... yes
checking memory presence... yes
checking for memory... yes
checking tr1/memory usability... yes
checking tr1/memory presence... yes
checking for tr1/memory... yes
checking boost/shared_ptr.hpp usability... no
checking boost/shared_ptr.hpp presence... no
checking for boost/shared_ptr.hpp... no
checking the location of shared_ptr header file... 
checking whether compiling C++ code works... yes
checking whether linking C++ objects works... yes
checking for __attribute__((deprecated))... yes
checking rpc/rpc.h usability... yes
checking rpc/rpc.h presence... yes
checking for rpc/rpc.h... yes
checking for mpicc... mpicc
checking for MPI_Init... yes
checking for mpi.h... yes
configure: Trying to identify the version of MPI compiler mpicc
checking for lam... rm: conftest.dSYM: is a directory
no
checking for mpich... rm: conftest.dSYM: is a directory
no
checking for OpenMPI... yes
rm: conftest.dSYM: is a directory
checking whether compiling with OpenMPI works... yes
configure: WARNING: Disabled test whether running with OpenMPI works.
checking for MPI_Finalized in -lm... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for size_t... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking malloc.h usability... no
checking malloc.h presence... no
checking for malloc.h... no
checking for string.h... (cached) yes
checking for pow in -lm... yes
checking for sqrt... yes
checking for strchr... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating lib/Makefile
config.status: creating bin/Makefile
config.status: creating dune/Makefile
config.status: creating dune/common/Makefile
config.status: creating dune/common/test/Makefile
config.status: creating dune/common/exprtmpl/Makefile
config.status: creating doc/Makefile
config.status: creating doc/devel/Makefile
config.status: creating doc/layout/Makefile
config.status: creating doc/doxygen/Makefile
config.status: creating doc/doxygen/Doxyfile
config.status: creating doc/buildsystem/Makefile
config.status: creating m4/Makefile
config.status: creating am/Makefile
config.status: creating bin/check-log-store
config.status: creating dune-common.pc
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands

Found the following Dune-components: 

----------------------------------------

MPI.....................: yes (OpenMPI)

----------------------------------------

See ./configure --help and config.log for reasons why a component wasn't found

--- calling make for dune-common ---
make 
cd . && /bin/sh /Users/fallahi/svnwork/dune-trunk/dune-common/missing --run autoheader
configure.ac:13: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd
aclocal.m4:9483: DUNE_CHECK_ALL is expanded from...
configure.ac:13: the top level
aclocal.m4:9666: DUNE_COMMON_CHECKS is expanded from...
dependencies.m4:18: DUNE_CHECK_MOD_DEPENDENCIES is expanded from...
rm -f stamp-h1
touch config.h.in
make  all-recursive
Making all in dune
Making all in common
Making all in .
make[4]: Nothing to be done for `all-am'.
Making all in test
make[4]: Nothing to be done for `all'.
Making all in exprtmpl
make[4]: Nothing to be done for `all'.
make[3]: Nothing to be done for `all-am'.
Making all in lib
make[2]: Nothing to be done for `all'.
Making all in doc
Making all in devel
make[3]: Nothing to be done for `all'.
Making all in doxygen
make[3]: Nothing to be done for `all'.
Making all in layout
make[3]: Nothing to be done for `all'.
Making all in buildsystem
make[3]: Nothing to be done for `all'.
make[3]: Nothing to be done for `all-am'.
Making all in bin
make[2]: Nothing to be done for `all'.
Making all in m4
make[2]: *** No rule to make target `ax_boost_base', needed by `all-am'.  Stop.
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
--- Failed to build dune-common ---
Terminating dunecontrol due to previous errors!













More information about the Dune mailing list