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
相关推荐
在未来等你41 分钟前
SQL进阶之旅 Day 23:事务隔离级别与性能优化
sql·mysql·postgresql·高并发·数据一致性·数据库优化·事务隔离
卫生纸不够用1 小时前
(三)Linux性能优化-CPU-CPU 使用率
linux·运维·服务器
Clownseven2 小时前
Ubuntu 24.04 LTS 长期支持版发布:对服务器用户意味着什么?新特性、升级建议与性能影响初探
linux·服务器·ubuntu
Xam_d_LM2 小时前
【Linux】服务器反向代理自动续签免费 Let‘s Encrypt 证书报错解决方法
linux·运维·服务器·反向代理·lets encrypt·http-01·证书续签
Smile_Gently2 小时前
基于服务器使用 apt 安装、配置 Nginx
nginx·ubuntu·debian
有时有晌2 小时前
linux arm系统烧录
linux·运维·arm开发
小呆瓜历险记3 小时前
Debian系统简介
linux·服务器·debian
无脑学c++5 小时前
Ubuntu下挂载NTFS格式磁盘
linux·运维·ubuntu
蟑螂恶霸5 小时前
github.com 链接127.0.0.1
linux·运维·ubuntu
Felix Du7 小时前
操作系统 | Linux:第一章 初识Linux
linux·运维·服务器