[Dune] dune-subgrid and release 1.0
Oliver Sander
sander at mi.fu-berlin.de
Mon Apr 16 15:15:03 CEST 2007
Dear Dune!
I would like to able to use the dune-subgrid module together with the
1.0 release of dune. It does work already with the trunk. There were
two patches necessary: 4900 (in dunecontrol), and 4893 (in dune.m4).
Before merging those patches to the release branch I wanted to try
them with the beta4 tarballs and ran into trouble. In particular I
did the following. I downloaded and untarred dune-common-1.0beta4.
Then I applied patch 4893 (correctly). As a reminder, 4893 is
--- dune.m4 (Revision 4892)
+++ dune.m4 (Revision 4893)
@@ -235,6 +235,8 @@
DUNE_CHECK_MODULES([dune-istl], [istl/allocator.hh])],
[$1], [dune-disc],[
DUNE_CHECK_MODULES([dune-disc], [disc/shapefunctions/lagrangeshapefunctions.hh], [Dune::LagrangeShapeFunctions<double[,]double[,]3>::general])],
+ [$1], [dune-subgrid],[
+ DUNE_CHECK_MODULES([dune-subgrid], [subgrid/subgrid.hh])],
[AC_MSG_ERROR([Unknown module $1])])
])
Then I called dune-common-1.0beta4/bin/dunecontrol --only=dune-common all
and got
--- going to build dune-common ---
--- calling all for dune-common ---
./configure
"--with-dune-common=/home/haile/sander/dune-testing/dune-common-1.0beta4"
"--with-dune-grid=/home/haile/sander/dune-testing/dune-grid-1.0beta4"
"--with-dune-istl=/home/haile/sander/dune-testing/dune-istl-1.0beta4"
"--with-dune-disc=/home/haile/sander/dune-testing/dune-disc"
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
[...]
config.status: creating bin/check-log-store
config.status: creating dune-common.pc
config.status: creating config.h
config.status: executing depfiles commands
make
cd . && /bin/sh
/home/haile/sander/dune-testing/dune-common-1.0beta4/missing --run
aclocal-1.9
cd . && /bin/sh
/home/haile/sander/dune-testing/dune-common-1.0beta4/missing --run
automake-1.9 --foreign
common/Makefile.am:6: Libtool library used but `LIBTOOL' is undefined
common/Makefile.am:6:
common/Makefile.am:6: The usual way to define `LIBTOOL' is to add
`AC_PROG_LIBTOOL'
common/Makefile.am:6: to `configure.ac' and run `aclocal' and `autoconf'
again.
/usr/share/automake-1.9/am/depend2.am: am__fastdepCXX does not appear in
AM_CONDITIONAL
/usr/share/automake-1.9/am/depend2.am: AMDEP does not appear in
AM_CONDITIONAL
common/Makefile.am: C++ source seen but `CXX' is undefined
common/Makefile.am:
common/Makefile.am: The usual way to define `CXX' is to add `AC_PROG_CXX'
common/Makefile.am: to `configure.ac' and run `autoconf' again.
/usr/share/automake-1.9/am/depend2.am: am__fastdepCXX does not appear in
AM_CONDITIONAL
/usr/share/automake-1.9/am/depend2.am: AMDEP does not appear in
AM_CONDITIONAL
common/test/Makefile.am: C++ source seen but `CXX' is undefined
common/test/Makefile.am:
common/test/Makefile.am: The usual way to define `CXX' is to add
`AC_PROG_CXX'
common/test/Makefile.am: to `configure.ac' and run `autoconf' again.
doc/Makefile.am:7: BUILD_DOCS does not appear in AM_CONDITIONAL
doc/buildsystem/Makefile.am:3: BUILD_DOCS does not appear in
AM_CONDITIONAL
doc/devel/Makefile.am:3: BUILD_DOCS does not appear in AM_CONDITIONAL
doc/doxygen/Makefile.am:3: BUILD_DOCS does not appear in AM_CONDITIONAL
doc/doxygen/Makefile.am:21: WML does not appear in AM_CONDITIONAL
lib/Makefile.am:4: Libtool library used but `LIBTOOL' is undefined
lib/Makefile.am:4:
lib/Makefile.am:4: The usual way to define `LIBTOOL' is to add
`AC_PROG_LIBTOOL'
lib/Makefile.am:4: to `configure.ac' and run `aclocal' and `autoconf'
again.
make: *** [Makefile.in] Fehler 1
Does anybody know why this happens? The tarball works without the
patch, and the patch works on the trunk.
Thanks,
Oliver [clueless]
************************************************************************
* Oliver Sander ** email: sander at mi.fu-berlin.de *
* Freie Universität Berlin ** phone: + 49 (30) 838 75217 *
* Institut für Mathematik II ** URL : page.mi.fu-berlin.de/~sander *
* Arnimallee 6 ** -------------------------------------*
* 14195 Berlin, Germany ** Member of MATHEON (www.matheon.de) *
************************************************************************
More information about the Dune
mailing list