[Haskell-cafe] building hmatrix on OSX

Erik Rantapaa erantapaa at gmail.com
Thu Dec 18 04:41:25 UTC 2014


Thanks for prompting me to look for the issue tracker for hmatrix.

I found it here: https://github.com/albertoruiz/hmatrix/issues and my
problem is known and is actively being worked on:
https://github.com/albertoruiz/hmatrix/issues/100

On Wed, Dec 17, 2014 at 6:59 PM, Carter Schonwald
<carter.schonwald at gmail.com> wrote:
> did you file a bug report on the hmatrix issue tracker? You'll probably get
> good support there
>
> On Wed, Dec 17, 2014 at 2:43 PM, Erik Rantapaa <erantapaa at gmail.com> wrote:
>>
>> I'm trying to build hmatrix-0.16.1.1 on OSX 10.10.1, and I'm running into
>> some undefined C functions and types in src/C/vector-aux.c:
>>
>> - struct random_data
>> - random_r()
>> - initstate_r()
>>
>> A specific error:
>>
>>     src/C/vector-aux.c:738:24:
>>          error: variable has incomplete type 'struct random_data'
>>             struct random_data buffer;
>>
>> On a Linux system they seem to be defined in stdlib.h, but that doesn't
>> seem to be the case on OSX.
>>
>> Is there a way to work around this?
>>
>> FWIW, I'm using GHC for OSX (https://ghcformacosx.github.io/) and I've
>> installed `gsl` via `brew install gsl`.
>>
>>
>> _______________________________________________
>> Haskell-Cafe mailing list
>> Haskell-Cafe at haskell.org
>> http://www.haskell.org/mailman/listinfo/haskell-cafe
>>
>


More information about the Haskell-Cafe mailing list