Hi yasu,
Compiling with ghc requires a c toolchain (like gcc-toolchain) installed to work. Can you try again after installing gcc-toolchain? Ghc has not been perfect for me recently but I use it quite a lot.
Hope that helps,
John