Can you please pastebin or gist the contents of config.log?
--
Benoit "tsuna" Sigoure
Software Engineer @ www.StumbleUpon.com
Sorry if I wasn't clear enough. I was asking for the config.log
produced by OpenTSDB's configure script. The one you pasted is the
config.log from Autoconf itself.
When you run OpenTSDB ./configure, and you get the error you initially
reported in this thread, ./configure will leave behind a config.log
that contains details about what happened, and it will probably shed
some light on why you got that weird error.
Wow, it's failing very early on, I've never seen this kind of failure
before. Sorry to ask you to pastebin something again, but could you
pastebin the output of "sh -x ./configure" please?
Oh, right. I don't know why I asked for config.log if you couldn't
even get past the ./bootstrap point, my bad. So we have to find
what's wrong with autoreconf. You said you installed newer versions
of various tools, but are you sure that when you run "autoreconf"
(which is what the ./bootstrap script does) it picks up the new
version? Some distros install newer versions under different names –
it might be the case for CentOS.
If you run this command: autoreconf -fvi
Normally you should see exactly what autoreconf is doing, for instance
on my machine I get this:
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force -I build-aux
autoreconf: configure.ac: tracing
autoreconf: configure.ac: not using Libtool
autoreconf: running: /usr/bin/autoconf --force
autoreconf: configure.ac: not using Autoheader
autoreconf: running: automake --add-missing --copy --force-missing
autoreconf: Leaving directory `.'
So I can see it's running "aclocal", "/usr/bin/autoconf" and "automake".
$ aclocal --version
aclocal (GNU automake) 1.10
$ /usr/bin/autoconf --version
autoconf (GNU Autoconf) 2.61
$ automake --version
automake (GNU automake) 1.10
If you've installed Autoconf version 2.68 and your distro calls it
"autoconf-2.68" for instance, then you can set the environment
variable AUTOCONF to tell autoreconf where to find it:
env AUTOCONF=`which autoconf-2.68` ./bootstrap
It's also possible that you installed new tools under a directory that
isn't in your PATH or that comes too late in your PATH. For instance
I have:
$ autoreconf --version
autoreconf (GNU Autoconf) 2.61
But in fact I also have a newer version on my system, under a
different directory:
$ /opt/local/bin/autoreconf --version
autoreconf (GNU Autoconf) 2.65
I can update my path to pick it up:
$ export PATH=/opt/local/bin:$PATH
$ autoreconf --version
autoreconf (GNU Autoconf) 2.65
So now I can do:
$ AUTOMAKE=`which automake-1.11` ACLOCAL=`which aclocal-1.11` ./bootstrap
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: /opt/local/bin/aclocal-1.11 --force -I build-aux
autoreconf: configure.ac: tracing
autoreconf: configure.ac: not using Libtool
autoreconf: running: /opt/local/bin/autoconf --force
autoreconf: configure.ac: not using Autoheader
autoreconf: running: /opt/local/bin/automake-1.11 --add-missing --copy
--force-missing
autoreconf: Leaving directory `.'
And if I look in the configure script, it says "Generated by GNU
Autoconf 2.65 for opentsdb 1.0" and the Makefile.in says "Makefile.in
generated by automake 1.11.1 from Makefile.am"
> Do you have a rough idea of what software versions that I would
> require to successfully run the ./bootstrap script?
I think these are the oldest versions that can work:
Autoconf 2.60 (released June 26, 2006)
Automake 1.9.4 (released December 18, 2004)
Newer versions should be fine.
If you don't want to deal with bootstrapping issues, I've put a
pre-bootstrapped self-contained tarball of the current stable version
of OpenTSDB here:
http://tsunanet.net/~tsuna/opentsdb/opentsdb-1.0-03b7164.tar.gz