[Dune] Building dune 2.1

Sreejith Pulloor Kuttanikkad sreejithpk at gmail.com
Sun Dec 25 17:55:32 CET 2011


Hello dune,

First of all wish you all a happy and healthy new year 2012.

Now to the problem, I am facing difficulty to compile dune 2.1 (downloaded
tarballs from dune website) version in my newly installed ubuntu. I tried
to build via command
*sreejith at Ananya:~/dune$ ./dune-common-2.1.1/bin/dunecontrol all*
and this ended with an error as follows:

*--- calling make for dune-istl ---
make
make  all-recursive
make[4]: Entering directory
`/home/sreejith/dune/dune-istl-2.1.0/dune/istl/tutorial'
g++ -std=c++0x -DHAVE_CONFIG_H -I. -I../../..
-I/home/sreejith/dune/dune-common-2.1.1 -I../../.. -I/usr/include
-I/home/sreejith/dune/dune-common-2.1.1 -I/usr/include  -g -O2 -MT
example-example.o -MD -MP -MF .deps/example-example.Tpo -c -o
example-example.o `test -f 'example.cc' || echo './'`example.cc
In file included from
/home/sreejith/dune/dune-common-2.1.1/dune/common/shared_ptr.hh:17:0,
                 from ../../../dune/istl/bcrsmatrix.hh:17,
                 from example.cc:21:
/home/sreejith/dune/dune-common-2.1.1/dune/common/nullptr.hh:27:1: error:
expected ‘;’ after class definition
/home/sreejith/dune/dune-common-2.1.1/dune/common/nullptr.hh:27:1: error:
qualifiers can only be specified for objects and functions
/home/sreejith/dune/dune-common-2.1.1/dune/common/nullptr.hh:27:3: error:
expected unqualified-id before ‘nullptr’
make[4]: *** [example-example.o] Error 1
make[4]: Leaving directory
`/home/sreejith/dune/dune-istl-2.1.0/dune/istl/tutorial'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/sreejith/dune/dune-istl-2.1.0/dune/istl'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/sreejith/dune/dune-istl-2.1.0/dune'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/sreejith/dune/dune-istl-2.1.0'
make: *** [all] Error 2
--- Failed to build dune-istl ---
Terminating dunecontrol due to previous errors!*


I have attached the build log.

system information:

sreejith at Ananya:~/dune$ ls
dune-common-2.1.1         dune-grid-2.1.0         dune-istl-2.1.0
dune-localfunctions-2.1.0
dune-common-2.1.1.tar.gz  dune-grid-2.1.0.tar.gz  dune-istl-2.1.0.tar.gz
dune-localfunctions-2.1.0.tar.gz

sreejith at Ananya:~/dune$ uname -a
Linux Ananya 3.0.0-14-generic-pae #23-Ubuntu SMP Mon Nov 21 22:07:10 UTC
2011 i686 i686 i386 GNU/Linux


sreejith at Ananya:~/dune$ g++ -v
Using built-in specs.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=/usr/lib/gcc/i686-linux-gnu/4.6.1/lto-wrapper
Target: i686-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro
4.6.1-9ubuntu3' --with-bugurl=file:///usr/share/doc/gcc-4.6/README.Bugs
--enable-languages=c,c++,fortran,objc,obj-c++,go --prefix=/usr
--program-suffix=-4.6 --enable-shared --enable-linker-build-id
--with-system-zlib --libexecdir=/usr/lib --without-included-gettext
--enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.6
--libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu
--enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-plugin
--enable-objc-gc --enable-targets=all --disable-werror --with-arch-32=i686
--with-tune=generic --enable-checking=release --build=i686-linux-gnu
--host=i686-linux-gnu --target=i686-linux-gnu
Thread model: posix
gcc version 4.6.1 (Ubuntu/Linaro 4.6.1-9ubuntu3)



Thank you for your help
Sreejith
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.dune-project.org/pipermail/dune/attachments/20111225/4c42e920/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: build.log
Type: text/x-log
Size: 29238 bytes
Desc: not available
URL: <https://lists.dune-project.org/pipermail/dune/attachments/20111225/4c42e920/attachment.bin>


More information about the Dune mailing list