[Dune] dune fails to build

Oswald Benedikt Benedikt.Oswald at psi.ch
Mon Jan 18 09:46:03 CET 2010


Dear Dune, the recent checkout of Dune fails to build. I have attached the file that documents
the build process until it breaks with: 

onfigure: error: could not find required module dune-common

Do you need the config.log of dune-common ?


compiler is:

pcp029897:dune-common oswald$ mpicxx --version
i686-apple-darwin9-g++-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5574)
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.


Thanks for having a look! Benedikt




The module versions are:

pcp029897:dune-trunk oswald$ ./dune-common/bin/dunecontrol update
--- going to build dune-common dune-grid dune-grid-howto dune-istl hades  ---
--- calling update for dune-common ---
At revision 5830.
--- dune-common done ---
--- calling update for dune-grid ---
At revision 6159.
--- dune-grid done ---
--- calling update for dune-grid-howto ---
At revision 270.
--- dune-grid-howto done ---
--- calling update for dune-istl ---
At revision 1150.
--- dune-istl done ---

============================
Now run ./configure to setup dune-grid
--- calling configure for dune-grid ---
----- using default flags $CONFIGURE_FLAGS from /Users/oswald/svnwork/dune-trunk/dune.macpro.os.opts -----
./configure CXX='mpicxx' CC='mpicc' LD='mpicxx' CXXFLAGS='-DMPICH_IGNORE_CXX_SEEK -O2' CPPFLAGS='-DMPICH_IGNORE_CXX_SEEK -O2' LDFLAGS=' ' --enable-experimental-hades3deld --disable-documentation --enable-parallel --enable-debug-output --prefix='/Users/oswald/ownlib/hades' --with-boost='/Users/oswald/extlib/boost-trunk' --with-metis='/Users/oswald/extlib/metis-4.0' --with-rlog='/Users/oswald/extlib/rlog-trunk' --with-alugrid='/Users/oswald/extlib/ALUGrid-1.20' "--with-dune-common=/Users/oswald/svnwork/dune-trunk/dune-common/" ACLOCAL_AMFLAGS="-I . -I /Users/oswald/svnwork/dune-trunk/dune-common/m4"
configure: WARNING: unrecognized options: --enable-experimental-hades3deld, --enable-debug-output, --with-boost, --with-metis, --with-rlog
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
./configure: line 4040: 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... i686-apple-darwin9.8.0
checking host system type... i686-apple-darwin9.8.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 ld used by mpicc... mpicxx
checking if the linker (mpicxx) is GNU ld... no
checking for mpicxx option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -p
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
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 dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking how to run the C++ preprocessor... mpicxx -E
checking the maximum length of command line arguments... 196608
checking command to parse /usr/bin/nm -p output from mpicc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
rm: conftest.dSYM: is a directory
checking if mpicc supports -fno-rtti -fno-exceptions... rm: conftest.dSYM: is a directory
no
checking for mpicc option to produce PIC... -fno-common
checking if mpicc PIC flag -fno-common works... rm: conftest.dSYM: is a directory
yes
checking if mpicc static flag -static works... rm: conftest.dSYM: is a directory
no
checking if mpicc supports -c -o file.o... rm: conftest.dSYM: is a directory
yes
checking whether the mpicc linker (mpicxx) supports shared libraries... yes
checking dynamic linker characteristics... darwin9.8.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
configure: creating libtool
appending configuration tag "CXX" to libtool
rm: conftest.dSYM: is a directory
rm: conftest.dSYM: is a directory
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
checking if mpicxx PIC flag -fno-common works... rm: conftest.dSYM: is a directory
yes
checking if mpicxx static flag -static works... rm: conftest.dSYM: is a directory
no
checking if mpicxx supports -c -o file.o... rm: conftest.dSYM: is a directory
yes
checking whether the mpicxx linker (mpicxx) supports shared libraries... yes
checking dynamic linker characteristics... darwin9.8.0 dyld
checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
./configure: line 19811: PKG_PROG_PKG_CONFIG: command not found
checking for ranlib... (cached) ranlib
configure: WARNING: compilercheck is disabled. DANGEROUS!
checking whether g++ accepts -std=c++0x... no
checking whether static_assert is supported... no
checking whether nullptr is supported... no
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... no
checking for mpich... no
checking for OpenMPI... yes
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 for inkscape... no
checking malloc.h usability... no
checking malloc.h presence... no
checking for malloc.h... no
checking for string.h... (cached) yes
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 for pow in -lm... yes
checking for sqrt... yes
checking for strchr... yes
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 perl... perl
checking for convert... convert
./configure: line 22002: PKG_PROG_PKG_CONFIG: command not found
checking for dune-common installation or source tree... sed: 1: "/^abs_top_srcdir = /{s/ ...": extra characters at the end of p command
grep: /dune.module: No such file or directory
found in /Users/oswald/svnwork/dune-trunk/dune-common
checking dune/common/stdstreams.hh usability... no
checking dune/common/stdstreams.hh presence... no
checking for dune/common/stdstreams.hh... no
configure: WARNING: /Users/oswald/svnwork/dune-trunk/dune-common does not seem to contain a valid dune-common (dune/common/stdstreams.hh not found)
checking for X... libraries /usr/X11/lib, headers /usr/X11/include
checking whether -R must be followed by a space... no
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... -D_THREAD_SAFE
checking for cc_r... mpicc
checking whether we are using the Microsoft C compiler... no
checking windows.h usability... no
checking windows.h presence... no
checking for windows.h... no
checking for OpenGL library... -lGL
checking grape.h usability... no
checking grape.h presence... no
checking for grape.h... no
checking /usr/local/ug/include/gm.h usability... no
checking /usr/local/ug/include/gm.h presence... no
checking for /usr/local/ug/include/gm.h... no
configure: WARNING: gm.h not found in /usr/local/ug/include
checking amiramesh/AmiraMesh.h usability... no
checking amiramesh/AmiraMesh.h presence... no
checking for amiramesh/AmiraMesh.h... no
configure: WARNING: AmiraMesh.h not found in /usr/local/amiramesh/include/amiramesh
checking psurface.h usability... no
checking psurface.h presence... no
checking for psurface.h... no
checking ALUGrid version >= 1.1... yes (ALUGrid-1.20)
checking alugrid_serial.h usability... yes
checking alugrid_serial.h presence... yes
checking for alugrid_serial.h... yes
checking alugrid_parallel.h usability... yes
checking alugrid_parallel.h presence... yes
checking for alugrid_parallel.h... yes
checking for malloc in -lalugrid... yes
checking whether H5_HAVE_PARALLEL is declared... no
checking hdf5.h usability... no
checking hdf5.h presence... no
checking for hdf5.h... no
configure: error: could not find required module dune-common
--- Failed to build dune-grid ---
Execution of dunecontrol terminated due to errors!





------------------------------------------------------------------------------------------------------------------
Benedikt Oswald, Dr. sc. techn., dipl. El. Ing. ETH, www.psi.ch, Computational Accelerator Scientist
Paul Scherrer  Institute (PSI), CH-5232 Villigen, Suisse, benedikt.oswald at psi.ch, +41(0)56 310 32 12
"Passion is required for any great work, and for the Revolution passion and audacity are required in big doses.", 
Ernesto 'Che' Guevara, Letter to his parents.
http://amas.web.psi.ch
------------------------------------------------------------------------------------------------------------------






More information about the Dune mailing list