[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Help-gsl] Building GSL
From: |
Dominic Steinitz |
Subject: |
[Help-gsl] Building GSL |
Date: |
Fri, 23 Feb 2018 19:29:13 +0000 |
Hello
I am trying to build gsl from the git repo.
I have
bash-3.2$ autoconf --version
autoconf (GNU Autoconf) 2.69
bash-3.2$ automake --version
automake (GNU automake) 1.15.1
bash-3.2$ libtool --version
libtool (GNU libtool) 2.4.6
If I try running autoconf, I get errors
bash-3.2$ autoconf
configure.ac:6: error: possibly undefined macro: AM_INIT_AUTOMAKE
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
configure.ac:8: error: possibly undefined macro: AM_MAINTAINER_MODE
Searching the web suggests trying autoreconf -i -v but this gives lots of
errors about libtool.
bash-3.2$ autoreconf -i -v
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal
autoreconf: configure.ac: tracing
autoreconf: configure.ac: not using Libtool
autoreconf: running:
/nix/store/pxz0bv3vf0r4s0r2srkgqz73zlv69xil-autoconf-2.69/bin/autoconf
autoreconf: running:
/nix/store/pxz0bv3vf0r4s0r2srkgqz73zlv69xil-autoconf-2.69/bin/autoheader
autoreconf: running: automake --add-missing --copy --no-force
configure.ac:105: installing './compile'
configure.ac:101: installing './config.guess'
configure.ac:101: installing './config.sub'
Makefile.am:20: error: Libtool library used but 'LIBTOOL' is undefined
Makefile.am:20: The usual way to define 'LIBTOOL' is to add 'LT_INIT'
Makefile.am:20: to 'configure.ac' and run 'aclocal' and 'autoconf' again.
Makefile.am:20: If 'LT_INIT' is in 'configure.ac', make sure
Makefile.am:20: its definition is in aclocal's search path.
Makefile.am: installing './depcomp'
I do seem to get a configure file but running it results in errors
bash-3.2$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for a sed that does not truncate output... /usr/bin/sed
checking whether make sets $(MAKE)... (cached) yes
checking build system type... x86_64-apple-darwin17.3.0
checking host system type... x86_64-apple-darwin17.3.0
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking whether ln -s works... yes
./configure: line 4318: syntax error near unexpected token `win32-dll'
./configure: line 4318: `LT_INIT(win32-dll)'
Dominic Steinitz
address@hidden
http://idontgetoutmuch.wordpress.com
Twitter: @idontgetoutmuch
- [Help-gsl] Building GSL,
Dominic Steinitz <=