[Dune] Fail to build dune-geometry (or dune-common?)
Oliver Sander
sander at igpm.rwth-aachen.de
Mon Nov 10 14:35:04 CET 2014
Hi Uli,
>
> CONFIGURE_FLAGS="CXX=g++ CXXFLAGS='-g' --with-gmp=/usr/local
>
is that all? Did you forget a closing " ?
Best,
Oliver
> 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
>
> _______________________________________________
> Dune mailing list
> Dune at dune-project.org
> http://lists.dune-project.org/mailman/listinfo/dune
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <https://lists.dune-project.org/pipermail/dune/attachments/20141110/489ccc9a/attachment.sig>
More information about the Dune
mailing list