[Dune] Fail to build dune-geometry (or dune-common?)

Uli Sack usack at math.fu-berlin.de
Mon Nov 10 12:54:48 CET 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Dear list!

I fail to build dune-geometry with a newly built gcc-4.9.2 for not
finding dune-common. I run dunecontrol with the autotools and option file:

CONFIGURE_FLAGS="CXX=g++ CXXFLAGS='-g' --with-gmp=/usr/local

The error reported in dune-geometry/config.log is:

## ------------------ ##
## Running config.lt. ##
## ------------------ ##
config.lt:802: creating libtool
configure:30526: checking for dune-common installation or source tree
configure:30551: $PKG_CONFIG --exists --print-errors "dune-common"
Package dune-common was not found in the pkg-config search path.
Perhaps you should add the directory containing `dune-common.pc'
to the PKG_CONFIG_PATH environment variable
No package 'dune-common' found
configure:30554: $? = 1
configure:30569: result: not found
configure:30644: checking dune/common/stdstreams.hh usability
configure:30644: g++ -std=c++11 -c -g     conftest.cpp >&5
conftest.cpp:90:37: fatal error: dune/common/stdstreams.hh: No such file
or directory
 #include <dune/common/stdstreams.hh>
                                     ^
compilation terminated.

-
-----------------------------------------------------------------------------
dune-common/config.log also reports an error which I cannot interpret
well. Maybe that is the culprit?:

configure:27643: gcc -c -g -O2  conftest.c >&5
conftest.c: In function 'main':
conftest.c:101:21: error: expected expression before ')' token
 if (sizeof ((size_t)))
                     ^
configure:27643: $? = 1

the corresponding line in configure is
ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t"
"$ac_includes_default"


What am I doing wrong?

Cheers,Uli
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJUYKeHAAoJEJhzan0mx+qwzpUIAKv5s8tvwUxEGLXmUD9PtwTW
ZVAS5WjN/QQmhk3ojSimq4tgtGlJLcEnNy+M38RKLnZF6S0UfwCsdo56CO4ZHScF
JbaUADmHL9VxhgVjsf9Nokz7J36jvjOxc2HyKb1iJ+wG7LjdAdojFfKLvssWGstY
FrToghWbkmvGEYX/dukPBte4eDo/zaURqrRlwkO3GhWE3C7akloQz0cyqTfaxWt0
YATcxHzKeyC/TbuNaPYgDLEFFOArs2pDJNNyQhaxaDuXRnUiVlE2zlh6gyo1u9Nr
Jt02vHUovdFGbucdWpyJbD3ocEJb0Rjg7yYh2BSB7aowE/sQQZy0Gwt0406PHU0=
=h6B9
-----END PGP SIGNATURE-----




More information about the Dune mailing list