AlbertoRuiz/hmatrix — Issue #14: Failed to build
Author: btv
Created: 2012-02-27 22:44:20+00:00
State: open

When trying to build hstatistics, I get this error when trying to build hmatrix on OSX 10.6 - 64 bit. With GHC-7.0.4 64 bit as well.

bverdier-mbp:haskell bverdier$ cabal install hmatrix
Resolving dependencies...
[1 of 2] Compiling Config ( /var/folders/7l/7l2zlkMXEd45wvc5uOoQH0QFDwQ/-Tmp-/hmatrix-0.13.1.033264/hmatrix-0.13.1.0/Config.hs, /var/folders/7l/7l2zlkMXEd45wvc5uOoQH0QFDwQ/-Tmp-/hmatrix-0.13.1.033264/hmatrix-0.13.1.0/dist/setup/Config.o )
[2 of 2] Compiling Main ( /var/folders/7l/7l2zlkMXEd45wvc5uOoQH0QFDwQ/-Tmp-/hmatrix-0.13.1.033264/hmatrix-0.13.1.0/Setup.lhs, /var/folders/7l/7l2zlkMXEd45wvc5uOoQH0QFDwQ/-Tmp-/hmatrix-0.13.1.033264/hmatrix-0.13.1.0/dist/setup/Main.o )
Linking /var/folders/7l/7l2zlkMXEd45wvc5uOoQH0QFDwQ/-Tmp-/hmatrix-0.13.1.033264/hmatrix-0.13.1.0/dist/setup/setup ...
ld: warning: could not create compact unwind for _ffi_call_unix64: does not use RBP or RSP based frame
Configuring hmatrix-0.13.1.0...
Checking foreign libraries... FAIL
*** Sorry, I can't link GSL.
*** Please make sure that the appropriate -dev packages are installed.
*** You can also specify the required libraries using
*** cabal install hmatrix --configure-option=link:lib1,lib2,lib3,etc.
setup: Package hmatrix-0.13.1.0 can't be built on this system.
cabal: Error: some packages failed to install:
hmatrix-0.13.1.0 failed during the building phase. The exception was:
ExitFailure 1

Any help would be really appriciated.