gpt4 book ai didi

linux - cabal 安装失败,因为缺少 C 库

转载 作者:塔克拉玛干 更新时间:2023-11-03 00:53:42 24 4
gpt4 key购买 nike

我想通过 cabal install hemokit 命令安装 hemokit 驱动程序,但它告诉我它在安装依赖项“hidapi”时失败。这就是给我的信息

`Configuring hidapi-0.1.3...
cabal: Missing dependency on a foreign library:
* Missing C library: udev
This problem can usually be solved by installing the system package that
provides this library (you may need the "-dev" version). If the library is
already installed but in a non-standard location then you can use the flags
--extra-include-dirs= and --extra-lib-dirs= to specify where it is.
Failed to install hidapi-0.1.3

然后我运行命令sudo apt-get install udev安装udev包,但是问题没有解决!

最佳答案

udev 库是 Ubuntu 的重要组成部分。缺少的是开发标题。尝试先运行 sudo apt-get install libudev-dev,然后安装 hemokit

关于linux - cabal 安装失败,因为缺少 C 库,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28588221/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com