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
相关推荐
工业一体机老司机6 小时前
rsync+inotify 收集车间工位机日志的完整配置
服务器·数据库·postgresql
胜心缘6 小时前
openEuler 24.03 最小安装后的第一个小时:10 组命令,一份基线清单
linux·运维
胜心缘6 小时前
openEuler 装 nginx:别再开 EPOL 了,它根本不在里面
linux·运维
用户8174480063397 小时前
从零搭建并加固个人博客:阿里云轻量服务器 + Hexo + Nginx 全流程实战
linux
IvorySQL8 小时前
PostgreSQL 日报|布尔列 NOT 选择率估算偏高(12 月 4 日)
数据库·postgresql
老一岁8 小时前
Redis事务_锁_持久化_主从哨兵
linux·数据库·redis
梓沂8 小时前
零成本替代 FTP:Ubuntu 24.04 搭建 Samba 共享,实现“一人可写,多人只读”
linux·运维·ubuntu
EmbeddedChen8 小时前
Linux 定时任务怎么设置?用 cron 自动执行脚本
linux·crontab·cron
wuminyu9 小时前
OpenJDK学习笔记:Native事件队列与Java回调背压
java·linux·c语言·jvm·c++
Techblog of HaoWANG9 小时前
具身智能机器人专题(4) Docker 实战
linux·运维·ubuntu·docker·容器·机器人·ollama