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
相关推荐
ci0n1 小时前
PVE安装DSM
linux·开源
GalaxyPokemon1 小时前
MySQL基础 [二] - 数据库基础
linux·网络·数据库·mysql
大白的编程日记.1 小时前
进程状态(运行 阻塞 僵尸)及其场景分析
linux·笔记
techdashen1 小时前
性能比拼: MySQL vs PostgreSQL
数据库·mysql·postgresql
牛马大师兄1 小时前
Shell脚本编程之正则表达式
linux·运维·服务器·开发语言·ssh·bash·shell
曼岛_2 小时前
CentOS 7 强制升级Docker 24.x终极指南(解决MySQL8镜像兼容性问题)
linux·docker·centos
Richard20122 小时前
Linux Command Recap
linux·前端
葟雪儿3 小时前
Docker常用命令
linux·服务器·spring cloud·docker·微服务·容器
木盏3 小时前
Linux终止进程(kill process)的一些玩法
linux·运维·深度学习
Fanche4043 小时前
Linux-CentOS-7—— 安装MySQL 8
linux·运维·数据库·mysql·centos