From: Paul K. <pau...@xs...> - 2005-06-03 21:14:50
|
Michael Reinelt wrote: >Hi Paul, > > > >>Ok, did some further checking and searching. Turns out that I swig >>(www.swig.org) installed on my system as part of a dependency to another >>package. I assume that swig installed a file swig.m4 in the >>/usr/share/aclocal/ >>This file contains a macro PYTHON_DEVEL which in turn requires >>AM_PATH_PYTHON >> >> > >Good investigations, paul! > >I can confirm the problem here. As soon as I install the swig.m4 file to >/usr/share/aclocal, I get the same error. > >"I've seen all the things in Heaven and Earth" >"I've seen many things in Hell" > >The problem is that swig uses a macro called PYTHON_DEVEL, while >lcd4linux uses one called AC_PYTHON_DEVEL (or MY_PYTHON_DEVEL). Somehow >aclocal ignores the AM_ or MY_ prefix, and executes the swig.m4, where I >found a reference to AM_PATH_PYTHON. > >I renamed the AC_PYTH_PYTHON to AC_PATH__PYTHON (note the double >underscore), now it works here. > >please test! > > >bye, Michael > > > Michael in which file did you make that change? I assumed you did it in python.m4, but it is not in CVS. And when I try it myself, it doesn't work. :-( cheers, Paul |