[Octopus-users] libxc autoreconf problems on CentOS 5

Marcin Dulak Marcin.Dulak at fysik.dtu.dk
Wed Jan 19 21:29:51 WET 2011


Hi,

i'm getting the following error on CentOS 5 when building libxc:

$ autoreconf -i
configure.ac: installing `./install-sh'
configure.ac: installing `./missing'
src/Makefile.am:22: Libtool library used but `LIBTOOL' is undefined
src/Makefile.am:22:
src/Makefile.am:22: The usual way to define `LIBTOOL' is to add
`AC_PROG_LIBTOOL'
src/Makefile.am:22: to `configure.ac' and run `aclocal' and `autoconf' again.
src/Makefile.am: installing `./depcomp'
testsuite/Makefile.am: installing `./compile'
configure.ac:68: installing `./config.guess'
configure.ac:68: installing `./config.sub'
autoreconf: automake failed with exit status: 1
$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
./configure: line 1791: syntax error near unexpected token `disable-shared'
./configure: line 1791: `LT_INIT(disable-shared)'

I have the default CentOS packages:
libtool-1.5.22-7.el5_4
automake-1.9.6-2.3.el5
autoconf-2.59-12

Any ideas how to fix this in libxc without manually installing any
packages on CentOS?

Best regards,

Marcin



More information about the Octopus-users mailing list