[Dune] Problems compiling DUNE one Ubuntu 10.10 64bit

Felix Albrecht felix.albrecht at uni-muenster.de
Thu Nov 4 15:14:40 CET 2010


Hi,

my machine:
* up-to-date ubuntu 10.10 64bit
* gcc version 4.4.5 (Ubuntu/Linaro 4.4.4-14ubuntu5)

situation:
* /tmp/felix_tmp/alugrid-1.22
* /tmp/felix_tmp/dune-common (svn r6224)
* /tmp/felix_tmp/dune-grid (svn r7066)
* /tmp/felix_tmp/config.opts

config.opts:
CONFIGURE_FLAGS="CXX=g++-4.4 CC=gcc-4.4 CXXFLAGS='' \
  --with-alugrid=/tmp/felix_tmp/alugrid-1.22 \
  --x-includes=/usr/include/X11 \
  --x-libraries=/usr/lib/X11 \
  --disable-documentation \
  --with-grid-dim=2 \
  --with-grid-type=ALUGRID_CONFORM"

When i run

* "cd /tmp/felix_tmp"
* "./dune-common/bin/dunecontrol \
--opts=config.opts.almob_no_documentation all"

i get no problems whatsoever.

Greetings,

Felix

On Do, 2010-11-04 at 14:55 +0100, Patrick Leidenberger wrote:
> Hi all,
> 
> is there nobody out there, using dune one ubuntu 10.10 64 bit?
> 
> I still have my the problem, without specifying --with-dune-common to 
> compile dune.
> 
> If one of the build-system gurus want to test it, I can create him an 
> account on my machine.
> 
> Have a nice day
> 
> Patrick
> 
> On 11/04/2010 08:17 AM, Patrick Leidenberger wrote:
> > 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
> >
> >
> 
> 

-- 
--
----------------------------------------------------------- 
 Felix Albrecht                     Tel.: +49 251 83 35130 
 Institut fuer Numerische und       Fax:  +49 251 83 32729 
 Angewandte Mathematik 
 FB Mathematik und Informatik 
 Universitaet Muenster 
 Orleans-Ring 10                    Room: 212 
 D-48149 Muenster 
 Mail: felix.albrecht at uni-muenster.de 
 WWW:  http://www.uni-muenster.de/math/u/felix.albrecht/ 
-----------------------------------------------------------





More information about the Dune mailing list