autoconf-archive-maintainers
[Top][All Lists]
Advanced

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

Re: AX_SWIG_PYTHON macro problem with cross-compilation


From: Sebastian Huber
Subject: Re: AX_SWIG_PYTHON macro problem with cross-compilation
Date: Sat, 27 Oct 2012 23:22:15 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120825 Thunderbird/15.0

Hello,

I am sorry, but I never used these macros in a cross-compilation environment. I have also no idea how to fix that.

On 27/10/12 17:21, 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.

Take care,
Peter





reply via email to

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