玩转linux之编译过程中遇到缺包问题
当编译遇到缺包问题后:
如:
Program xmlto found: NO
doc/meson.build:4:0: ERROR: Program 'xmlto' not found or not executable
根据提示信息:
在ubuntu下使用
apt-cache search xxx
上面例子可以使用 :sudo apt-cache search xmlto
libocct-ocaf-7.5 - Open CASCADE Technology application-specific data and functionality liboce-ocaf11 - OpenCASCADE Community Edition CAE platform shared library libxmltok1 - XML Parser Toolkit, runtime libraries libxmltok1-dev - XML Parser Toolkit, developer libraries libxmltooling-dev - C++ XML parsing library with encryption support (development) libxmltooling-doc - C++ XML parsing library with encryption support (API docs) libxmltooling10 - C++ XML parsing library with encryption support (runtime) python3-xmltodict - Makes working with XML feel like you are working with JSON (Python 3) xmlto - XML-to-any converter xmltoman - simple XML to man converter xmltooling-schemas - XML schemas for XMLTooling
然后找到相应的包安装即可
sudo apt install xxx
上面例子找到然后运行
sudo apt install xmlto
如果上述方法没有用,那么只能上网下载所需的包进行编译安装。