[Dune] Dune build problem

arya fallahi arya.fallahi at psi.ch
Fri Oct 29 15:41:25 CEST 2010


Dear Dune developers team,

I have updated the dune software which I had on my Mac PC today and I have problem with building the updated version. Would you let me know what is the source of the problem. In the following you can see the compiler message.

Best regards
Arya Fallahi

dune properties:

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: 6210
Node Kind: directory
Schedule: normal
Last Changed Author: christi
Last Changed Rev: 6210
Last Changed Date: 2010-10-29 15:04:35 +0200 (Fri, 29 Oct 2010)

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: 7043
Node Kind: directory
Schedule: normal
Last Changed Author: mnolte
Last Changed Rev: 7043
Last Changed Date: 2010-10-28 11:19:46 +0200 (Thu, 28 Oct 2010)

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: 1332
Node Kind: directory
Schedule: normal
Last Changed Author: mblatt
Last Changed Rev: 1332
Last Changed Date: 2010-10-29 14:15:34 +0200 (Fri, 29 Oct 2010)

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: 335
Node Kind: directory
Schedule: normal
Last Changed Author: sander
Last Changed Rev: 335
Last Changed Date: 2010-10-07 18:25:08 +0200 (Thu, 07 Oct 2010)

compiler message:

--- 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:71: 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:9733: DUNE_CHECK_ALL is expanded from...
configure.ac:13: the top level
aclocal.m4:9918: 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:9733: DUNE_CHECK_ALL is expanded from...
configure.ac:13: the top level
aclocal.m4:9918: 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/documentation:12: doc-local was already defined in condition DUNEWEB, which is included in condition TRUE ...
Makefile.am:16:   `am/global-rules' included from here
am/global-rules:19:   `am/documentation' included from here
am/top-rules:30: ... `doc-local' previously defined here
Makefile.am:15:   `am/top-rules' included from here
am/documentation:18: doc-clean was already defined in condition DUNEWEB, which is included in condition TRUE ...
Makefile.am:16:   `am/global-rules' included from here
am/global-rules:19:   `am/documentation' included from here
am/top-rules:31: ... `doc-clean' previously defined here
Makefile.am:15:   `am/top-rules' included from here
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:9733: DUNE_CHECK_ALL is expanded from...
configure.ac:13: the top level
aclocal.m4:9918: 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 3633: 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 19707: PKG_PROG_PKG_CONFIG: command not found
checking for ranlib... (cached) ranlib
checking how to get verbose linking output from ... configure: WARNING: compilation failed

checking for Fortran 77 libraries of ... 
checking for dummy main to link with Fortran 77 libraries... none
checking for Fortran 77 name-mangling scheme... configure: error: cannot compile a simple Fortran program
See `config.log' for more details.
--- Failed to build dune-common ---
Terminating dunecontrol due to previous errors!

real	0m13.396s
user	0m8.650s
sys	0m2.832s





More information about the Dune mailing list