[Dune] error compiling dune with hades
Oliver Sander
sander at igpm.rwth-aachen.de
Thu Jul 10 13:01:26 CEST 2014
Hi,
given that you say you have just setup the machine: are you sure all
AutoTools-related stuff is installed?
Also, since you are on Debian you may want to try to simply backport
the Dune packages from Debian testing. That's easier than it sounds,
and will give you clear error messages when something is missing on
your computer. I'll append a short explanation on how to backport
the Dune Debian packages, written by Ansgar.
Good luck,
Oliver
<quote Ansgar>
If DUNE 2.3 is recent enough for you, you could also try out the Debian
packages. The 2.3 version is currently only available in testing and
unstable, but it should be possible to just rebuild them for Debian 7.4:
1, Add "deb-src http://http.debian.net/debian testing main" to
/etc/apt/sources.list and run sudo apt-get update,
2, Install build dependencies: sudo apt-get install build-essential &&
sudo apt-get build-dep dune-common
3, Then apt-get source -b dune-common should download and build the
dune-common module, leaving you with a few *.deb packages.
4, Install the *.deb packages with sudo dpkg -i libdune-common*.deb
5, Repeat 2-4 for other modules as needed.
</quote Ansgar>
Am 10.07.2014 12:28, schrieb Aleksejs Fomins:
> Dear Dune,
>
> I am trying to compile Dune I just got from the repository yesterday, I
> get the following error message:
>
> =================================================================
>
> --> automake...
> configure.ac:12: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not
> m4_defun'd
> aclocal.m4:2465: DUNE_CHECK_ALL is expanded from...
> configure.ac:12: the top level
> configure.ac:12: warning: AC_DISABLE_SHARED is m4_require'd but not
> m4_defun'd
> aclocal.m4:2465: DUNE_CHECK_ALL is expanded from...
> configure.ac:12: the top level
> configure.ac:12: warning: AC_PROG_LIBTOOL is m4_require'd but not m4_defun'd
> aclocal.m4:2465: DUNE_CHECK_ALL is expanded from...
> configure.ac:12: the top level
> configure.ac:12: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not
> m4_defun'd
> aclocal.m4:2688: DUNE_COMMON_CHECKS is expanded from...
> dependencies.m4:16: DUNE_CHECK_MOD_DEPENDENCIES is expanded from...
> aclocal.m4:2465: DUNE_CHECK_ALL is expanded from...
> configure.ac:12: the top level
> configure.ac:12: warning: AC_PROG_LIBTOOL is m4_require'd but not m4_defun'd
> aclocal.m4:2688: DUNE_COMMON_CHECKS is expanded from...
> dependencies.m4:16: DUNE_CHECK_MOD_DEPENDENCIES is expanded from...
> aclocal.m4:2465: DUNE_CHECK_ALL is expanded from...
> configure.ac:12: the top level
> dune/common/Makefile.am:6: error: Libtool library used but 'LIBTOOL' is
> undefined
> dune/common/Makefile.am:6: The usual way to define 'LIBTOOL' is to add
> 'LT_INIT'
> dune/common/Makefile.am:6: to 'configure.ac' and run 'aclocal' and
> 'autoconf' again.
> dune/common/Makefile.am:6: If 'LT_INIT' is in 'configure.ac', make sure
> dune/common/Makefile.am:6: its definition is in aclocal's search path.
> lib/Makefile.am:8: error: Libtool library used but 'LIBTOOL' is undefined
> lib/Makefile.am:8: The usual way to define 'LIBTOOL' is to add 'LT_INIT'
> lib/Makefile.am:8: to 'configure.ac' and run 'aclocal' and 'autoconf'
> again.
> lib/Makefile.am:8: If 'LT_INIT' is in 'configure.ac', make sure
> lib/Makefile.am:8: its definition is in aclocal's search path.
> --- Failed to build dune-common ---
>
> =================================================================
>
> This is a new machine I am setting up
>
> Linux debian 3.2.0-4-amd64 #1 SMP Debian 3.2.57-3+deb7u2 x86_64 GNU/Linux
>
> using the new GCC compiler
>
> gcc -v
> Using built-in specs.
> COLLECT_GCC=gcc
> COLLECT_LTO_WRAPPER=/opt/extlib/gcc/4.9.0/gcc/4.9.0/libexec/gcc/x86_64-unknown-linux-gnu/4.9.0/lto-wrapper
> Target: x86_64-unknown-linux-gnu
> Configured with: ../gcc-4.9.0/configure
> --prefix=/opt/extlib/gcc/4.9.0/gcc/4.9.0
> --with-gmp=/opt/extlib/gmp/6.0.0/gcc/4.9.0
> --with-mpfr=/opt/extlib/mpfr/3.1.2/gcc/4.9.0
> --with-mpc=/opt/extlib/mpc/1.0.2/gcc/4.9.0
> --with-isl=/opt/extlib/isl/0.12.2/gcc/4.9.0
> --with-cloog=/opt/extlib/cloog/0.18.1/gcc/4.9.0
> Thread model: posix
> gcc version 4.9.0 (GCC)
>
> ==================================================================
>
> Can you give me some advice on what goes wrong?
>
>
>
> Regards,
> Aleksejs Fomins
>
>
>
>
>
>
>
>
> _______________________________________________
> Dune mailing list
> Dune at dune-project.org
> http://lists.dune-project.org/mailman/listinfo/dune
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 534 bytes
Desc: OpenPGP digital signature
URL: <https://lists.dune-project.org/pipermail/dune/attachments/20140710/b739aa17/attachment.sig>
More information about the Dune
mailing list