我正在運行Fedora 19 x64和 我試圖通過cabal install來安裝xmobar。安裝了一堆的依賴後,我被堵在Haskell cabal安裝:缺少C庫iw
cabal: Missing dependency on a foreign library:
* Missing C library: iw
這個IW庫和我在如何繼續有點失落,我不能發現任何東西。
據我所知,我已經安裝了所有的標準c庫。
sudo yum install glibc-common glibc glibc-devel glibc-headers glibc-utils glibc-devel glib2-devel gcc-c++ gcc
Loaded plugins: auto-update-debuginfo, langpacks, refresh-packagekit
Package glibc-common-2.17-18.fc19.x86_64 already installed and latest version
Package glibc-2.17-18.fc19.x86_64 already installed and latest version
Package glibc-devel-2.17-18.fc19.x86_64 already installed and latest version
Package glibc-headers-2.17-18.fc19.x86_64 already installed and latest version
Package glibc-utils-2.17-18.fc19.x86_64 already installed and latest version
Package glibc-devel-2.17-18.fc19.x86_64 already installed and latest version
Package glib2-devel-2.36.3-3.fc19.x86_64 already installed and latest version
Package gcc-c++-4.8.1-1.fc19.x86_64 already installed and latest version
Package gcc-4.8.1-1.fc19.x86_64 already installed and latest version
Nothing to do
谷歌搜索'libiw'返回噸結果。找到合適的並安裝它(及其標題)。 – Carl
謝謝卡爾。如果我再次遇到這種類型的錯誤:是否所有的C庫基本上命名爲lib +,無論標題是什麼? – Wieschie
另外,您可能需要庫的「dev」版本。它可能被稱爲libiw-dev。 – mhwombat