我安裝失敗的陰謀:無法安裝WX
$ cabal install wx
Resolving dependencies...
[1 of 1] Compiling Main (/tmp/wxc-0.90.1.1-30692/wxc-0.90.1.1/Setup.hs, /tmp/wxc-0.90.1.1-30692/wxc-0.90.1.1/dist/setup/Main.o)
Linking /tmp/wxc-0.90.1.1-30692/wxc-0.90.1.1/dist/setup/setup ...
Configuring wxc-0.90.1.1...
Warning: No config found to match: /usr/bin/wx-config --version=2.9 --version-full
in /usr/lib/x86_64-linux-gnu/wx/config
If you require this configuration, please install the desired
library build. If this is part of an automated configuration
test and no other errors occur, you may safely ignore it.
You may use wx-config --list to see all configs available in
the default prefix.
readProcess failed: readProcess: wx-config "--version=2.9" "--version-full" (exit 1): failed
setup: failed
Failed to install wxc-0.90.1.1
cabal: Error: some packages failed to install:
wx-0.90.1.0 depends on wxc-0.90.1.1 which failed to install.
wxc-0.90.1.1 failed during the configure step. The exception was:
ExitFailure 1
wxcore-0.90.1.1 depends on wxc-0.90.1.1 which failed to install
這個我做之前,他們沒有錯誤安裝:
apt-get install libwxgtk2.8-dev
apt-get install libglu-dev
apt-get install g++
我也跑$ cabal update
我該如何解決這個問題?
如果你沒有看過這個已經,這可以幫助你:http://codelite.org/LiteEditor/WxWidgets30Binaries#toc2 – Sibi
@Sibi,我添加命令和apt-插件庫'deb http://repos.codelite.org/wx3.0/ubuntu/ trusty universe',並做了apt-get更新,但在所有這些之後仍然存在相同的錯誤。 –