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

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

[Mingw-cross-env-list] gnutls failing to build


From: Robert Lipe
Subject: [Mingw-cross-env-list] gnutls failing to build
Date: Wed, 6 Feb 2013 14:39:25 -0600

Hi,

I recently learned about MXE and was investigating it to replace the hodgepodge of tools I use to build GPSBabel. It looks really promising.   My goal is to be able to cross-compile code that uses Qt, though I've used Mingw for cross builds for years. Unfortunately, I ran into a problem I couldn't find in the mailing lists. 

I'm hosting on a Mountain Lion system. I installed MacPorts and all the required packages via your directions.GCC and Binutils and all their little helpers all build and work just fine.  But a dependency for Qt jumps the rails.

$ make qt
[build]    gnutls

Failed to build package gnutls!
------------------------------------------------------------
    You should use the 'AC_CONFIG_HEADERS' macro instead.
/opt/local/share/aclocal-1.13/obsolete-err.m4:12: AM_CONFIG_HEADER is expanded from...
configure.ac:30: the top level
autom4te: /opt/local/bin/gm4 failed with exit status: 1
aclocal: error: echo failed with exit status: 1
make[1]: *** [build-only-gnutls] Error 1


 .git/HEAD shows I'm on stable, not dev, so I shouldn't have landed in a risky place.

The logfile shows:


rm -rf   '/Users/robertlipe/mxe/mxe/tmp-gnutls'
mkdir -p '/Users/robertlipe/mxe/mxe/tmp-gnutls'
cd '/Users/robertlipe/mxe/mxe/tmp-gnutls' &&     xz -dc '/Users/robertlipe/mxe/mxe/pkg/gnutls-3.0.17.tar.xz' | tar xf -
cd '/Users/robertlipe/mxe/mxe/tmp-gnutls/gnutls-3.0.17'
(cd '/Users/robertlipe/mxe/mxe/tmp-gnutls/gnutls-3.0.17' && patch -p1 -u) < ./src/gnutls-1-fixes.patch
patching file lib/gnutls.pc.in
patching file Makefile.am
patching file configure.ac
patching file configure.ac
gsed -i 's, sed , gsed ,g' '/Users/robertlipe/mxe/mxe/tmp-gnutls/gnutls-3.0.17/gl/tests/Makefile.am'
cd '/Users/robertlipe/mxe/mxe/tmp-gnutls/gnutls-3.0.17' && aclocal -I m4 -I gl/m4 -I src/libopts/m4 --install
configure.ac:30: error: 'AM_CONFIG_HEADER': this macro is obsolete.
    You should use the 'AC_CONFIG_HEADERS' macro instead.
/opt/local/share/aclocal-1.13/obsolete-err.m4:12: AM_CONFIG_HEADER is expanded from...
configure.ac:30: the top level
autom4te: /opt/local/bin/gm4 failed with exit status: 1
aclocal: error: echo failed with exit status: 1
make[1]: *** [build-only-gnutls] Error 1




My guess is that something internally is simply out of sync.  Do any of you recognize it enough to offer a solution or debugging tips?  Frankly, since my immediate need is for QtCore, not QtNetwork if I could even find an easy way to just jettison this for now and advance on with the build, that would be helpful, too.


Thanx,
RJL

reply via email to

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