[Dune] Problems compiling DUNE one Ubuntu 10.10 64bit

Patrick Leidenberger leidenberger at ifh.ee.ethz.ch
Thu Nov 4 08:17:29 CET 2010


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?

Thanks a lot,

Patrick

On 11/03/2010 03:03 PM, Patrick Leidenberger wrote:
> Hi Christian,
>
>
>> OK. So...
>>
>> 1) are you using an installed dune-common?
> No. I download both common and grid in a folder on the same level an
> execute then the dunecontrol to build both.
>
>> 2) if you are using an installed dune-common, you should install
>> pkg-config.
> pkg-config is installed. I think you missed the end of my last mail:
>
>>>
>>> And of corse pkg-config is installed.
>>>
>>> ubuntu 10.04 10.10
>>> pkg-config 0.22 0.25
>>>
>>>
>>> Just for completeness I added the config.log to this mail.
>>>
>>> So is it a bug, or is the bug in front of my sreen?
>>>
>
> Patrick


-- 

-------------------------------------
Patrick Leidenberger
Phone: +41 44 63 20357
Email: leidenberger at ifh.ee.ethz.ch
Laboratory for Electromagnetic Fields
and Microwave Electronics
ETH Zuerich, Switzerland
-------------------------------------




More information about the Dune mailing list