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
相关推荐
小白银子1 小时前
零基础从头教学Linux(Day 53)
linux·运维·python
skywalk81632 小时前
基于频域的数字盲水印blind-watermark
linux·开发语言·python
Warren983 小时前
复习MySQL
数据库·windows·tcp/ip·mysql·ubuntu·ssh·ansible
Wang's Blog3 小时前
Linux小课堂: 定时与延时执行机制之date、at、sleep 与 crontab 的深度解析
linux·运维·服务器
被漂一组4 小时前
在线解决window和linux对linux远程问题
linux·运维·服务器
森G4 小时前
2六Ubuntu文件系统移植
linux·ubuntu
dot to one5 小时前
Centos 7 环境下mysql的安装及配置
linux·mysql·centos
「QT(C++)开发工程师」5 小时前
C++语言编程规范-风格
linux·开发语言·c++·qt
-指短琴长-5 小时前
CGroups资源控制实战【Linux】
linux·运维·服务器
昵称什么的不存在6 小时前
WPeChatGPT 插件使用教程(转载)
linux·逆向