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

Re: [Xen-devel] [PATCH RFC-for-4.12] tools/xen-foreign: Update python scripts to be Py3 compatible



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
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.