#494 duneproject fails to put up a buildable module
Metadata
| Property | Value |
|---|---|
| Reported by | Uli Sack (usack@math.fu-berlin.de) |
| Reported at | Feb 9, 2009 15:39 |
| Type | Bug Report |
| Version | Git (pre2.4) [autotools] |
| Operating System | Linux 64bit |
| Last edited by | Christian Engwer (christi@conan.iwr.uni-heidelberg.de) |
| Last edited at | Feb 13, 2009 14:29 |
| Closed by | Christian Engwer (christi@conan.iwr.uni-heidelberg.de) |
| Closed at | Feb 13, 2009 14:29 |
| Closed in version | Unknown |
| Resolution | Fixed |
| Comment |
Description
The following is on a 64Bit machine with >more /proc/version Linux version 2.6.16.54-0.2.11-smp (geeko@buildhost) (gcc version 4.1.2 20070115 (prerelease) (SUSE Linux)) #1 (closed) SMP Fri Aug 29 15:13:40 UTC 2008
If I use dune-common/bin/dune-project I get the messages dune-common/bin/duneproject: line 501: datadir: command not found dune-common/bin/duneproject: line 501: M4FILES: command not found dune-common/bin/duneproject: line 501: M4FILES: command not found dune-common/bin/duneproject: line 501: top_srcdir: command not found
On my 32Bit system Linux version 2.6.18-6-686 (Debian 2.6.18.dfsg.1-23etch1) (dannf@debian.org) (gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)) #1 (closed) SMP Fri Dec 12 16:48:28 UTC 2008 I get the same but can nevertheless build the project.
On the above mentioned however calling dunecontrol all yields:
prompt> dune-common/bin/dunecontrol --opts=my.opts --only=MATHEON-C17 all
--- going to build MATHEON-C17 ---
--- calling all for MATHEON-C17 ---
--- calling autogen for MATHEON-C17 ---
Found am directory /tmp/bzhsacku/rechnen/dune/dune-common/am
--> libtoolize...
Remember to add AC_PROG_LIBTOOL' to configure.ac'.
You should add the contents of /usr/share/aclocal/libtool.m4' to aclocal.m4'.
--> writing dependencies.m4
for MATHEON-C17 0.8 usack@math.fu-berlin.de
--> aclocal...
configure.ac:13: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd
dependencies.m4:14: DUNE_CHECK_MOD_DEPENDENCIES is expanded from...
/tmp/bzhsacku/rechnen/dune/dune-common/m4/dune_all.m4:19: DUNE_CHECK_ALL is expanded from...
configure.ac:13: the top level
configure.ac:13: warning: AC_PROG_LIBTOOL is m4_require'd but not m4_defun'd
/tmp/bzhsacku/rechnen/dune/dune-common/m4/dune_common.m4:1: DUNE_COMMON_CHECKS is expanded from...
configure.ac:13: warning: GXX0X is m4_require'd but not m4_defun'd
configure.ac:13: warning: STATIC_ASSERT_CHECK is m4_require'd but not m4_defun'd
configure.ac:13: warning: NULLPTR_CHECK is m4_require'd but not m4_defun'd
/tmp/bzhsacku/rechnen/dune/dune-common/m4/dune.m4:58: DUNE_CHECK_MODULES is expanded from...
/tmp/bzhsacku/rechnen/dune/dune-common/m4/dune_common.m4:74: DUNE_COMMON_CHECK_MODULE is expanded from...
configure.ac:13: warning: AC_PROG_LD_GNU is m4_require'd but not m4_defun'd
/tmp/bzhsacku/rechnen/dune/dune-common/m4/grape.m4:6: DUNE_PATH_GRAPE is expanded from...
/tmp/bzhsacku/rechnen/dune/dune-grid/m4/dune_grid.m4:1: DUNE_GRID_CHECKS is expanded from...
/tmp/bzhsacku/rechnen/dune/dune-grid/m4/dune_grid.m4:12: DUNE_GRID_CHECK_MODULE is expanded from...
/tmp/bzhsacku/rechnen/dune/dune-common/m4/dune.m4:275: DUNE_SUBGRID_CHECK_MODULE is expanded from...
/tmp/bzhsacku/rechnen/dune/dune-common/m4/dune_istl.m4:17: DUNE_ISTL_CHECK_MODULE is expanded from...
/tmp/bzhsacku/rechnen/dune/dune-common/m4/dune.m4:269: DUNE_DISC_CHECK_MODULE is expanded from...
/tmp/bzhsacku/rechnen/dune/ag-common/m4/ag_common.m4:5: AG_COMMON_CHECK_MODULE is expanded from...
--> linking dune-common/am...
--> autoheader...
configure.ac:13: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd
dependencies.m4:14: DUNE_CHECK_MOD_DEPENDENCIES is expanded from...
aclocal.m4:2379: DUNE_CHECK_ALL is expanded from...
configure.ac:13: the top level
configure.ac:13: warning: AC_PROG_LIBTOOL is m4_require'd but not m4_defun'd
aclocal.m4:2544: DUNE_COMMON_CHECKS is expanded from...
configure.ac:13: warning: GXX0X is m4_require'd but not m4_defun'd
configure.ac:13: warning: STATIC_ASSERT_CHECK is m4_require'd but not m4_defun'd
configure.ac:13: warning: NULLPTR_CHECK is m4_require'd but not m4_defun'd
aclocal.m4:2063: DUNE_CHECK_MODULES is expanded from...
aclocal.m4:2617: DUNE_COMMON_CHECK_MODULE is expanded from...
configure.ac:13: warning: AC_PROG_LD_GNU is m4_require'd but not m4_defun'd
aclocal.m4:3299: DUNE_PATH_GRAPE is expanded from...
aclocal.m4:4670: DUNE_GRID_CHECKS is expanded from...
aclocal.m4:4681: DUNE_GRID_CHECK_MODULE is expanded from...
aclocal.m4:2280: DUNE_SUBGRID_CHECK_MODULE is expanded from...
aclocal.m4:2825: DUNE_ISTL_CHECK_MODULE is expanded from...
aclocal.m4:2274: DUNE_DISC_CHECK_MODULE is expanded from...
aclocal.m4:885: AG_COMMON_CHECK_MODULE is expanded from...
--> automake...
configure.ac:13: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd
dependencies.m4:14: DUNE_CHECK_MOD_DEPENDENCIES is expanded from...
aclocal.m4:2379: DUNE_CHECK_ALL is expanded from...
configure.ac:13: the top level
configure.ac:13: warning: AC_PROG_LIBTOOL is m4_require'd but not m4_defun'd
aclocal.m4:2544: DUNE_COMMON_CHECKS is expanded from...
configure.ac:13: warning: GXX0X is m4_require'd but not m4_defun'd
configure.ac:13: warning: STATIC_ASSERT_CHECK is m4_require'd but not m4_defun'd
configure.ac:13: warning: NULLPTR_CHECK is m4_require'd but not m4_defun'd
aclocal.m4:2063: DUNE_CHECK_MODULES is expanded from...
aclocal.m4:2617: DUNE_COMMON_CHECK_MODULE is expanded from...
configure.ac:13: warning: AC_PROG_LD_GNU is m4_require'd but not m4_defun'd
aclocal.m4:3299: DUNE_PATH_GRAPE is expanded from...
aclocal.m4:4670: DUNE_GRID_CHECKS is expanded from...
aclocal.m4:4681: DUNE_GRID_CHECK_MODULE is expanded from...
aclocal.m4:2280: DUNE_SUBGRID_CHECK_MODULE is expanded from...
aclocal.m4:2825: DUNE_ISTL_CHECK_MODULE is expanded from...
aclocal.m4:2274: DUNE_DISC_CHECK_MODULE is expanded from...
aclocal.m4:885: AG_COMMON_CHECK_MODULE is expanded from...
configure.ac:5: installing ./install-sh' configure.ac:5: installing ./missing'
Makefile.am: installing `./depcomp'
--> autoconf...
configure.ac:13: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd
dependencies.m4:14: DUNE_CHECK_MOD_DEPENDENCIES is expanded from...
aclocal.m4:2379: DUNE_CHECK_ALL is expanded from...
configure.ac:13: the top level
configure.ac:13: warning: AC_PROG_LIBTOOL is m4_require'd but not m4_defun'd
aclocal.m4:2544: DUNE_COMMON_CHECKS is expanded from...
configure.ac:13: warning: GXX0X is m4_require'd but not m4_defun'd
configure.ac:13: warning: STATIC_ASSERT_CHECK is m4_require'd but not m4_defun'd
configure.ac:13: warning: NULLPTR_CHECK is m4_require'd but not m4_defun'd
aclocal.m4:2063: DUNE_CHECK_MODULES is expanded from...
aclocal.m4:2617: DUNE_COMMON_CHECK_MODULE is expanded from...
configure.ac:13: warning: AC_PROG_LD_GNU is m4_require'd but not m4_defun'd
aclocal.m4:3299: DUNE_PATH_GRAPE is expanded from...
aclocal.m4:4670: DUNE_GRID_CHECKS is expanded from...
aclocal.m4:4681: DUNE_GRID_CHECK_MODULE is expanded from...
aclocal.m4:2280: DUNE_SUBGRID_CHECK_MODULE is expanded from...
aclocal.m4:2825: DUNE_ISTL_CHECK_MODULE is expanded from...
aclocal.m4:2274: DUNE_DISC_CHECK_MODULE is expanded from...
aclocal.m4:885: AG_COMMON_CHECK_MODULE is expanded from...
configure:2188: error: possibly undefined macro: AC_DISABLE_SHARED
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
configure:4199: error: possibly undefined macro: AC_PROG_LIBTOOL
configure:10253: error: possibly undefined macro: AC_PROG_LD_GNU
--- Failed to build MATHEON-C17 ---
Execution of dunecontrol terminated due to errors!
How can I work around it?