Skip to content

#501 Dune build system crashed early on during configure on Redhat Linux Systems

Metadata

Property Value
Reported by Benedikt Oswald (benedikt.oswald@psi.ch)
Reported at Feb 17, 2009 16:26
Type Bug Report
Version Git (pre2.4) [autotools]
Operating System Linux 64bit
Last edited by Oliver Sander (oliver.sander@tu-dresden.de)
Last edited at Mar 3, 2009 10:18
Closed by Oliver Sander (oliver.sander@tu-dresden.de)
Closed at Mar 3, 2009 10:18
Closed in version 1.2
Resolution Not a bug
Comment Closing because the reporter can't reproduce the problem anymore. Please reopen if necessary.

Description

Dear Dune, when checking out Dune from the trunk (and the release candidate 1.2) the configure crashes early on with the following symptoms, cf. output below:

Actually, when I do as suggested by the output, i.e. I add

LT_INIT AC_CONFIG_MACRO_DIR([m4])

just after

#! /bin/bash

$Id: configure.ac 5403 2009-01-21 10:11:40Z sander $

Process this file with autoconf to produce a configure script.

DUNE_AC_INIT # gets module version from dune.module file AM_INIT_AUTOMAKE AC_CONFIG_SRCDIR([common/stdstreams.cc]) AM_CONFIG_HEADER([config.h])

it goes through.

The affected operating systems are:

Redhat Entreprise Version 4 :

uname -a = Linux merlin00 2.6.9-78.0.1.ELsmp #1 (closed) SMP Tue Aug 5 13:53:03 CDT 2008 x86_64 x86_64 x86_64 GNU/Linux

Redhat Entreprise Version 5 :

uname -a =

Linux felsim01 2.6.18-92.1.22.el5 #1 (closed) SMP Tue Dec 16 06:45:03 EST 2008 x86_64 x86_64 x86_64 GNU/Linux

The libtool version used is:

[oswald@merlin00 dune-1.2]$ libtool --version ltmain.sh (GNU libtool) 2.2.6 Written by Gordon Matzigkeit gord@gnu.ai.mit.edu, 1996

on both systems.

Thanks for having a look! This problem definitely prevents configuring Dune on Redhat systems.

Greetings, Benedikt


[oswald@merlin00 dune-trunk]$ ./dune-common/bin/dunecontrol --opts=dune.psi.opts all --- going to build dune-common dune-grid dune-grid-howto dune-istl --- --- calling all for dune-common --- --- calling autogen for dune-common --- Found am directory /home2/oswald/scratch2-svnwork-merlin/dune-trunk/dune-common/am --> libtoolize... libtoolize: putting auxiliary files in .'. libtoolize: linking file ./ltmain.sh' libtoolize: You should add the contents of the following files to aclocal.m4': libtoolize: /home2/oswald/scratch2-extlib-merlin/libtool-2.2.6/share/aclocal/libtool.m4' libtoolize: /home2/oswald/scratch2-extlib-merlin/libtool-2.2.6/share/aclocal/ltoptions.m4' libtoolize: /home2/oswald/scratch2-extlib-merlin/libtool-2.2.6/share/aclocal/ltversion.m4' libtoolize: /home2/oswald/scratch2-extlib-merlin/libtool-2.2.6/share/aclocal/ltsugar.m4' libtoolize: /home2/oswald/scratch2-extlib-merlin/libtool-2.2.6/share/aclocal/lt~obsolete.m4' libtoolize: Remember to add LT_INIT' to configure.ac. libtoolize: Consider adding AC_CONFIG_MACRO_DIR([m4])' to configure.ac and libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree. libtoolize: Consider adding -I m4' to ACLOCAL_AMFLAGS in Makefile.am. --> writing dependencies.m4 for dune-common 1.3svn dune@dune-project.org requires --> aclocal... configure.ac:15: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd dependencies.m4:17: DUNE_CHECK_MOD_DEPENDENCIES is expanded from... /home2/oswald/scratch2-svnwork-merlin/dune-trunk/dune-common/m4/dune_all.m4:19: DUNE_CHECK_ALL is expanded from... configure.ac:15: the top level configure.ac:15: warning: AC_PROG_LIBTOOL is m4_require'd but not m4_defun'd /home2/oswald/scratch2-svnwork-merlin/dune-trunk/dune-common/m4/dune_common.m4:1: DUNE_COMMON_CHECKS is expanded from... --> autoheader... configure.ac:15: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd dependencies.m4:17: DUNE_CHECK_MOD_DEPENDENCIES is expanded from... aclocal.m4:1355: DUNE_CHECK_ALL is expanded from... configure.ac:15: the top level configure.ac:15: warning: AC_PROG_LIBTOOL is m4_require'd but not m4_defun'd aclocal.m4:1450: DUNE_COMMON_CHECKS is expanded from... --> automake... configure.ac:15: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd dependencies.m4:17: DUNE_CHECK_MOD_DEPENDENCIES is expanded from... aclocal.m4:1355: DUNE_CHECK_ALL is expanded from... configure.ac:15: the top level configure.ac:15: warning: AC_PROG_LIBTOOL is m4_require'd but not m4_defun'd aclocal.m4:1450: DUNE_COMMON_CHECKS is expanded from... common/Makefile.am:6: Libtool library used but LIBTOOL' is undefined 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. common/Makefile.am:6: If AC_PROG_LIBTOOL' is in configure.ac', make sure common/Makefile.am:6: its definition is in aclocal's search path. doc/doxygen/Makefile.am:10: WHAT was already defined in condition TRUE, which includes condition BUILD_DOCS and WML ... doc/doxygen/Makefile.am:6: ... WHAT' previously defined here am/doxygen:70: user target html' defined here... doc/doxygen/Makefile.am:22: am/doxygen' included from here automake: ... overrides Automake target html' defined here am/doxygen:70: consider using html-local instead of html doc/doxygen/Makefile.am:22: am/doxygen' included from here lib/Makefile.am:4: Libtool library used but LIBTOOL' is undefined 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. lib/Makefile.am:4: If AC_PROG_LIBTOOL' is in configure.ac', make sure lib/Makefile.am:4: its definition is in aclocal's search path. --- Failed to build dune-common --- Execution of dunecontrol terminated due to errors!