[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Mingw-cross-env-list] Failed to build package glib
From: |
Tony Theodore |
Subject: |
Re: [Mingw-cross-env-list] Failed to build package glib |
Date: |
Fri, 24 Feb 2017 08:29:08 +1100 |
> On 24 Feb 2017, at 04:46, Tom Krussel <address@hidden> wrote:
>
> thanks, that worked. there is now an error building mpglib:
>
>
> Making all in mpglib
> make[4]: Entering directory
> `/opt/mxe/tmp-lame-i686-w64-mingw32.static/lame-3.99.5/mpglib'
> /bin/sh ../libtool --tag=CC --mode=compile i686-w64-mingw32.static-gcc
> -DHAVE_CONFIG_H -I. -I.. -I../include -I. -I../libmp3lame -I..
> -I/opt/mxe/usr/i686-w64-mingw32.static/include -O3 -ffast-math
> -funroll-loops -Wall -pipe -MT common.lo -MD -MP -MF .deps/common.Tpo
> -c -o common.lo common.c
> libtool: Version mismatch error. This is libtool 2.2.10, but the
> libtool: definition of this LT_INIT comes from libtool 2.2.6b.
> libtool: You should recreate aclocal.m4 with macros from libtool 2.2.10
> libtool: and run autoconf again.
> make[4]: *** [common.lo] Error 63
> make[4]: Leaving directory
> `/opt/mxe/tmp-lame-i686-w64-mingw32.static/lame-3.99.5/mpglib’
Could you try modifying src/lame.mk as below:
diff --git a/src/lame.mk b/src/lame.mk
index 0434b21..1f04062 100644
--- a/src/lame.mk
+++ b/src/lame.mk
@@ -20,7 +20,7 @@ define $(PKG)_UPDATE
endef
define $(PKG)_BUILD
- cd '$(1)' && autoreconf -i && ./configure \
+ cd '$(1)' && autoreconf -fi && ./configure \
$(MXE_CONFIGURE_OPTS) \
--disable-frontend
$(MAKE) -C '$(1)' -j '$(JOBS)’
Otherwise you could try:
make libtool MXE_PLUGIN_DIRS=plugins/native MXE_TARGETS=`./ext/config.guess`
to install versions of auto tools known to work together.
Cheers,
Tony