libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bi-arch build problem: cannot build 64-bit libs on ppc64


From: Peter O'Gorman
Subject: Re: bi-arch build problem: cannot build 64-bit libs on ppc64
Date: Mon, 21 Jan 2008 08:51:33 -0600
User-agent: Thunderbird 2.0.0.9 (X11/20071115)

Maynard Johnson wrote:
> Peter O'Gorman wrote:
>> Maynard Johnson wrote:
>>
>>  
>>>    #> ./libtool --version
>>>    ltmain.sh (GNU libtool) 1.5.24 (1.1220.2.455 2007/06/24 02:13:29)
>>>
>>>    Copyright (C) 2007  Free Software Foundation, Inc.
>>>    This is free software; see the source for copying conditions.  There
>>> is NO
>>>    warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
>>> PURPOSE.
>>>     
>>
>> Is it possible that while your ltmain.sh comes from libtool-1.5.24, your
>> configure was generated using an earlier version of libtool.m4?
>>
>> Check your aclocal.m4 (and the m4 files it includes), for 'serial ??
>> AC_PROG_LIBTOOL'. For 1.5.24 that should be 'serial 51 AC_PROG_LIBTOOL'.
>>   
> I started out with libtool 1.5.22 installed in /usr on my system.  I
> installed 1.5.24 in /usr/local before posting to the list.  I thought I
> had regenerated everything in my project from scratch after installing
> 1.5.24, but when I looked at aclocal.m4, I saw 'serial 48
> AC_PROG_LIBTOOL'.  So I started again from scratch in a new session,
> making sure that the libtool in my path was 1.5.24.  I checked out my
> project fresh from CVS so that there were no old generated files; ran
> the libtoolize, aclocal, autoheader, automake, and autoconf; then did
> the configure as before (with CFLAGS and CXXFLAGS = "-m64".  Same
> result.  I still see 'serial 48 AC_PROG_LIBTOOL' in aclocal.m4.  What am
> I missing?

aclocal -I /usr/local/share/aclocal

or copy libtool.m4 into your project, and add that relative path to the
aclocal includes (perhaps using Makefile.am 'ACLOCAL_AMFLAGS = -I ./foo').

Hope that after all of this the problem is fixed,
Peter
-- 
Peter O'Gorman
http://pogma.com




reply via email to

[Prev in Thread] Current Thread [Next in Thread]