[Dune] Problems compiling DUNE one Ubuntu 10.10 64bit

Jö Fahlke jorrit at jorrit.de
Thu Nov 4 17:27:18 CET 2010


Am Thu,  4. Nov 2010, 08:17:29 +0100 schrieb Patrick Leidenberger:
> Hi Christian,
> 
> I set in my opts file:
> 
> PKG_CONFIG='/usr/bin/pkg-config'
> PKG_CONFIG_PATH='/home/patrick/dune/dune-common'
> 
> and now I end up with the following error in the config.log.
> dune-common is in ~/dune/dune-common and not in /user/local/include.
> 
> ## ------------------ ##
> ## Running config.lt. ##
> ## ------------------ ##
> config.lt:728: creating libtool
> configure:23226: checking for dune-common installation or source tree
> configure:23245: $PKG_CONFIG --exists --print-errors "dune-common"
> configure:23248: $? = 0
> configure:23258: result: global installation in /usr/local
> configure:23324: checking dune/common/stdstreams.hh usability
> configure:23324: mpiCC -std=c++0x -c -g   -I/usr/local/include
> conftest.cpp >&5
> conftest.cpp:85: fatal error: dune/common/stdstreams.hh: No such
> file or directory
> compilation terminated.
> 
> Has someone an idea? Or can someone report a successful installation
> of dune using ubuntu 10.10?

Am Thu,  4. Nov 2010, 14:55:56 +0100 schrieb Patrick Leidenberger:
> I still have my the problem, without specifying --with-dune-common
> to compile dune.

Can you please give us the exact command that failed to compile dune-grid?
In particular, the commandline you used to call configure or dunecontrol, and
in the latter case the complete contents of the options file, if any.  Please
also include the path of the current working directory you were in when
starting the compilation.

Also helpful would be the complete unabbreviated output of the compilation
command, not just the last few lines.  Same goes for config.log.  Feel free to
compress them and send them as attachements.

AFAICT configure should only call pkg-config to find dune-common if the
parameter --with-dune-common was missing.  This consistent with the
observation that the problem goes away if you specify --with-dune-common
manually.  The question now is: why doesn't dunecontrol provide
--with-dune-common to configure?

Bye,
Jö.

-- 
"Ich habe eine Maschine erfunden, die den Kommerz aus Weihnachten
entfernt." -- "Lass uns ganz viele davon bauen und für viel Geld
verkaufen."
-- http://www.nichtlustig.de/toondb/021220.html
-------------- 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/20101104/aac1b40a/attachment.sig>


More information about the Dune mailing list