As I mentioned above from brew:

$ brew upgrade openssl
brew upgrade openssl
Error: openssl 1.0.2d_1 already installed

Thanks


On Mon, Nov 16, 2015 at 6:00 AM, Ben Gamari <ben@smart-cactus.org> wrote:
George Colpitts <george.colpitts@gmail.com> writes:

> I did get compiling from source to work on the Mac. Unfortunately I'm not
> sure what the problem was.
>
> I now see a new problem, not sure if it is a ghc problem or a library
> problem:
>
> cabal install HsOpenSSL
> ...
> Building HsOpenSSL-0.11.1.1...
> Preprocessing library HsOpenSSL-0.11.1.1...
> In file included from BN.hsc:45:
> cbits/HsOpenSSL.h:3:10: fatal error: 'openssl/asn1.h' file not found
> #include <openssl/asn1.h>
>          ^
> 1 error generated.

It would appear that you don't have headers for OpenSSL installed. Where
did you get your OpenSSL distribution from?

Cheers,

- Ben