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

解决

shell 复制代码
sudo apt install apt-file
sudo apt-file update

sudo apt-file search xmllint
sudo apt install libxml2-utils

执行

shell 复制代码
# postgres源码安装包解压文件夹中 make install
make install

问题

shell 复制代码
make -C src install
make[2]: Entering directory '/home/postgres/postgresql-17.2/doc/src'
make -C sgml install
make[3]: Entering directory '/home/postgres/postgresql-17.2/doc/src/sgml'
/bin/sh ../../../config/missing xmllint --path . --path . --output postgres-full.xml --noent --valid postgres.sgml
***
ERROR: `xmllint' is missing on your system.
***
make[3]: *** [Makefile:72: postgres-full.xml] Error 1
make[3]: Leaving directory '/home/postgres/postgresql-17.2/doc/src/sgml'
make[2]: *** [Makefile:8: install] Error 2
make[2]: Leaving directory '/home/postgres/postgresql-17.2/doc/src'
make[1]: *** [Makefile:16: install] Error 2
make[1]: Leaving directory '/home/postgres/postgresql-17.2/doc'
make: *** [GNUmakefile:32: install-world-doc-recurse] Error 2
相关推荐
easy_coder1 小时前
Linux LVM 知识文档
linux·运维
小小的木头人2 小时前
Ubuntu 使用 udev + systemd + UUID 实现 USB 硬盘自动挂载
linux·运维·ubuntu
kaoa0003 小时前
Linux入门攻坚——84、网络虚拟化技术-1
linux·运维·服务器
RisunJan3 小时前
Linux命令-shutdown(安全关闭或重启系统)
linux·服务器·安全
2601_965798474 小时前
MTDb Movie & TV Database Script Setup, Caching, and SEO Guide
linux·服务器·数据库·php
我头发多我先学4 小时前
linux系统编程:初识进程
linux·运维·服务器
Freak嵌入式5 小时前
版本混乱 / 依赖缺失?uPyPi:MicroPython 版 PyPI,彻底解决库管理混乱
linux·服务器·数据库·单片机·嵌入式硬件·性能优化·依赖倒置原则
苍狗T5 小时前
LVS相关知识总结
linux·运维·服务器·lvs
广州灵眸科技有限公司5 小时前
瑞芯微RV1126B开发板(EASY-EAI-PI2) rknn-toolkit-lite2使用方法
linux·运维·服务器·数据库·算法
☆凡尘清心☆5 小时前
CentOS Stream 9 NFS 服务端 + 客户端部署
linux·运维·centos