genebean/uptimed — Issue #1: Automake not found when compiling on CentOS 6.2
Author: Jorilx
Created: 2012-03-05 15:36:35+00:00
State: open

I'm trying to build uptimed on CentOS 6.2.
I did a
yum install gcc make automake
./configure
gmake

and it says

cd . && /bin/sh /root/genebean-uptimed-69e61c1/missing --run aclocal-1.10
/root/genebean-uptimed-69e61c1/missing: line 46: aclocal-1.10: command not found
WARNING: `aclocal-1.10' is needed, and you do not seem to have it handy on your
system. You might have modified some files without having the
proper tools for further handling them. Check the `README' file,
it often tells you about the needed prerequirements for installing
this package. You may also peek at any GNU archive site, in case
some other package would contain this missing `aclocal-1.10' program.
gmake: *** [aclocal.m4] Error 1

Since CentOS 6.2 has ac-local 1.11, I did a
sed -i s/1.10/1.11/ configure
./configure
gmake
but now

cd . && /bin/sh /root/genebean-uptimed-69e61c1/missing --run aclocal-1.11
configure.ac:6: warning: macro `AM_PROG_LIBTOOL' not found in library
cd . && /bin/sh /root/genebean-uptimed-69e61c1/missing --run automake-1.11 --gnu
libuptimed/Makefile.am:1: Libtool library used but `LIBTOOL' is undefined
libuptimed/Makefile.am:1: The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
libuptimed/Makefile.am:1: to `configure.ac' and run `aclocal' and `autoconf' again.
libuptimed/Makefile.am:1: If `AC_PROG_LIBTOOL' is in `configure.ac', make sure
libuptimed/Makefile.am:1: its definition is in aclocal's search path.
src/Makefile.am:17: `CFLAGS' is a user variable, you should not override it;
src/Makefile.am:17: use `AM_CFLAGS' instead.
WARNING: `automake-1.11' is needed, and you do not seem to have it handy on your
system. You might have modified some files without having the
proper tools for further handling them. Check the `README' file,
it often tells you about the needed prerequirements for installing
this package. You may also peek at any GNU archive site, in case
some other package would contain this missing `automake-1.11' program.
gmake: *** [Makefile.in] Error 1

This is strange though, since I *have* an automake-1.11 installed. What could I try?