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
相关推荐
发发就是发15 分钟前
触摸屏驱动调试手记:从I2C鬼点到坐标漂移的实战录
linux·服务器·驱动开发·单片机·嵌入式硬件
Jacob程序员19 分钟前
Linux 下启动达梦数据库 Manager 图形化客户端
linux·运维·服务器
IMPYLH21 分钟前
Linux 的 pwd 命令
linux·运维·服务器·bash
sanzk21 分钟前
astra pro稠密建图
ubuntu·ros·3d相机
网络安全许木25 分钟前
自学渗透测试第18天(Powershell与远程连接)
linux·网络安全·渗透测试·kali linux
SPC的存折26 分钟前
在Alpine 搭建 WordPress
linux·运维·服务器·数据库·php
杨云龙UP31 分钟前
CentOS7.9及以上环境部署TDengine TSDB-OSS实战指南:安装、配置、建库、建超级表与验证_20250418
大数据·linux·运维·数据库·centos·时序数据库·tdengine
北漂Zachary33 分钟前
四大编程语言终极对决
java·linux·数据库
凤年徐34 分钟前
Linux 权限完全指南
linux·运维·服务器
重生的黑客35 分钟前
Linux 开发工具(终篇):GDB 调试进阶与系统编程入门
linux·运维·服务器