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
相关推荐
WL_Aurora2 小时前
CentOS vs Ubuntu
linux·ubuntu·centos
大棉花哥哥2 小时前
Linux 内核本地提权漏洞(CVE-2026-31431)
linux·运维·服务器
BatyTao2 小时前
Ubuntu下载地址
linux·运维·ubuntu
HalvmånEver2 小时前
MySQL视图
linux·数据库·学习·mysql·视图
IMPYLH2 小时前
Linux 的 truncate 命令
linux·运维·服务器·前端·bash
铁皮哥2 小时前
【后端开发】RabbitMQ、RocketMQ、Kafka 怎么选?我从业务场景重新梳理了一遍
java·linux·数据库·分布式·kafka·rabbitmq·rocketmq
东风微鸣2 小时前
从 Windows 11 迁移到 Ubuntu 26.04:双系统安装与体验记录
linux·windows·ubuntu
Psyduck_ing2 小时前
从MCU到Linux开发的思维破壁
linux·网络·单片机
不仙5202 小时前
搭建本地 RHEL 源
linux
李可以量化2 小时前
QMT 量化交易:北交所数据获取与实时涨跌统计完整教程
linux·服务器·windows