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
相关推荐
123过去7 小时前
wifi-honey使用教程
linux·网络·测试工具
Deitymoon10 小时前
linux——孤儿进程和僵尸进程
linux
Linux运维技术栈11 小时前
生产环境Linux应用目录迁移至LVM独立分区 标准化实战方案
linux·运维·服务器·lvm·逻辑卷
feasibility.12 小时前
SSH Agent Forwarding 与 tmux 排障笔记
linux·运维·服务器·经验分享·笔记·ssh
ShawnLiaoking12 小时前
Linux 会话窗口常开
linux·运维·服务器
230万光年的思念12 小时前
向日葵远程控制ubuntu24一直显示连接中
linux
IMPYLH13 小时前
Linux 的 dir 命令
linux·运维·服务器·数据库
fanged13 小时前
操作系统番外1(Linux的测试体系)(TODO)
linux·运维·服务器
王仲肖14 小时前
PostgreSQL VACUUM 与 AUTOVACUUM 深度解析
数据库·postgresql
123过去15 小时前
pixiewps使用教程
linux·网络·测试工具·算法·哈希算法