On 09/11/2017 11:10, Pierre Labastie wrote:
Right now, we build the libxml2 python module with python3, but libxslt is unable to use python3 (configure uses "import sys; print sys.version;", but python3 wants parentheses for the print function), so it does not find the libxml2 python module. That module is needed for building the libxslt one, so libxslt does not build its python module. That is not so important, since I think nothing uses the libxslt python module in the book, but it could be deceiving if a user builds some package not in the book, and that package needs it.
Not quite true. A python module is built even if python-libxml2 is not found. But it does not work:
import libxslt Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib/python2.7/site-packages/libxslt.py", line 51, in <module> import libxml2mod ImportError: No module named libxml2mod Pierre -- http://lists.linuxfromscratch.org/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
