
Duncan Mortimer wrote:
Ooops. Cancel that --- I didn't get any errors on running "cabal install", and "hmatrix-0.8.2.0" is listed in my ghc-pkg list. However, on attempting to run the tests listed on:
http://sites.google.com/site/wwwhmatrix/installation
i.e.: (in ghci):
import Numeric.LinearAlgebra.Tests runTests 20
I get the error:
.... .... Loading package hmatrix-0.8.2.0 ... linking ... <interactive>: unknown symbol `_zgemm_' ghc: unable to load package `hmatrix-0.8.2.0'
Does anyone have any suggestions as to what's going on now?
Looks like you're missing a function from LAPACK. Did you add frameworks: Accelerate too?
Anyway --- the above appears to have worked for me. I thought I'd send it back to the list in the hopes that it helps someone else. And if anyone can explain where "extra-include-dirs" should go in the hmatrix.cabal file, please let me know! :)
My bad, the relevant field in the cabal file is called include-dirs: /opt/local/include Regards, Heinrich Apfelmus -- http://apfelmus.nfshost.com