On Mon, Mar 04, 2019 at 07:00:11PM +0000, George Dunlap wrote:
> checking for PyArg_ParseTuple in -lpython... no
> configure: error: Unable to find a suitable python development library
> configure: error: ./configure failed for tools
> 
> Note the error with the VERSION above; that results in looking for
> `-lpython` rather than `-lpython3.7`, which results in the following
> line being executed:

-lpython3.7 is also wrong. To make things more complicated, the lib is
-lpython3.7m (notice the extra character after the version number).

The AC_CHECK_LIB() in m4/python_devel.m4:33 is attempting to guess what
the python lib name would be, and guessed it wrong. Instead, configure
should just use the already updated LDFLAGS (once the rune to find
python's version is fixed).

-- 
Anthony PERARD

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel

Reply via email to