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
相关推荐
繁华似锦respect6 分钟前
C++ & Linux 中 GDB 调试与内存泄漏检测详解
linux·c语言·开发语言·c++·windows·算法
爱潜水的小L9 分钟前
自学嵌入式day25,树
linux
周杰伦_Jay10 分钟前
【Linux Shell】命令完全指南
linux·运维·服务器
qq_4798754312 分钟前
protobuf[2]
linux
sky北城16 分钟前
Linux的回收站机制实现方式总结
linux·运维·服务器
代码游侠30 分钟前
复习——栈、队列、树、哈希表
linux·数据结构·学习·算法
橘子真甜~33 分钟前
C/C++ Linux网络编程10 - http协议
linux·服务器·网络·c++·网络协议·http
zimoyin1 小时前
WSL音频转发配置流程:WSL2/WSL1全适配
linux·音视频·wsl·虚拟机·ekho
2401_853448231 小时前
busybox制作根文件系统
linux·busybox·系统移植
元亓亓亓2 小时前
LeetCode热题100--20. 有效的括号--简单
linux·算法·leetcode