ArchにHaskell IDE 「Leksah」をインストールする

めっちゃしょうもないところで詰まってしまった.

cabal install leksahするだけのはずだったんだが,ライブラリをリンクするときによく分からないエラーが出てきて詰まった.

pacman -S webkitgtk gtksourceview3
cabal install leksah

で終わり(本来は).

archlinux - Haskell: failed to install webkitgtk3 on Arch linux - Stack Overflow

setup: Missing dependencies on foreign libraries:
* Missing C libraries: webkitgtk-3.0, javascriptcoregtk-3.0
This problem can usually be solved by installing the system packages that
provide these libraries (you may need the "-dev" versions). If the libraries
are already installed but in a non-standard location then you can use the
flags --extra-include-dirs= and --extra-lib-dirs= to specify where they are.

上記パッケージをインストールしたはずなのにこんなことを言われた場合には,pacman -Syauすると直るかもしれない.めっちゃ基本的なことだけど随分詰まってしまった…

f:id:yuntan_t:20141107221523p:plain

(なんかかっこよくないな…)