The file generator.py is to be compiled and the alarm message is not clearly printed.
It is easy to miss the alarm message. The alarm log printed below:
make[2]: Entering directory `/data/opensource_workspace/jianjr/libxml2/libxml2-v2.9.9/python'
/bin/python ./generator.py .
Found 1624 functions in libxml2-api.xml
Found 54 functions in libxml2-python-api.xml
Generated 891 wrapper functions, 570 failed, 217 skipped
Missing type converters:
xmlRelaxNGValidityErrorFunc *:2
xmlXPathObjectPtr:21
const htmlEntityDesc *:2
I think generator.py can be changed a bit. For example, line 580 is changed to: print("warning: Missing type converters: ")
Edited by Zhongyuan Zhou