小编Abh*_*_10的帖子

在linux上安装libxml2的问题

我试图在虚拟机上的Ubuntu上安装libxml2-2.9.1.我按照以下链接中的步骤进行操作:http : //www.linuxfromscratch.org/blfs/view/svn/general/libxml2.html http://www.geeksww.com/tutorials/libraries/libxml/installation/ installing_libxml_on_ubuntu_linux.php#评论

我在编译步骤后陷入困境.当我按照任何一个链接时,我会遇到同样的错误.错误是

make[3]: Leaving directory `/home/abhijit/Documents/libxml2-2.9.1/doc/examples'
make[2]: Leaving directory `/home/abhijit/Documents/libxml2-2.9.1/doc'
Making all in example
make[2]: Entering directory `/home/abhijit/Documents/libxml2-2.9.1/example'
  CC     gjobread.o
  CCLD   gjobread
make[2]: Leaving directory `/home/abhijit/Documents/libxml2-2.9.1/example'
Making all in xstc
make[2]: Entering directory `/home/abhijit/Documents/libxml2-2.9.1/xstc'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/abhijit/Documents/libxml2-2.9.1/xstc'
Making all in python
make[2]: Entering directory `/home/abhijit/Documents/libxml2-2.9.1/python'
make  all-recursive
make[3]: Entering directory `/home/abhijit/Documents/libxml2-2.9.1/python'
Making all in .
make[4]: Entering directory `/home/abhijit/Documents/libxml2-2.9.1/python'
  CC     libxml.lo
libxml.c:14: fatal error: Python.h: No such …
Run Code Online (Sandbox Code Playgroud)

ubuntu libxml2

2
推荐指数
2
解决办法
7336
查看次数

标签 统计

libxml2 ×1

ubuntu ×1