Ubuntu | PostgreSQL | 解决 ERROR: `xmllint` is missing on your system. ...

打印 上一主题 下一主题

主题 881|帖子 881|积分 2643

解决

  1. sudo apt install apt-file
  2. sudo apt-file update
  3. sudo apt-file search xmllint
  4. sudo apt install libxml2-utils
复制代码
执行

  1. # postgres源码安装包解压文件夹中 make install
  2. make install
复制代码
题目

  1. make -C src install
  2. make[2]: Entering directory '/home/postgres/postgresql-17.2/doc/src'
  3. make -C sgml install
  4. make[3]: Entering directory '/home/postgres/postgresql-17.2/doc/src/sgml'
  5. /bin/sh ../../../config/missing xmllint --path . --path . --output postgres-full.xml --noent --valid postgres.sgml
  6. ***
  7. ERROR: `xmllint' is missing on your system.
  8. ***
  9. make[3]: *** [Makefile:72: postgres-full.xml] Error 1
  10. make[3]: Leaving directory '/home/postgres/postgresql-17.2/doc/src/sgml'
  11. make[2]: *** [Makefile:8: install] Error 2
  12. make[2]: Leaving directory '/home/postgres/postgresql-17.2/doc/src'
  13. make[1]: *** [Makefile:16: install] Error 2
  14. make[1]: Leaving directory '/home/postgres/postgresql-17.2/doc'
  15. make: *** [GNUmakefile:32: install-world-doc-recurse] Error 2
复制代码
免责声明:如果侵犯了您的权益,请联系站长,我们会及时删除侵权内容,谢谢合作!更多信息从访问主页:qidao123.com:ToB企服之家,中国第一个企服评测及商务社交产业平台。
回复

使用道具 举报

0 个回复

倒序浏览

快速回复

您需要登录后才可以回帖 登录 or 立即注册

本版积分规则

盛世宏图

金牌会员
这个人很懒什么都没写!

标签云

快速回复 返回顶部 返回列表