[cgma-dev] build issues, libtool

Jed Brown jed at 59A2.org
Sat Sep 19 12:31:32 CDT 2009


Jason Kraftcheck wrote:
> Jed Brown wrote:
>> Jason Kraftcheck wrote:
>>> Jed Brown wrote:
>>>> My system is automake 1.11, autoconf 2.64, libtool 2.2.6a, gcc 4.4.1.  I
>>>> pulled the most recent CGM (r3134), ran autoreconf -fi, and then
>>>> subsequently hit some build issues.  I don't know if this is due to new
>>>> versions on my end, or updates to CGM in the last couple months
>>>> (changelog suggests the former, but I'd rather not revert my environment
>>>> to confirm this unless it's important).
>>>>
>>> I cannot reproduce the issues you see below.  More comments below.  I tried
>>> using automake 1.10.1 and autoconf 2.61 with both version 1.5.26 and 2.2.6a
>>> of libtool.  I think something is wrong with your libtool installation.
>> This could be, but other autotools projects are building just fine.
>> FWIW, autoreconf -fi produces a lot more warnings now than it has in the
>> past.  Are you sure the newer versions of automake and autoconf aren't
>> causing the problem?
>>
> 
> I was able to reproduce this error (no -fPIC) when using the latest versions
> of autoconf and automake.  I was unable to determine why this was happening,
> but re-ordering some of the checks seems to make the problem disappear, so
> its fixed/worked around.  I think there's a bug in the autotools stuff
> somewhere.

Thanks for this.  Your patch has the pleasant side effects of fixing my
libtool problems and the need to link C using mpicxx.  All three
packages are building correctly after (1) removal of the duplicate
MBCN_FCDefs.h entry and (2) the Lasso stdio.h patch.  Another mystery of
autotools...

Jed

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 261 bytes
Desc: OpenPGP digital signature
URL: <http://lists.mcs.anl.gov/pipermail/cgma-dev/attachments/20090919/55d90414/attachment.pgp>


More information about the cgma-dev mailing list