[ADOL-C] Installing ADOLC-2.2.0

Brad Bell bradbell at seanet.com
Sat May 7 19:25:02 EDT 2011


The suggestion below worked, but I do not understand. I thought that the 
autotools were designed so that configure and make commands do not 
require the autotools to be installed (and do not care what version of 
the autotools I have installed).

The multiple level taping  CppAD/ADOL-C tests that worked with version 
2.1.2 of ADOL-C do not work with version 2.2.0. For example, see
     http://www.coin-or.org/CppAD/Doc/mul_level_adolc.cpp.xml

I had to patch ADOL-C 2.1.2 to get it to compile with the tests (see 
attached shell script).

P.S.
Version 2.2.0 of ADOL-C is a much larger tarball. Why is this ?

[bradbell at localhost install]$ ls -l ADOL-C*.tgz
-rw-rw-r--. 1 bradbell bradbell  1620438 Dec 15  2009 ADOL-C-2.1.2.tgz
-rw-rw-r--. 1 bradbell bradbell 12879117 Apr 12 00:00 ADOL-C-2.2.0.tgz


On 5/6/2011 9:05 AM, Kshitij Kulshreshtha wrote:
> Hello,
>
> since your autotools/libtool are older you should run
>
> autoreconf -fi
>
> before you run ./configure
>
> Regards.
> Kshitij.
>
> As on 2011-05-06 17:18, Brad Bell did write:
>> When I execute the following script
>>       #! /bin/bash -e
>>       #
>>       dir="ADOL-C-2.2.0"
>>       if [ -e $dir ]
>>       then
>>           rm $dir
>>       fi
>>           tar -xzf $dir.tgz
>>       cd $dir
>>       #
>>       ./configure --prefix=$HOME/prefix/adolc
>>       make install
>>
>> I get the following error message:
>>
>> ... snip ...
>>
>> Making install in drivers
>>     CC    drivers.o
>>     CC    driversf.o
>>     CC    odedrivers.o
>>     CC    odedriversf.o
>>     CC    taylor.o
>>     LINK  libdrivers.la
>> libtool: Version mismatch error.  This is libtool 2.2.6b, but the
>> libtool: definition of this LT_INIT comes from libtool 2.2.10.
>> libtool: You should recreate aclocal.m4 with macros from libtool 2.2.6b
>> libtool: and run autoconf again.
>> make[4]: *** [libdrivers.la] Error 63
>> make[3]: *** [install-recursive] Error 1
>> make[2]: *** [install-recursive] Error 1
>> make[1]: *** [install] Error 2
>> make: *** [install-recursive] Error 1
>> [bradbell at localhost install]$
>>
>> _______________________________________________
>> ADOL-C mailing list
>> ADOL-C at list.coin-or.org
>> http://list.coin-or.org/mailman/listinfo/adol-c

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: install_adolc.sh
Url: http://list.coin-or.org/pipermail/adol-c/attachments/20110507/f9445882/attachment.pl 


More information about the ADOL-C mailing list