[Haskell-cafe] Re: hmatrix on os x

Heinrich Apfelmus apfelmus at quantentunnel.de
Tue Sep 8 04:27:49 EDT 2009


Ben wrote:
> i've been having a heck of a time installing hmatrix on mac os x.
> i've seen the help pages including
> 
> http://mit.edu/harold/Public/easyVisionNotes.html
> 
> but they haven't helped me.  my setup is
> 
> haskell platform 2009.2.0.2 (ghc 6.10.4)
> os x 10.5
> macports -- i've tried installing gsl and gsl-devel to no avail.
> 
> i've tried cabal install with various options, to no avail.  has
> anyone else have luck with this?

Lapack and Gsl (or something combination thereof, I don't remember) is
installed on MacOS X by default, but it's a framework called  vecLib .
You have to add

  ld-options: -framework vecLib

to the  hmatrix.cabal  file and possibly remove the other library flags.


I suggest nagging the maintainer about this.


(Also, I had to remove and Intel specific opcode when compiling on PowerPC.)


Regards,
apfelmus

--
http://apfelmus.nfshost.com



More information about the Haskell-Cafe mailing list