[Octopus-users] libxc autoreconf problems on CentOS 5
Marcin Dulak
Marcin.Dulak at fysik.dtu.dk
Thu Jan 20 07:36:07 WET 2011
Hi,
on a fresh checkout, this time i'm getting a different error: it looks
like some files are put into ../..:
libxc $autoreconf -i
Putting files in AC_CONFIG_AUX_DIR, `../..'.
configure.ac: installing `./install-sh'
configure.ac: installing `./missing'
src/Makefile.am: installing `./depcomp'
testsuite/Makefile.am: installing `./compile'
configure.ac:31: installing `./config.guess'
configure.ac:31: installing `./config.sub'
configure.ac:31: required file `./ltmain.sh' not found
autoreconf: automake failed with exit status: 1
Marcin
Xavier Andrade wrote:
> Hi Marcin,
>
> This is a problem with the version of libtool. I just fixed it in the
> repository, we were using the new initialization routines from version
> 2. If you want to do it by hand, you can just change the call to
> LT_INIT to AC_PROG_LIBTOOL in configure.ac.
>
> Cheers,
>
> Xavier
>
> On Wed, Jan 19, 2011 at 4:29 PM, Marcin Dulak <Marcin.Dulak at fysik.dtu.dk> wrote:
>
>> 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
>>
>> _______________________________________________
>> Octopus-users mailing list
>> Octopus-users at tddft.org
>> http://www.tddft.org/mailman/listinfo/octopus-users
>>
>>
More information about the Octopus-users
mailing list