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
相关推荐
简朴-ocean38 分钟前
如何删除linux空的文件夹
linux·运维·服务器
Code Warrior1 小时前
【Linux】Linux基础指令3
linux·服务器
南朝雨1 小时前
linux下安装elasticsearch及ik分词器
linux·elasticsearch·全文检索
leblancAndSherry1 小时前
Gitlab + Jenkins 实现 CICD
linux·运维·docker·kubernetes·gitlab·jenkins
半桔2 小时前
【Linux手册】探秘系统世界:从用户交互到硬件底层的全链路工作之旅
linux·运维·服务器·面试·centos
小杜的生信筆記2 小时前
生信服务器 | 做生信为什么推荐使用Linux服务器?
linux·运维·服务器
LBL12203 小时前
vSphere环境ubuntu24.04虚拟机从BIOS切换为EFI模式启动
ubuntu·虚拟化
WangY_ZQ3 小时前
Python 如何在Python 3.6上安装PIP
linux·python·pip
小狗祈祷诗3 小时前
day36-多路IO复用
linux·ubuntu
冰羽IOX3 小时前
Xen Server服务器释放磁盘空间
linux·运维·服务器