[Dune] dune installation problem

Christoph GrĂ¼ninger christoph.grueninger at iws.uni-stuttgart.de
Wed Jun 3 13:19:33 CEST 2015


Hi Arya,
difficult to tell. You might have a look in to the configure script at
line 6982

> configure:6863: checking whether gfortran-4.7 accepts -g
> configure:6874: gfortran-4.7 -c -g  conftest.f >&5
> configure:6874: $? = 0
> configure:6882: result: yes
> configure:6971: checking build system type
> configure:6982: error: /bin/sh ./config.sub 
>  failed

Your opts file does the line breaks the wrong way. Within the string you
have to indicate a line break with a backslash \ without trailing
whitespace.

When you try without the opts file, you have to pass the necessary flags
like that in a single line:
CC=/usr/bin/whatever CONFIGURE_FLAGS="--prefix=/home/myself/dune
--enable-parallel" dunecontroll all

Bye
Christoph

-- 
A mathematician is a scientist who can figure out anything, except
such simple things as squaring the circle and trisecting an angle.
[Evan Esar (1899-1995), Esar's Comic Dictionary]

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <https://lists.dune-project.org/pipermail/dune/attachments/20150603/d41e0f4f/attachment.sig>


More information about the Dune mailing list