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] PKG_PROG_PKG_CONFIG(0.16) not recognized?


From: Tony Theodore
Subject: Re: [Mingw-cross-env-list] PKG_PROG_PKG_CONFIG(0.16) not recognized?
Date: Fri, 30 Mar 2018 17:06:48 +1100

Hi Scott,

> On 29 Mar 2018, at 19:29, Scott Douglass <address@hidden> wrote:
> 
> I've checked that I'm using autoconf 2.69 which is new enough according to 
> http://mxe.cc/#requirements
> 
> I'm using a clean clone of 90bec5d.
> 
> Any ideas what I'm doing wrong or how I can approach debugging this?  Thanks.

It’s a deliberate early fail if your autotools/libtool/pkgconf aren’t working 
together. It’s not
sufficient to test for versions, they have to be installed in the same paths 
using the same *.m4
files etc.

This isn’t required for gcc so I’ve moved the test to the autotools package:
https://github.com/mxe/mxe/commit/e9b65d556af7d737433ba3732d2a734c27de63ac

Cheers,

Tony

P.S. from the log:

> # fail early if autotools can't autoreconf
> # 1. detect mismatches in installation locations
> # 2. ???
> (echo 'AC_INIT([mxe.cc], [1])';  echo 'AC_PATH_PROG([AUTOCONF], [autoconf])'; 
>  echo 'AC_PATH_PROG([AUTOMAKE], [automake])';\
>   echo 'AC_PATH_PROG([LIBTOOL], [libtool])'; echo 
> 'PKG_PROG_PKG_CONFIG(0.16)'; echo 'AC_OUTPUT') > 
> '/w/sdouglas/mxe-master/tmp-mxe-conf-x86_64-pc-linux-gnu//configure.ac'
> cd '/w/sdouglas/mxe-master/tmp-mxe-conf-x86_64-pc-linux-gnu/' && autoreconf 
> -fiv
> autoreconf: Entering directory `.'
> autoreconf: configure.ac: not using Gettext
> autoreconf: running: aclocal --force
> autoreconf: configure.ac: tracing
> autoreconf: configure.ac: not using Libtool
> autoreconf: running: /arm/tools/gnu/autoconf/2.69/rhe6-x86_64/bin/autoconf 
> --force
> autoreconf: configure.ac: not using Autoheader
> autoreconf: configure.ac: not using Automake
> autoreconf: Leaving directory `.'
> cd '/w/sdouglas/mxe-master/tmp-mxe-conf-x86_64-pc-linux-gnu/' && ./configure
> checking for autoconf... /arm/tools/gnu/autoconf/2.69/rhe6-x86_64/bin/autoconf
> checking for automake... /arm/tools/gnu/automake/1.15/rhe6-x86_64/bin/automake
> checking for libtool... /usr/bin/libtool
> ./configure: line 1787: syntax error near unexpected token `0.16'
> ./configure: line 1787: `PKG_PROG_PKG_CONFIG(0.16)'
> make[1]: *** [build-only-mxe-conf_x86_64-pc-linux-gnu] Error 2
> make[1]: Leaving directory `/w/sdouglas/mxe-master’

You’d need to either install libtool/pkgconf in /arm/tools/gnu or remove the 
auto* tools from there.
You could try:

make autotools MXE_PLUGIN_DIRS=plugins/native

to build a set of tools that we automatically use on outdated systems (e.g. 
Debian Wheezy). In general,
you’re better off getting you normal setup working.




reply via email to

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