<div dir="ltr"><div class="gmail_default" style="font-family:times new roman,serif;font-size:large">inline<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Nov 15, 2015 at 9:50 PM, Carter Schonwald <span dir="ltr"><<a href="mailto:carter.schonwald@gmail.com" target="_blank">carter.schonwald@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">did you do configure before make install or not?</div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br></div></div></div></blockquote><div><br><div class="gmail_default" style="font-family:times new roman,serif;font-size:large">​yes​</div><br> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><div class="gmail_quote">On Sun, Nov 15, 2015 at 8:50 PM, Carter Schonwald <span dir="ltr"><<a href="mailto:carter.schonwald@gmail.com" target="_blank">carter.schonwald@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">what does your ghc --info say?</div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Nov 15, 2015 at 7:54 PM, George Colpitts <span dir="ltr"><<a href="mailto:george.colpitts@gmail.com" target="_blank">george.colpitts@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div style="font-family:times new roman,serif;font-size:large">I cleaned up my ghc pkg problems by doing <br><br><div style="margin-left:40px">rm -fr ~/.ghc/*<br><br></div>most packages now compile but hsopenssl still fails in the same way:<span><br><br><div style="margin-left:40px">Building HsOpenSSL-0.11.1.1...<br>Preprocessing library HsOpenSSL-0.11.1.1...<br>In file included from BN.hsc:45:<br>cbits/HsOpenSSL.h:3:10: fatal error: 'openssl/asn1.h' file not found<br>#include <openssl/asn1.h><br>         ^<br>1 error generated.<br>compiling dist/build/OpenSSL/BN_hsc_make.c failed (exit code 1)<br>command was: /usr/bin/gcc -c dist/build/OpenSSL/BN_hsc_make.c -o dist/build/OpenSSL/BN_hsc_make.o -m64 -fno-stack-protector -D__GLASGOW_HASKELL__=710 -Ddarwin_BUILD_OS=1 -Dx86_64_BUILD_ARCH=1 -Ddarwin_HOST_OS=1 -Dx86_64_HOST_ARCH=1 -Icbits -D PTHREAD -DCALLCONV=ccall -Idist/build/autogen -include dist/build/autogen/cabal_macros.h -I/Users/gcolpitts/Library/Haskell/ghc-7.10.2.20151105-x86_64/lib/network-2.6.2.1/include -I/usr/local/lib/ghc-7.10.2.20151105/unix_KZL8h98IqDM57kQSPo1mKx/include -I/usr/local/lib/ghc-7.10.2.20151105/time_FTheb6LSxyX1UABIbBXRfn/include -I/usr/local/lib/ghc-7.10.2.20151105/bytes_6VWy06pWzJq9evDvK2d4w6/include -I/usr/local/lib/ghc-7.10.2.20151105/base_HQfYBxpPvuw8OunzQu6JGM/include -I/usr/local/lib/ghc-7.10.2.20151105/integ_2aU3IZNMF9a7mQ0OzsZ0dS/include -I/usr/local/lib/ghc-7.10.2.20151105/include -I/usr/local/lib/ghc-7.10.2.20151105/include/<br></div></span></div></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Nov 15, 2015 at 7:09 PM, George Colpitts <span dir="ltr"><<a href="mailto:george.colpitts@gmail.com" target="_blank">george.colpitts@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div style="font-family:times new roman,serif;font-size:large">Yes I have openssl installed<br><br><div style="margin-left:40px">$ brew upgrade openssl<br>brew upgrade openssl<br>Error: openssl 1.0.2d_1 already installed<br></div><br></div><div style="font-family:times new roman,serif;font-size:large">Thanks for uploading the new binary install, it definitely solved the problem I originally reported<br><br></div><div style="font-family:times new roman,serif;font-size:large">However it doesn't solve the HsOpenSSL problem:<br><br><div style="margin-left:40px">cabal install HsOpenSSL<br>cabal install HsOpenSSL<br>Resolving dependencies...<br>Configuring HsOpenSSL-0.11.1.1...<br>Building HsOpenSSL-0.11.1.1...<br>Failed to install HsOpenSSL-0.11.1.1<br>Build log ( /Users/gcolpitts/.cabal/logs/HsOpenSSL-0.11.1.1.log ):<br>Configuring HsOpenSSL-0.11.1.1...<span><br>Building HsOpenSSL-0.11.1.1...<br>Preprocessing library HsOpenSSL-0.11.1.1...<br>In file included from BN.hsc:45:<br>cbits/HsOpenSSL.h:3:10: fatal error: 'openssl/asn1.h' file not found<br>#include <openssl/asn1.h><br>         ^<br>1 error generated.<br>compiling dist/build/OpenSSL/BN_hsc_make.c failed (exit code 1)<br>command was: /usr/bin/gcc -c dist/build/OpenSSL/BN_hsc_make.c -o dist/build/OpenSSL/BN_hsc_make.o -m64 -fno-stack-protector -D__GLASGOW_HASKELL__=710 -Ddarwin_BUILD_OS=1 -Dx86_64_BUILD_ARCH=1 -Ddarwin_HOST_OS=1 -Dx86_64_HOST_ARCH=1 -Icbits -D PTHREAD -DCALLCONV=ccall -Idist/build/autogen -include dist/build/autogen/cabal_macros.h -I/Users/gcolpitts/Library/Haskell/ghc-7.10.2.20151105-x86_64/lib/network-2.6.2.1/include -I/usr/local/lib/ghc-7.10.2.20151105/unix_KZL8h98IqDM57kQSPo1mKx/include -I/usr/local/lib/ghc-7.10.2.20151105/time_FTheb6LSxyX1UABIbBXRfn/include -I/usr/local/lib/ghc-7.10.2.20151105/bytes_6VWy06pWzJq9evDvK2d4w6/include -I/usr/local/lib/ghc-7.10.2.20151105/base_HQfYBxpPvuw8OunzQu6JGM/include -I/usr/local/lib/ghc-7.10.2.20151105/integ_2aU3IZNMF9a7mQ0OzsZ0dS/include -I/usr/local/lib/ghc-7.10.2.20151105/include -I/usr/local/lib/ghc-7.10.2.20151105/include/<br>cabal: Error: some packages failed to install:<br>HsOpenSSL-0.11.1.1 failed during the building phase. The exception was:<br>ExitFailure 1<br><br></span></div></div><div style="font-family:times new roman,serif;font-size:large">However I think I have some problems I need to clean up first. What do I need to do to get to a clean state wrt existing libraries, i.e. how do I delete them before installing the latest ghc? <br><br>I think building and installing from source, then installing libraries, then installing binaries and building more libraries has left me in an unstable state.<br><br></div><div style="font-family:times new roman,serif;font-size:large">Thanks<br></div><div style="font-family:times new roman,serif;font-size:large">George<br></div><div style="font-family:times new roman,serif;font-size:large"><br><div style="margin-left:40px">ghc-pkg check<br>There are problems in package hashtables-1.2.0.2:<br>  dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist<br>There are problems in package hashable-1.2.3.3:<br>  dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist<br>  dependency "bytestring-0.10.6.0-57aca8b044c60296d333ba9ef7a6b270" doesn't exist<br>There are problems in package ghc-events-0.4.4.0:<br>  dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist<br>  dependency "bytestring-0.10.6.0-57aca8b044c60296d333ba9ef7a6b270" doesn't exist<br>There are problems in package data-ordlist-0.4.7.0:<br>  dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist<br>There are problems in package criterion-1.1.0.0:<br>  dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist<br>  dependency "binary-0.7.5.0-77839394dfefc3f030d00790a2cef7fa" doesn't exist<br>  dependency "bytestring-0.10.6.0-09b6bde4572288cdbf02e4115ed5cd91" doesn't exist<br>  dependency "containers-0.5.6.2-12e20ec15ed50c37491ff947fa0f9c1a" doesn't exist<br>  dependency "directory-1.2.2.0-6be4b069bff3ad3d34e43f79a1d2adaf" doesn't exist<br>  dependency "text-1.2.1.3-4c78ad7426ae4be055d28adf31eabdf8" doesn't exist<br>  dependency "time-1.5.0.1-2654f2ea82eb50a9cb76337c0b480079" doesn't exist<br>There are problems in package statistics-0.13.2.3:<br>  dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist<br>  dependency "binary-0.7.5.0-77839394dfefc3f030d00790a2cef7fa" doesn't exist<br>There are problems in package aeson-0.10.0.0:<br>  dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist<br>  dependency "bytestring-0.10.6.0-09b6bde4572288cdbf02e4115ed5cd91" doesn't exist<br>  dependency "containers-0.5.6.2-12e20ec15ed50c37491ff947fa0f9c1a" doesn't exist<br>  dependency "hashable-1.2.3.3-bc60d08cd07d83826168419244ef8bf3" doesn't exist<br>  dependency "text-1.2.1.3-4c78ad7426ae4be055d28adf31eabdf8" doesn't exist<br>  dependency "time-1.5.0.1-2654f2ea82eb50a9cb76337c0b480079" doesn't exist<br>There are problems in package vector-algorithms-0.7.0.1:<br>  dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist<br>  dependency "bytestring-0.10.6.0-09b6bde4572288cdbf02e4115ed5cd91" doesn't exist<br>There are problems in package cassava-0.4.4.0:<br>  dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist<br>  dependency "bytestring-0.10.6.0-09b6bde4572288cdbf02e4115ed5cd91" doesn't exist<br>  dependency "containers-0.5.6.2-12e20ec15ed50c37491ff947fa0f9c1a" doesn't exist<br>  dependency "hashable-1.2.3.3-bc60d08cd07d83826168419244ef8bf3" doesn't exist<br>  dependency "text-1.2.1.3-4c78ad7426ae4be055d28adf31eabdf8" doesn't exist<br>There are problems in package attoparsec-0.13.0.1:<br>  dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist<br>  dependency "bytestring-0.10.6.0-09b6bde4572288cdbf02e4115ed5cd91" doesn't exist<br>  dependency "containers-0.5.6.2-12e20ec15ed50c37491ff947fa0f9c1a" doesn't exist<br>  dependency "text-1.2.1.3-4c78ad7426ae4be055d28adf31eabdf8" doesn't exist<br>There are problems in package monad-par-0.3.4.7:<br>  dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist<br>  dependency "containers-0.5.6.2-12e20ec15ed50c37491ff947fa0f9c1a" doesn't exist<br>There are problems in package mwc-random-0.13.3.2:<br>  dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist<br>  dependency "time-1.5.0.1-2654f2ea82eb50a9cb76337c0b480079" doesn't exist<br>There are problems in package math-functions-0.1.5.2:<br>  dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist<br>There are problems in package scientific-0.3.4.2:<br>  dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist<br>  dependency "binary-0.7.5.0-77839394dfefc3f030d00790a2cef7fa" doesn't exist<br>  dependency "bytestring-0.10.6.0-09b6bde4572288cdbf02e4115ed5cd91" doesn't exist<br>  dependency "containers-0.5.6.2-12e20ec15ed50c37491ff947fa0f9c1a" doesn't exist<br>  dependency "hashable-1.2.3.3-bc60d08cd07d83826168419244ef8bf3" doesn't exist<br>  dependency "text-1.2.1.3-4c78ad7426ae4be055d28adf31eabdf8" doesn't exist<br>There are problems in package vector-th-unbox-0.2.1.3:<br>  dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist<br>There are problems in package vector-binary-instances-0.2.1.0:<br>  dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist<br>  dependency "binary-0.7.5.0-77839394dfefc3f030d00790a2cef7fa" doesn't exist<br>There are problems in package vector-0.11.0.0:<br>  dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist<br>There are problems in package Glob-0.7.5:<br>  dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist<br>  dependency "containers-0.5.6.2-12e20ec15ed50c37491ff947fa0f9c1a" doesn't exist<br>  dependency "directory-1.2.2.0-6be4b069bff3ad3d34e43f79a1d2adaf" doesn't exist<br>There are problems in package monad-par-extras-0.3.3:<br>  dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist<br>  dependency "random-1.1-e88d133272c86b979391f1c08bf5ca07" doesn't exist<br>There are problems in package parsec-3.1.9:<br>  dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist<br>  dependency "bytestring-0.10.6.0-09b6bde4572288cdbf02e4115ed5cd91" doesn't exist<br>  dependency "text-1.2.1.3-4c78ad7426ae4be055d28adf31eabdf8" doesn't exist<br>There are problems in package abstract-deque-0.3:<br>  dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist<br>  dependency "containers-0.5.6.2-12e20ec15ed50c37491ff947fa0f9c1a" doesn't exist<br>  dependency "random-1.1-e88d133272c86b979391f1c08bf5ca07" doesn't exist<br>  dependency "time-1.5.0.1-2654f2ea82eb50a9cb76337c0b480079" doesn't exist<br>There are problems in package optparse-applicative-0.12.0.0:<br>  dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist<br>  dependency "process-1.2.3.0-0103d9aa28c4fa0eada355d1840af7ae" doesn't exist<br>There are problems in package hastache-0.6.1:<br>  dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist<br>  dependency "bytestring-0.10.6.0-09b6bde4572288cdbf02e4115ed5cd91" doesn't exist<br>  dependency "containers-0.5.6.2-12e20ec15ed50c37491ff947fa0f9c1a" doesn't exist<br>  dependency "directory-1.2.2.0-6be4b069bff3ad3d34e43f79a1d2adaf" doesn't exist<br>  dependency "text-1.2.1.3-4c78ad7426ae4be055d28adf31eabdf8" doesn't exist<br>There are problems in package cereal-0.5.0.0:<br>  dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist<br>  dependency "bytestring-0.10.6.0-09b6bde4572288cdbf02e4115ed5cd91" doesn't exist<br>  dependency "containers-0.5.6.2-12e20ec15ed50c37491ff947fa0f9c1a" doesn't exist<br>There are problems in package dlist-0.7.1.2:<br>  dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist<br>There are problems in package ansi-wl-pprint-0.6.7.3:<br>  dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist<br>There are problems in package blaze-builder-0.4.0.1:<br>  dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist<br>  dependency "bytestring-0.10.6.0-09b6bde4572288cdbf02e4115ed5cd91" doesn't exist<br>  dependency "text-1.2.1.3-4c78ad7426ae4be055d28adf31eabdf8" doesn't exist<br>There are problems in package parallel-3.2.0.6:<br>  dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist<br>  dependency "containers-0.5.6.2-12e20ec15ed50c37491ff947fa0f9c1a" doesn't exist<br>There are problems in package transformers-compat-0.4.0.4:<br>  dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist<br>There are problems in package ieee754-0.7.6:<br>  dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist<br>There are problems in package abstract-par-0.3.3:<br>  dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist<br>There are problems in package erf-2.0.0.0:<br>  dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist<br>There are problems in package hlint-1.9.22:<br>  dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist<br>  dependency "containers-0.5.6.2-12e20ec15ed50c37491ff947fa0f9c1a" doesn't exist<br>  dependency "directory-1.2.2.0-6be4b069bff3ad3d34e43f79a1d2adaf" doesn't exist<br>  dependency "process-1.2.3.0-0103d9aa28c4fa0eada355d1840af7ae" doesn't exist<br>There are problems in package haskell-src-exts-1.16.0.1:<br>  dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist<br>There are problems in package uniplate-1.6.12:<br>  dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist<br>  dependency "containers-0.5.6.2-12e20ec15ed50c37491ff947fa0f9c1a" doesn't exist<br>  dependency "hashable-1.2.3.3-bc60d08cd07d83826168419244ef8bf3" doesn't exist<br>There are problems in package cpphs-1.19.3:<br>  dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist<br>  dependency "directory-1.2.2.0-6be4b069bff3ad3d34e43f79a1d2adaf" doesn't exist<br>There are problems in package polyparse-1.11:<br>  dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist<br>  dependency "bytestring-0.10.6.0-09b6bde4572288cdbf02e4115ed5cd91" doesn't exist<br>  dependency "text-1.2.1.3-4c78ad7426ae4be055d28adf31eabdf8" doesn't exist<br>There are problems in package unordered-containers-0.2.5.1:<br>  dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist<br>  dependency "hashable-1.2.3.3-bc60d08cd07d83826168419244ef8bf3" doesn't exist<br>There are problems in package cmdargs-0.10.13:<br>  dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist<br>  dependency "process-1.2.3.0-0103d9aa28c4fa0eada355d1840af7ae" doesn't exist<br>There are problems in package old-time-1.1.0.3:<br>  dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist<br>There are problems in package hscolour-1.23:<br>  dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist<br>  dependency "containers-0.5.6.2-12e20ec15ed50c37491ff947fa0f9c1a" doesn't exist<br>There are problems in package syb-0.6:<br>  dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist<br>There are problems in package refact-0.3.0.1:<br>  dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist<br>There are problems in package extra-1.4.2:<br>  dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist<br>  dependency "directory-1.2.2.0-6be4b069bff3ad3d34e43f79a1d2adaf" doesn't exist<br>  dependency "process-1.2.3.0-0103d9aa28c4fa0eada355d1840af7ae" doesn't exist<br>  dependency "time-1.5.0.1-2654f2ea82eb50a9cb76337c0b480079" doesn't exist<br>  dependency "unix-2.7.1.0-327d00fd34e5d5a1c53223d920b10810" doesn't exist<br>There are problems in package ansi-terminal-0.6.2.3:<br>  dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist<br>  dependency "unix-2.7.1.0-327d00fd34e5d5a1c53223d920b10810" doesn't exist<br><br>The following packages are broken, either because they have a problem<br>listed above, or because they depend on a broken package.<br>hashtables-1.2.0.2<br>hashable-1.2.3.3<br>ghc-events-0.4.4.0<br>data-ordlist-0.4.7.0<br>criterion-1.1.0.0<br>statistics-0.13.2.3<br>aeson-0.10.0.0<br>vector-algorithms-0.7.0.1<br>cassava-0.4.4.0<br>attoparsec-0.13.0.1<br>monad-par-0.3.4.7<br>mwc-random-0.13.3.2<br>math-functions-0.1.5.2<br>scientific-0.3.4.2<br>vector-th-unbox-0.2.1.3<br>vector-binary-instances-0.2.1.0<br>vector-0.11.0.0<br>Glob-0.7.5<br>monad-par-extras-0.3.3<br>parsec-3.1.9<br>abstract-deque-0.3<br>optparse-applicative-0.12.0.0<br>hastache-0.6.1<br>cereal-0.5.0.0<br>dlist-0.7.1.2<br>ansi-wl-pprint-0.6.7.3<br>blaze-builder-0.4.0.1<br>parallel-3.2.0.6<br>transformers-compat-0.4.0.4<br>ieee754-0.7.6<br>abstract-par-0.3.3<br>erf-2.0.0.0<br>hlint-1.9.22<br>haskell-src-exts-1.16.0.1<br>uniplate-1.6.12<br>cpphs-1.19.3<br>polyparse-1.11<br>unordered-containers-0.2.5.1<br>cmdargs-0.10.13<br>old-time-1.1.0.3<br>hscolour-1.23<br>syb-0.6<br>refact-0.3.0.1<br>extra-1.4.2<br>ansi-terminal-0.6.2.3<br></div></div></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Nov 15, 2015 at 6:14 PM, Carter Schonwald <span dir="ltr"><<a href="mailto:carter.schonwald@gmail.com" target="_blank">carter.schonwald@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Did you install OpenSSL ??<div><br></div><div>I'll upload my better ghc build in 5 minutes.  Did it end of the week and then got a bit busy <div><div><span></span><br><br>On Sunday, November 15, 2015, George Colpitts <<a href="mailto:george.colpitts@gmail.com" target="_blank">george.colpitts@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div style="font-family:times new roman,serif;font-size:large">I did get compiling from source to work on the Mac. Unfortunately I'm not sure what the problem was. <br><br></div><div style="font-family:times new roman,serif;font-size:large">I now see a new problem, not sure if it is a ghc problem or a library problem:<br><br><div style="margin-left:40px">cabal install HsOpenSSL<br>...<br>Building HsOpenSSL-0.11.1.1...<br>Preprocessing library HsOpenSSL-0.11.1.1...<br>In file included from BN.hsc:45:<br>cbits/HsOpenSSL.h:3:10: fatal error: 'openssl/asn1.h' file not found<br>#include <openssl/asn1.h><br>         ^<br>1 error generated.<br>compiling dist/build/OpenSSL/BN_hsc_make.c failed (exit code 1)<br>command was: /usr/bin/gcc -c dist/build/OpenSSL/BN_hsc_make.c -o dist/build/OpenSSL/BN_hsc_make.o -m64 -fno-stack-protector -D__GLASGOW_HASKELL__=710 -Ddarwin_BUILD_OS=1 -Dx86_64_BUILD_ARCH=1 -Ddarwin_HOST_OS=1 -Dx86_64_HOST_ARCH=1 -Icbits -D PTHREAD -DCALLCONV=ccall -Idist/build/autogen -include dist/build/autogen/cabal_macros.h -I/Users/gcolpitts/Library/Haskell/ghc-7.10.2.20151105-x86_64/lib/network-2.6.2.1/include -I/usr/local/lib/ghc-7.10.2.20151105/unix_KZL8h98IqDM57kQSPo1mKx/include -I/usr/local/lib/ghc-7.10.2.20151105/time_FTheb6LSxyX1UABIbBXRfn/include -I/usr/local/lib/ghc-7.10.2.20151105/bytes_6VWy06pWzJq9evDvK2d4w6/include -I/usr/local/lib/ghc-7.10.2.20151105/base_HQfYBxpPvuw8OunzQu6JGM/include -I/usr/local/lib/ghc-7.10.2.20151105/integ_2aU3IZNMF9a7mQ0OzsZ0dS/include -I/usr/local/lib/ghc-7.10.2.20151105/include -I/usr/local/lib/ghc-7.10.2.20151105/include/<br>cabal: Error: some packages failed to install:<br>HsOpenSSL-0.11.1.1 failed during the building phase. The exception was:<br>ExitFailure 1<br><br>/usr/bin/gcc --version<br>/usr/bin/gcc --version<br>Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/include/c++/4.2.1<br>Apple LLVM version 7.0.0 (clang-700.1.76)<br>Target: x86_64-apple-darwin15.0.0<br>Thread model: posix<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Nov 9, 2015 at 10:49 AM, George Colpitts <span dir="ltr"><<a>george.colpitts@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div style="font-family:'times new roman',serif;font-size:large">redid with just make rather than make -j5. I get</div><div style="font-family:'times new roman',serif;font-size:large"><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div style="font-family:'times new roman',serif;font-size:large"><br></div><div style="font-family:'times new roman',serif;font-size:large">...</div><div style="font-family:'times new roman',serif;font-size:large"><div>chmod +x libraries/integer-gmp2/gmp/ln</div></div><div style="font-family:'times new roman',serif;font-size:large"><div># Their cmd invocation only works on msys. On cygwin it starts</div></div><div style="font-family:'times new roman',serif;font-size:large"><div># a cmd interactive shell. The replacement works in both environments.</div></div><div style="font-family:'times new roman',serif;font-size:large"><div>mv libraries/integer-gmp2/gmp/gmpbuild/ltmain.sh libraries/integer-gmp2/gmp/gmpbuild/ltmain.sh.orig</div></div><div style="font-family:'times new roman',serif;font-size:large"><div>sed 's#cmd //c echo "\$1"#cmd /c "echo $1"#' < libraries/integer-gmp2/gmp/gmpbuild/ltmain.sh.orig > libraries/integer-gmp2/gmp/gmpbuild/ltmain.sh</div></div><div style="font-family:'times new roman',serif;font-size:large"><div>cd libraries/integer-gmp2/gmp; (set -o igncr 2>/dev/null) && set -o igncr; export SHELLOPTS; \</div></div><div style="font-family:'times new roman',serif;font-size:large"><div><span style="white-space:pre-wrap">       </span>    PATH=`pwd`:$PATH; \</div></div><div style="font-family:'times new roman',serif;font-size:large"><div><span style="white-space:pre-wrap">   </span>    export PATH; \</div></div><div style="font-family:'times new roman',serif;font-size:large"><div><span style="white-space:pre-wrap">        </span>    cd gmpbuild && \</div></div><div style="font-family:'times new roman',serif;font-size:large"><div><span style="white-space:pre-wrap">      </span>    CC=clang NM=/usr/bin/nm AR=/usr/bin/ar ./configure \</div></div><div style="font-family:'times new roman',serif;font-size:large"><div><span style="white-space:pre-wrap">  </span>          --enable-shared=no \</div></div><div style="font-family:'times new roman',serif;font-size:large"><div><span style="white-space:pre-wrap"> </span>          --host=x86_64-apple-darwin --build=x86_64-apple-darwin</div></div><div style="font-family:'times new roman',serif;font-size:large"><div>/bin/sh: SHELLOPTS: readonly variable</div></div><div style="font-family:'times new roman',serif;font-size:large"><div>checking build system type... /bin/sh: SHELLOPTS: readonly variable</div></div><div style="font-family:'times new roman',serif;font-size:large"><div>/bin/sh: SHELLOPTS: readonly variable</div></div><div style="font-family:'times new roman',serif;font-size:large"><div>x86_64-apple-darwin</div></div><div style="font-family:'times new roman',serif;font-size:large"><div>checking host system type... /bin/sh: SHELLOPTS: readonly variable</div></div><div style="font-family:'times new roman',serif;font-size:large"><div>/bin/sh: SHELLOPTS: readonly variable</div></div><div style="font-family:'times new roman',serif;font-size:large"><div>x86_64-apple-darwin</div></div><div style="font-family:'times new roman',serif;font-size:large"><div>checking for a BSD-compatible install... /usr/bin/install -c</div></div><div style="font-family:'times new roman',serif;font-size:large"><div>checking whether build environment is sane... yes</div></div><div style="font-family:'times new roman',serif;font-size:large"><div>/bin/sh: SHELLOPTS: readonly variable</div></div><div style="font-family:'times new roman',serif;font-size:large"><div>checking for a thread-safe mkdir -p... ./install-sh -c -d</div></div><div style="font-family:'times new roman',serif;font-size:large"><div>checking for gawk... no</div></div><div style="font-family:'times new roman',serif;font-size:large"><div>checking for mawk... no</div></div><div style="font-family:'times new roman',serif;font-size:large"><div>checking for nawk... no</div></div><div style="font-family:'times new roman',serif;font-size:large"><div>checking for awk... awk</div></div><div style="font-family:'times new roman',serif;font-size:large"><div>checking whether make sets $(MAKE)... yes</div></div><div style="font-family:'times new roman',serif;font-size:large"><div>checking whether to enable maintainer-specific portions of Makefiles... no</div></div><div style="font-family:'times new roman',serif;font-size:large"><div>checking ABI=64</div></div><div style="font-family:'times new roman',serif;font-size:large"><div>checking whether clang is gcc... yes</div></div><div style="font-family:'times new roman',serif;font-size:large"><div>checking compiler clang -O2 -pedantic -fPIC -m64 ... no, gnupro alpha ev6 char spilling</div></div><div style="font-family:'times new roman',serif;font-size:large"><div>checking ABI=32</div></div><div style="font-family:'times new roman',serif;font-size:large"><div>checking whether clang is gcc... yes</div></div><div style="font-family:'times new roman',serif;font-size:large"><div><b>checking compiler clang -m32 -O2 -pedantic -fPIC -fomit-frame-pointer ... no, gnupro alpha ev6 char spilling</b></div></div><div style="font-family:'times new roman',serif;font-size:large"><div><b>checking compiler clang -O2 -pedantic -fPIC -fomit-frame-pointer ... no, gnupro alpha ev6 char spilling</b></div></div><div style="font-family:'times new roman',serif;font-size:large"><div><b>configure: error: could not find a working compiler, see config.log for details</b></div></div><div style="font-family:'times new roman',serif;font-size:large"><div><b>make[1]: *** [libraries/integer-gmp2/gmp/gmp.h] Error 1</b></div></div><div style="font-family:'times new roman',serif;font-size:large"><div><b>make: *** [all] Error 2</b></div></div></blockquote></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Nov 9, 2015 at 9:32 AM, Ben Gamari <span dir="ltr"><<a>ben@smart-cactus.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span>George Colpitts <<a>george.colpitts@gmail.com</a>> writes:<br>
<br>
> I get<br>
><br>
> make[1]: *** [libraries/integer-gmp2/gmp/gmp.h] Error 1<br>
> make[1]: *** Waiting for unfinished jobs....<br>
<br>
</span>It looks like the build failed somewhere before this point. Could you<br>
provide a more complete log?<br>
<br>
Cheers,<br>
<br>
- Ben<br>
<br>
<br>
</blockquote></div><br></div></div>
</blockquote></div><br></div></div>
</blockquote></div></div></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div></div>