[Dune] Fail to build dune-geometry (or dune-common?)
Jö Fahlke
jorrit at jorrit.de
Mon Nov 10 14:45:51 CET 2014
Am Mon, 10. Nov 2014, 12:54:48 +0100 schrieb Uli Sack:
> Date: Mon, 10 Nov 2014 12:54:48 +0100
> From: Uli Sack <usack at math.fu-berlin.de>
> To: dune at dune-project.org
> Subject: [Dune] Fail to build dune-geometry (or dune-common?)
>
> 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
For some reason there are no include paths (-I...) given on the compilation
command line, but a conspicuous space instead. On the top of that config.log
should be the exact options configure was invoked with. For me that includes
--with-dune-common=/SOME/PATH/dune-common/. Can you check that this is the
case for you too?
> 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)))
> ^
That expression looks wrong to me (if the argument of the operator sizeof is a
type, there should be exactly one level of parentheses around it). But I have
trouble identifying what configure was trying to test for here. Can you give
a bit more context from config.log here, i.e. there should be lines similar to
configure:25160: checking for sgemm_ in -lcxml
and
configure:25257: result: no
and there should usually be the exact source of the failed conftest.cc.
Regards,
Jö.
> 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
>
> _______________________________________________
> Dune mailing list
> Dune at dune-project.org
> http://lists.dune-project.org/mailman/listinfo/dune
>
--
Jorrit (Jö) Fahlke, Institute for Computational und Applied Mathematics,
University of Münster, Orleans-Ring 10, D-48149 Münster
Tel: +49 251 83 35146 Fax: +49 251 83 32729
This message is protected by DoubleROT13 encryption
Attempting to decode it violates the DMCA/WIPO acts
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 828 bytes
Desc: Digital signature
URL: <https://lists.dune-project.org/pipermail/dune/attachments/20141110/34988c1a/attachment.sig>
More information about the Dune
mailing list