mingw-cross-env-list
[Top][All Lists]
Advanced

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

Re: [Mingw-cross-env-list] Preparation of Release 2.16


From: Tony Theodore
Subject: Re: [Mingw-cross-env-list] Preparation of Release 2.16
Date: Tue, 5 Oct 2010 16:04:11 +1100

On 5 October 2010 13:33, Gregory Smith <address@hidden> wrote:
> On Mon, Oct 4, 2010 at 9:13 PM, Volker Grabsch <address@hidden> wrote:
>> Could you try calling simply "autoconf" instead of "autoreconf"?
>
> I tried that first:
>
> You have another version of autoconf.  If you want to use that,
> you should regenerate the build system entirely.
> aclocal.m4:14: the top level
> autom4te: /usr/bin/m4 failed with exit status: 63
>
>> To everyone else: Are we able to fix that directly within the
>> "./configure" file, as a patch, until the lame project uses a
>> more recent Autoconf?
>
> That would work, but I didn't know if it was clean enough for you.
>
>> The "X"es are really strange. Would you mind sending your log/lame
>> file to the list? (please compress with gzip oder better bzip2 before
>> sending)
>
> Attached.

I suspect it's related to wine, line 23 of the log:

checking whether we are cross compiling... no

Could you try the usual $(SED) replacement and see if that works?

diff -r e18e7ca2ee3f src/lame.mk
--- a/src/lame.mk       Tue Oct 05 15:23:21 2010 +1100
+++ b/src/lame.mk       Tue Oct 05 16:02:23 2010 +1100
@@ -19,6 +19,8 @@
 endef

 define $(PKG)_BUILD
+    # wine confuses the cross-compiling detection, so set it explicitly
+    $(SED) -i 's,cross_compiling=no,cross_compiling=yes,' '$(1)/configure'
     cd '$(1)' && ./configure \
         --host='$(TARGET)' \
         --prefix='$(PREFIX)/$(TARGET)' \


Thanks,

Tony



reply via email to

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