我有Ubuntu 17.10。我的内核版本是4.14.21-041421-泛型。我已经从网站下载了HPLIP 3.17.11运行文件。不幸的是,我无法编译它。运行.run文件后,它将启动./configure,这将引发一个有关net-snmp的错误。
特别是,这是配置的最后一行:
checking for cups ppd install... no
checking for foomatic-rip-hplip install... no
checking for qt5... no
checking for qt4... yes
checking for qt3... no
checking for policykit... no
checking for host machine platform... x86_64
checking for CRYPTO_free in -lcrypto... no
configure: error: cannot find net-snmp support (or --disable-network-build)SNMP已安装:
snmp is already the newest version (5.7.3+dfsg-1.7ubuntu1).还安装了libsnmp-dev (5.7.3版)。
发布于 2018-03-01 19:00:31
两分钟
software-properties-gtk中启用源代码存储库,然后获得构建依赖关系sudo run get build,然后运行./configure、make等等。发布于 2020-06-25 05:36:05
hplip有多个依赖项,如libsnmp、libcups、libusb、libdbus-1。请确保在运行./配置之前安装了所有这些。如果您有所有这些,安装运行顺利。
https://askubuntu.com/questions/1011024
复制相似问题