簡體   English   中英

cabal安裝失敗,因為缺少C庫

[英]cabal install fails because missing C library

我想通過命令cabal install hemokit命令安裝bloodkit驅動程序,但是它告訴我在要安裝依賴項“ 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

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM