autoconf-archive-maintainers | |
[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: AX_SWIG_PYTHON macro problem with cross-compilation
From: |
Václav Zeman |
Subject: |
Re: AX_SWIG_PYTHON macro problem with cross-compilation |
Date: |
Sat, 27 Oct 2012 18:08:27 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:16.0) Gecko/20121017 Thunderbird/16.0.1 |
On 10/27/2012 05:21 PM, Peter Simons wrote:
> Hi Václav,
>
> > I am trying to use the macro AX_SWIG_PYTHON in log4cplus library to
> > generate Python bindings for the library. The AX_SWIG_PYTHON contains
> > two lines:
> >
> > AC_REQUIRE([AX_PKG_SWIG])
> > AC_REQUIRE([AX_PYTHON_DEVEL])
> >
> > The problematic part of this is the AC_REQUIRE there. With this macro
> > unmodified and during configuration of _cross compilation_, the
> > configuration of Python fails and the configuration process dies.
> > Initially I thought it was because of AM_PATH_PYTHON but it has turned
> > out it was because of AC_REQUIRE([AX_PYTHON_DEVEL]) inside
> > AX_SWIG_PYTHON. Please see the discussion on Automake's mailing list: <
> > http://lists.gnu.org/archive/html/automake/2012-10/msg00028.html >
> >
> > I have fixed the issue for me by basically inlining the AX_SWIG_PYTHON
> > macro into configure.ac. Please consider this a bug report for the
> > AX_SWIG_PYTHON macro. Because, as it is, it is not usable in cross
> > compilation environment.
>
> the GNU Autoconf Archive is a distribution of macros that have been
> written by contributors from all over the world. I have forwarded your
> message to the respective authors of AX_SWIG_PYTHON, hoping that one of
> them has an idea how to remedy the issue you have encountered.
Thank you.
I have posted to the mailing list because IME, people are usually not
interested in personal mails and rather want to deal with things in
public mailing lists.
--
VZ
signature.asc
Description: OpenPGP digital signature