Re: [ANNOUNCE] 7.10.3 release candidate 2 - problems compiling source on Mac OS with clang

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
redid with just make rather than make -j5. I get
... chmod +x libraries/integer-gmp2/gmp/ln # Their cmd invocation only works on msys. On cygwin it starts # a cmd interactive shell. The replacement works in both environments. mv libraries/integer-gmp2/gmp/gmpbuild/ltmain.sh libraries/integer-gmp2/gmp/gmpbuild/ltmain.sh.orig 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 cd libraries/integer-gmp2/gmp; (set -o igncr 2>/dev/null) && set -o igncr; export SHELLOPTS; \ PATH=`pwd`:$PATH; \ export PATH; \ cd gmpbuild && \ CC=clang NM=/usr/bin/nm AR=/usr/bin/ar ./configure \ --enable-shared=no \ --host=x86_64-apple-darwin --build=x86_64-apple-darwin /bin/sh: SHELLOPTS: readonly variable checking build system type... /bin/sh: SHELLOPTS: readonly variable /bin/sh: SHELLOPTS: readonly variable x86_64-apple-darwin checking host system type... /bin/sh: SHELLOPTS: readonly variable /bin/sh: SHELLOPTS: readonly variable x86_64-apple-darwin checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes /bin/sh: SHELLOPTS: readonly variable checking for a thread-safe mkdir -p... ./install-sh -c -d checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking ABI=64 checking whether clang is gcc... yes checking compiler clang -O2 -pedantic -fPIC -m64 ... no, gnupro alpha ev6 char spilling checking ABI=32 checking whether clang is gcc... yes *checking compiler clang -m32 -O2 -pedantic -fPIC -fomit-frame-pointer ... no, gnupro alpha ev6 char spilling* *checking compiler clang -O2 -pedantic -fPIC -fomit-frame-pointer ... no, gnupro alpha ev6 char spilling* *configure: error: could not find a working compiler, see config.log for details* *make[1]: *** [libraries/integer-gmp2/gmp/gmp.h] Error 1* *make: *** [all] Error 2*
On Mon, Nov 9, 2015 at 9:32 AM, Ben Gamari
wrote: George Colpitts
writes: I get
make[1]: *** [libraries/integer-gmp2/gmp/gmp.h] Error 1 make[1]: *** Waiting for unfinished jobs....
It looks like the build failed somewhere before this point. Could you provide a more complete log?
Cheers,
- Ben

Did you install OpenSSL ??
I'll upload my better ghc build in 5 minutes. Did it end of the week and
then got a bit busy
On Sunday, November 15, 2015, George Colpitts
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
^ 1 error generated. compiling dist/build/OpenSSL/BN_hsc_make.c failed (exit code 1) 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/ cabal: Error: some packages failed to install: HsOpenSSL-0.11.1.1 failed during the building phase. The exception was: ExitFailure 1 /usr/bin/gcc --version /usr/bin/gcc --version 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 Apple LLVM version 7.0.0 (clang-700.1.76) Target: x86_64-apple-darwin15.0.0 Thread model: posix
On Mon, Nov 9, 2015 at 10:49 AM, George Colpitts < george.colpitts@gmail.com javascript:_e(%7B%7D,'cvml','george.colpitts@gmail.com');> wrote:
redid with just make rather than make -j5. I get
... chmod +x libraries/integer-gmp2/gmp/ln # Their cmd invocation only works on msys. On cygwin it starts # a cmd interactive shell. The replacement works in both environments. mv libraries/integer-gmp2/gmp/gmpbuild/ltmain.sh libraries/integer-gmp2/gmp/gmpbuild/ltmain.sh.orig 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 cd libraries/integer-gmp2/gmp; (set -o igncr 2>/dev/null) && set -o igncr; export SHELLOPTS; \ PATH=`pwd`:$PATH; \ export PATH; \ cd gmpbuild && \ CC=clang NM=/usr/bin/nm AR=/usr/bin/ar ./configure \ --enable-shared=no \ --host=x86_64-apple-darwin --build=x86_64-apple-darwin /bin/sh: SHELLOPTS: readonly variable checking build system type... /bin/sh: SHELLOPTS: readonly variable /bin/sh: SHELLOPTS: readonly variable x86_64-apple-darwin checking host system type... /bin/sh: SHELLOPTS: readonly variable /bin/sh: SHELLOPTS: readonly variable x86_64-apple-darwin checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes /bin/sh: SHELLOPTS: readonly variable checking for a thread-safe mkdir -p... ./install-sh -c -d checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking ABI=64 checking whether clang is gcc... yes checking compiler clang -O2 -pedantic -fPIC -m64 ... no, gnupro alpha ev6 char spilling checking ABI=32 checking whether clang is gcc... yes *checking compiler clang -m32 -O2 -pedantic -fPIC -fomit-frame-pointer ... no, gnupro alpha ev6 char spilling* *checking compiler clang -O2 -pedantic -fPIC -fomit-frame-pointer ... no, gnupro alpha ev6 char spilling* *configure: error: could not find a working compiler, see config.log for details* *make[1]: *** [libraries/integer-gmp2/gmp/gmp.h] Error 1* *make: *** [all] Error 2*
On Mon, Nov 9, 2015 at 9:32 AM, Ben Gamari
javascript:_e(%7B%7D,'cvml','ben@smart-cactus.org');> wrote: George Colpitts
javascript:_e(%7B%7D,'cvml','george.colpitts@gmail.com');> writes: I get
make[1]: *** [libraries/integer-gmp2/gmp/gmp.h] Error 1 make[1]: *** Waiting for unfinished jobs....
It looks like the build failed somewhere before this point. Could you provide a more complete log?
Cheers,
- Ben

Yes I have openssl installed
$ brew upgrade openssl
brew upgrade openssl
Error: openssl 1.0.2d_1 already installed
Thanks for uploading the new binary install, it definitely solved the
problem I originally reported
However it doesn't solve the HsOpenSSL problem:
cabal install HsOpenSSL
cabal install HsOpenSSL
Resolving dependencies...
Configuring HsOpenSSL-0.11.1.1...
Building HsOpenSSL-0.11.1.1...
Failed to install HsOpenSSL-0.11.1.1
Build log ( /Users/gcolpitts/.cabal/logs/HsOpenSSL-0.11.1.1.log ):
Configuring HsOpenSSL-0.11.1.1...
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
Did you install OpenSSL ??
I'll upload my better ghc build in 5 minutes. Did it end of the week and then got a bit busy
On Sunday, November 15, 2015, George Colpitts
wrote: 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
^ 1 error generated. compiling dist/build/OpenSSL/BN_hsc_make.c failed (exit code 1) 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/ cabal: Error: some packages failed to install: HsOpenSSL-0.11.1.1 failed during the building phase. The exception was: ExitFailure 1 /usr/bin/gcc --version /usr/bin/gcc --version 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 Apple LLVM version 7.0.0 (clang-700.1.76) Target: x86_64-apple-darwin15.0.0 Thread model: posix
On Mon, Nov 9, 2015 at 10:49 AM, George Colpitts < george.colpitts@gmail.com> wrote:
redid with just make rather than make -j5. I get
... chmod +x libraries/integer-gmp2/gmp/ln # Their cmd invocation only works on msys. On cygwin it starts # a cmd interactive shell. The replacement works in both environments. mv libraries/integer-gmp2/gmp/gmpbuild/ltmain.sh libraries/integer-gmp2/gmp/gmpbuild/ltmain.sh.orig 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 cd libraries/integer-gmp2/gmp; (set -o igncr 2>/dev/null) && set -o igncr; export SHELLOPTS; \ PATH=`pwd`:$PATH; \ export PATH; \ cd gmpbuild && \ CC=clang NM=/usr/bin/nm AR=/usr/bin/ar ./configure \ --enable-shared=no \ --host=x86_64-apple-darwin --build=x86_64-apple-darwin /bin/sh: SHELLOPTS: readonly variable checking build system type... /bin/sh: SHELLOPTS: readonly variable /bin/sh: SHELLOPTS: readonly variable x86_64-apple-darwin checking host system type... /bin/sh: SHELLOPTS: readonly variable /bin/sh: SHELLOPTS: readonly variable x86_64-apple-darwin checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes /bin/sh: SHELLOPTS: readonly variable checking for a thread-safe mkdir -p... ./install-sh -c -d checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking ABI=64 checking whether clang is gcc... yes checking compiler clang -O2 -pedantic -fPIC -m64 ... no, gnupro alpha ev6 char spilling checking ABI=32 checking whether clang is gcc... yes *checking compiler clang -m32 -O2 -pedantic -fPIC -fomit-frame-pointer ... no, gnupro alpha ev6 char spilling* *checking compiler clang -O2 -pedantic -fPIC -fomit-frame-pointer ... no, gnupro alpha ev6 char spilling* *configure: error: could not find a working compiler, see config.log for details* *make[1]: *** [libraries/integer-gmp2/gmp/gmp.h] Error 1* *make: *** [all] Error 2*
On Mon, Nov 9, 2015 at 9:32 AM, Ben Gamari
wrote: George Colpitts
writes: I get
make[1]: *** [libraries/integer-gmp2/gmp/gmp.h] Error 1 make[1]: *** Waiting for unfinished jobs....
It looks like the build failed somewhere before this point. Could you provide a more complete log?
Cheers,
- Ben

I cleaned up my ghc pkg problems by doing
rm -fr ~/.ghc/*
most packages now compile but hsopenssl still fails in the same way:
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
Yes I have openssl installed
$ brew upgrade openssl brew upgrade openssl Error: openssl 1.0.2d_1 already installed
Thanks for uploading the new binary install, it definitely solved the problem I originally reported
However it doesn't solve the HsOpenSSL problem:
cabal install HsOpenSSL cabal install HsOpenSSL Resolving dependencies... Configuring HsOpenSSL-0.11.1.1... Building HsOpenSSL-0.11.1.1... Failed to install HsOpenSSL-0.11.1.1 Build log ( /Users/gcolpitts/.cabal/logs/HsOpenSSL-0.11.1.1.log ): Configuring HsOpenSSL-0.11.1.1... 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
^ 1 error generated. compiling dist/build/OpenSSL/BN_hsc_make.c failed (exit code 1) 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/ cabal: Error: some packages failed to install: HsOpenSSL-0.11.1.1 failed during the building phase. The exception was: ExitFailure 1 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?
I think building and installing from source, then installing libraries, then installing binaries and building more libraries has left me in an unstable state.
Thanks George
ghc-pkg check There are problems in package hashtables-1.2.0.2: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist There are problems in package hashable-1.2.3.3: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist dependency "bytestring-0.10.6.0-57aca8b044c60296d333ba9ef7a6b270" doesn't exist There are problems in package ghc-events-0.4.4.0: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist dependency "bytestring-0.10.6.0-57aca8b044c60296d333ba9ef7a6b270" doesn't exist There are problems in package data-ordlist-0.4.7.0: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist There are problems in package criterion-1.1.0.0: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist dependency "binary-0.7.5.0-77839394dfefc3f030d00790a2cef7fa" doesn't exist dependency "bytestring-0.10.6.0-09b6bde4572288cdbf02e4115ed5cd91" doesn't exist dependency "containers-0.5.6.2-12e20ec15ed50c37491ff947fa0f9c1a" doesn't exist dependency "directory-1.2.2.0-6be4b069bff3ad3d34e43f79a1d2adaf" doesn't exist dependency "text-1.2.1.3-4c78ad7426ae4be055d28adf31eabdf8" doesn't exist dependency "time-1.5.0.1-2654f2ea82eb50a9cb76337c0b480079" doesn't exist There are problems in package statistics-0.13.2.3: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist dependency "binary-0.7.5.0-77839394dfefc3f030d00790a2cef7fa" doesn't exist There are problems in package aeson-0.10.0.0: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist dependency "bytestring-0.10.6.0-09b6bde4572288cdbf02e4115ed5cd91" doesn't exist dependency "containers-0.5.6.2-12e20ec15ed50c37491ff947fa0f9c1a" doesn't exist dependency "hashable-1.2.3.3-bc60d08cd07d83826168419244ef8bf3" doesn't exist dependency "text-1.2.1.3-4c78ad7426ae4be055d28adf31eabdf8" doesn't exist dependency "time-1.5.0.1-2654f2ea82eb50a9cb76337c0b480079" doesn't exist There are problems in package vector-algorithms-0.7.0.1: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist dependency "bytestring-0.10.6.0-09b6bde4572288cdbf02e4115ed5cd91" doesn't exist There are problems in package cassava-0.4.4.0: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist dependency "bytestring-0.10.6.0-09b6bde4572288cdbf02e4115ed5cd91" doesn't exist dependency "containers-0.5.6.2-12e20ec15ed50c37491ff947fa0f9c1a" doesn't exist dependency "hashable-1.2.3.3-bc60d08cd07d83826168419244ef8bf3" doesn't exist dependency "text-1.2.1.3-4c78ad7426ae4be055d28adf31eabdf8" doesn't exist There are problems in package attoparsec-0.13.0.1: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist dependency "bytestring-0.10.6.0-09b6bde4572288cdbf02e4115ed5cd91" doesn't exist dependency "containers-0.5.6.2-12e20ec15ed50c37491ff947fa0f9c1a" doesn't exist dependency "text-1.2.1.3-4c78ad7426ae4be055d28adf31eabdf8" doesn't exist There are problems in package monad-par-0.3.4.7: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist dependency "containers-0.5.6.2-12e20ec15ed50c37491ff947fa0f9c1a" doesn't exist There are problems in package mwc-random-0.13.3.2: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist dependency "time-1.5.0.1-2654f2ea82eb50a9cb76337c0b480079" doesn't exist There are problems in package math-functions-0.1.5.2: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist There are problems in package scientific-0.3.4.2: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist dependency "binary-0.7.5.0-77839394dfefc3f030d00790a2cef7fa" doesn't exist dependency "bytestring-0.10.6.0-09b6bde4572288cdbf02e4115ed5cd91" doesn't exist dependency "containers-0.5.6.2-12e20ec15ed50c37491ff947fa0f9c1a" doesn't exist dependency "hashable-1.2.3.3-bc60d08cd07d83826168419244ef8bf3" doesn't exist dependency "text-1.2.1.3-4c78ad7426ae4be055d28adf31eabdf8" doesn't exist There are problems in package vector-th-unbox-0.2.1.3: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist There are problems in package vector-binary-instances-0.2.1.0: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist dependency "binary-0.7.5.0-77839394dfefc3f030d00790a2cef7fa" doesn't exist There are problems in package vector-0.11.0.0: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist There are problems in package Glob-0.7.5: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist dependency "containers-0.5.6.2-12e20ec15ed50c37491ff947fa0f9c1a" doesn't exist dependency "directory-1.2.2.0-6be4b069bff3ad3d34e43f79a1d2adaf" doesn't exist There are problems in package monad-par-extras-0.3.3: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist dependency "random-1.1-e88d133272c86b979391f1c08bf5ca07" doesn't exist There are problems in package parsec-3.1.9: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist dependency "bytestring-0.10.6.0-09b6bde4572288cdbf02e4115ed5cd91" doesn't exist dependency "text-1.2.1.3-4c78ad7426ae4be055d28adf31eabdf8" doesn't exist There are problems in package abstract-deque-0.3: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist dependency "containers-0.5.6.2-12e20ec15ed50c37491ff947fa0f9c1a" doesn't exist dependency "random-1.1-e88d133272c86b979391f1c08bf5ca07" doesn't exist dependency "time-1.5.0.1-2654f2ea82eb50a9cb76337c0b480079" doesn't exist There are problems in package optparse-applicative-0.12.0.0: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist dependency "process-1.2.3.0-0103d9aa28c4fa0eada355d1840af7ae" doesn't exist There are problems in package hastache-0.6.1: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist dependency "bytestring-0.10.6.0-09b6bde4572288cdbf02e4115ed5cd91" doesn't exist dependency "containers-0.5.6.2-12e20ec15ed50c37491ff947fa0f9c1a" doesn't exist dependency "directory-1.2.2.0-6be4b069bff3ad3d34e43f79a1d2adaf" doesn't exist dependency "text-1.2.1.3-4c78ad7426ae4be055d28adf31eabdf8" doesn't exist There are problems in package cereal-0.5.0.0: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist dependency "bytestring-0.10.6.0-09b6bde4572288cdbf02e4115ed5cd91" doesn't exist dependency "containers-0.5.6.2-12e20ec15ed50c37491ff947fa0f9c1a" doesn't exist There are problems in package dlist-0.7.1.2: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist There are problems in package ansi-wl-pprint-0.6.7.3: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist There are problems in package blaze-builder-0.4.0.1: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist dependency "bytestring-0.10.6.0-09b6bde4572288cdbf02e4115ed5cd91" doesn't exist dependency "text-1.2.1.3-4c78ad7426ae4be055d28adf31eabdf8" doesn't exist There are problems in package parallel-3.2.0.6: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist dependency "containers-0.5.6.2-12e20ec15ed50c37491ff947fa0f9c1a" doesn't exist There are problems in package transformers-compat-0.4.0.4: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist There are problems in package ieee754-0.7.6: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist There are problems in package abstract-par-0.3.3: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist There are problems in package erf-2.0.0.0: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist There are problems in package hlint-1.9.22: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist dependency "containers-0.5.6.2-12e20ec15ed50c37491ff947fa0f9c1a" doesn't exist dependency "directory-1.2.2.0-6be4b069bff3ad3d34e43f79a1d2adaf" doesn't exist dependency "process-1.2.3.0-0103d9aa28c4fa0eada355d1840af7ae" doesn't exist There are problems in package haskell-src-exts-1.16.0.1: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist There are problems in package uniplate-1.6.12: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist dependency "containers-0.5.6.2-12e20ec15ed50c37491ff947fa0f9c1a" doesn't exist dependency "hashable-1.2.3.3-bc60d08cd07d83826168419244ef8bf3" doesn't exist There are problems in package cpphs-1.19.3: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist dependency "directory-1.2.2.0-6be4b069bff3ad3d34e43f79a1d2adaf" doesn't exist There are problems in package polyparse-1.11: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist dependency "bytestring-0.10.6.0-09b6bde4572288cdbf02e4115ed5cd91" doesn't exist dependency "text-1.2.1.3-4c78ad7426ae4be055d28adf31eabdf8" doesn't exist There are problems in package unordered-containers-0.2.5.1: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist dependency "hashable-1.2.3.3-bc60d08cd07d83826168419244ef8bf3" doesn't exist There are problems in package cmdargs-0.10.13: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist dependency "process-1.2.3.0-0103d9aa28c4fa0eada355d1840af7ae" doesn't exist There are problems in package old-time-1.1.0.3: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist There are problems in package hscolour-1.23: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist dependency "containers-0.5.6.2-12e20ec15ed50c37491ff947fa0f9c1a" doesn't exist There are problems in package syb-0.6: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist There are problems in package refact-0.3.0.1: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist There are problems in package extra-1.4.2: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist dependency "directory-1.2.2.0-6be4b069bff3ad3d34e43f79a1d2adaf" doesn't exist dependency "process-1.2.3.0-0103d9aa28c4fa0eada355d1840af7ae" doesn't exist dependency "time-1.5.0.1-2654f2ea82eb50a9cb76337c0b480079" doesn't exist dependency "unix-2.7.1.0-327d00fd34e5d5a1c53223d920b10810" doesn't exist There are problems in package ansi-terminal-0.6.2.3: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist dependency "unix-2.7.1.0-327d00fd34e5d5a1c53223d920b10810" doesn't exist
The following packages are broken, either because they have a problem listed above, or because they depend on a broken package. hashtables-1.2.0.2 hashable-1.2.3.3 ghc-events-0.4.4.0 data-ordlist-0.4.7.0 criterion-1.1.0.0 statistics-0.13.2.3 aeson-0.10.0.0 vector-algorithms-0.7.0.1 cassava-0.4.4.0 attoparsec-0.13.0.1 monad-par-0.3.4.7 mwc-random-0.13.3.2 math-functions-0.1.5.2 scientific-0.3.4.2 vector-th-unbox-0.2.1.3 vector-binary-instances-0.2.1.0 vector-0.11.0.0 Glob-0.7.5 monad-par-extras-0.3.3 parsec-3.1.9 abstract-deque-0.3 optparse-applicative-0.12.0.0 hastache-0.6.1 cereal-0.5.0.0 dlist-0.7.1.2 ansi-wl-pprint-0.6.7.3 blaze-builder-0.4.0.1 parallel-3.2.0.6 transformers-compat-0.4.0.4 ieee754-0.7.6 abstract-par-0.3.3 erf-2.0.0.0 hlint-1.9.22 haskell-src-exts-1.16.0.1 uniplate-1.6.12 cpphs-1.19.3 polyparse-1.11 unordered-containers-0.2.5.1 cmdargs-0.10.13 old-time-1.1.0.3 hscolour-1.23 syb-0.6 refact-0.3.0.1 extra-1.4.2 ansi-terminal-0.6.2.3
On Sun, Nov 15, 2015 at 6:14 PM, Carter Schonwald < carter.schonwald@gmail.com> wrote:
Did you install OpenSSL ??
I'll upload my better ghc build in 5 minutes. Did it end of the week and then got a bit busy
On Sunday, November 15, 2015, George Colpitts
wrote: 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
^ 1 error generated. compiling dist/build/OpenSSL/BN_hsc_make.c failed (exit code 1) 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/ cabal: Error: some packages failed to install: HsOpenSSL-0.11.1.1 failed during the building phase. The exception was: ExitFailure 1 /usr/bin/gcc --version /usr/bin/gcc --version 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 Apple LLVM version 7.0.0 (clang-700.1.76) Target: x86_64-apple-darwin15.0.0 Thread model: posix
On Mon, Nov 9, 2015 at 10:49 AM, George Colpitts < george.colpitts@gmail.com> wrote:
redid with just make rather than make -j5. I get
... chmod +x libraries/integer-gmp2/gmp/ln # Their cmd invocation only works on msys. On cygwin it starts # a cmd interactive shell. The replacement works in both environments. mv libraries/integer-gmp2/gmp/gmpbuild/ltmain.sh libraries/integer-gmp2/gmp/gmpbuild/ltmain.sh.orig 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 cd libraries/integer-gmp2/gmp; (set -o igncr 2>/dev/null) && set -o igncr; export SHELLOPTS; \ PATH=`pwd`:$PATH; \ export PATH; \ cd gmpbuild && \ CC=clang NM=/usr/bin/nm AR=/usr/bin/ar ./configure \ --enable-shared=no \ --host=x86_64-apple-darwin --build=x86_64-apple-darwin /bin/sh: SHELLOPTS: readonly variable checking build system type... /bin/sh: SHELLOPTS: readonly variable /bin/sh: SHELLOPTS: readonly variable x86_64-apple-darwin checking host system type... /bin/sh: SHELLOPTS: readonly variable /bin/sh: SHELLOPTS: readonly variable x86_64-apple-darwin checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes /bin/sh: SHELLOPTS: readonly variable checking for a thread-safe mkdir -p... ./install-sh -c -d checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking ABI=64 checking whether clang is gcc... yes checking compiler clang -O2 -pedantic -fPIC -m64 ... no, gnupro alpha ev6 char spilling checking ABI=32 checking whether clang is gcc... yes *checking compiler clang -m32 -O2 -pedantic -fPIC -fomit-frame-pointer ... no, gnupro alpha ev6 char spilling* *checking compiler clang -O2 -pedantic -fPIC -fomit-frame-pointer ... no, gnupro alpha ev6 char spilling* *configure: error: could not find a working compiler, see config.log for details* *make[1]: *** [libraries/integer-gmp2/gmp/gmp.h] Error 1* *make: *** [all] Error 2*
On Mon, Nov 9, 2015 at 9:32 AM, Ben Gamari
wrote: George Colpitts
writes: I get
make[1]: *** [libraries/integer-gmp2/gmp/gmp.h] Error 1 make[1]: *** Waiting for unfinished jobs....
It looks like the build failed somewhere before this point. Could you provide a more complete log?
Cheers,
- Ben

what does your ghc --info say?
On Sun, Nov 15, 2015 at 7:54 PM, George Colpitts
I cleaned up my ghc pkg problems by doing
rm -fr ~/.ghc/*
most packages now compile but hsopenssl still fails in the same way:
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
^ 1 error generated. compiling dist/build/OpenSSL/BN_hsc_make.c failed (exit code 1) 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/ On Sun, Nov 15, 2015 at 7:09 PM, George Colpitts < george.colpitts@gmail.com> wrote:
Yes I have openssl installed
$ brew upgrade openssl brew upgrade openssl Error: openssl 1.0.2d_1 already installed
Thanks for uploading the new binary install, it definitely solved the problem I originally reported
However it doesn't solve the HsOpenSSL problem:
cabal install HsOpenSSL cabal install HsOpenSSL Resolving dependencies... Configuring HsOpenSSL-0.11.1.1... Building HsOpenSSL-0.11.1.1... Failed to install HsOpenSSL-0.11.1.1 Build log ( /Users/gcolpitts/.cabal/logs/HsOpenSSL-0.11.1.1.log ): Configuring HsOpenSSL-0.11.1.1... 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
^ 1 error generated. compiling dist/build/OpenSSL/BN_hsc_make.c failed (exit code 1) 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/ cabal: Error: some packages failed to install: HsOpenSSL-0.11.1.1 failed during the building phase. The exception was: ExitFailure 1 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?
I think building and installing from source, then installing libraries, then installing binaries and building more libraries has left me in an unstable state.
Thanks George
ghc-pkg check There are problems in package hashtables-1.2.0.2: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist There are problems in package hashable-1.2.3.3: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist dependency "bytestring-0.10.6.0-57aca8b044c60296d333ba9ef7a6b270" doesn't exist There are problems in package ghc-events-0.4.4.0: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist dependency "bytestring-0.10.6.0-57aca8b044c60296d333ba9ef7a6b270" doesn't exist There are problems in package data-ordlist-0.4.7.0: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist There are problems in package criterion-1.1.0.0: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist dependency "binary-0.7.5.0-77839394dfefc3f030d00790a2cef7fa" doesn't exist dependency "bytestring-0.10.6.0-09b6bde4572288cdbf02e4115ed5cd91" doesn't exist dependency "containers-0.5.6.2-12e20ec15ed50c37491ff947fa0f9c1a" doesn't exist dependency "directory-1.2.2.0-6be4b069bff3ad3d34e43f79a1d2adaf" doesn't exist dependency "text-1.2.1.3-4c78ad7426ae4be055d28adf31eabdf8" doesn't exist dependency "time-1.5.0.1-2654f2ea82eb50a9cb76337c0b480079" doesn't exist There are problems in package statistics-0.13.2.3: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist dependency "binary-0.7.5.0-77839394dfefc3f030d00790a2cef7fa" doesn't exist There are problems in package aeson-0.10.0.0: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist dependency "bytestring-0.10.6.0-09b6bde4572288cdbf02e4115ed5cd91" doesn't exist dependency "containers-0.5.6.2-12e20ec15ed50c37491ff947fa0f9c1a" doesn't exist dependency "hashable-1.2.3.3-bc60d08cd07d83826168419244ef8bf3" doesn't exist dependency "text-1.2.1.3-4c78ad7426ae4be055d28adf31eabdf8" doesn't exist dependency "time-1.5.0.1-2654f2ea82eb50a9cb76337c0b480079" doesn't exist There are problems in package vector-algorithms-0.7.0.1: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist dependency "bytestring-0.10.6.0-09b6bde4572288cdbf02e4115ed5cd91" doesn't exist There are problems in package cassava-0.4.4.0: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist dependency "bytestring-0.10.6.0-09b6bde4572288cdbf02e4115ed5cd91" doesn't exist dependency "containers-0.5.6.2-12e20ec15ed50c37491ff947fa0f9c1a" doesn't exist dependency "hashable-1.2.3.3-bc60d08cd07d83826168419244ef8bf3" doesn't exist dependency "text-1.2.1.3-4c78ad7426ae4be055d28adf31eabdf8" doesn't exist There are problems in package attoparsec-0.13.0.1: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist dependency "bytestring-0.10.6.0-09b6bde4572288cdbf02e4115ed5cd91" doesn't exist dependency "containers-0.5.6.2-12e20ec15ed50c37491ff947fa0f9c1a" doesn't exist dependency "text-1.2.1.3-4c78ad7426ae4be055d28adf31eabdf8" doesn't exist There are problems in package monad-par-0.3.4.7: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist dependency "containers-0.5.6.2-12e20ec15ed50c37491ff947fa0f9c1a" doesn't exist There are problems in package mwc-random-0.13.3.2: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist dependency "time-1.5.0.1-2654f2ea82eb50a9cb76337c0b480079" doesn't exist There are problems in package math-functions-0.1.5.2: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist There are problems in package scientific-0.3.4.2: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist dependency "binary-0.7.5.0-77839394dfefc3f030d00790a2cef7fa" doesn't exist dependency "bytestring-0.10.6.0-09b6bde4572288cdbf02e4115ed5cd91" doesn't exist dependency "containers-0.5.6.2-12e20ec15ed50c37491ff947fa0f9c1a" doesn't exist dependency "hashable-1.2.3.3-bc60d08cd07d83826168419244ef8bf3" doesn't exist dependency "text-1.2.1.3-4c78ad7426ae4be055d28adf31eabdf8" doesn't exist There are problems in package vector-th-unbox-0.2.1.3: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist There are problems in package vector-binary-instances-0.2.1.0: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist dependency "binary-0.7.5.0-77839394dfefc3f030d00790a2cef7fa" doesn't exist There are problems in package vector-0.11.0.0: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist There are problems in package Glob-0.7.5: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist dependency "containers-0.5.6.2-12e20ec15ed50c37491ff947fa0f9c1a" doesn't exist dependency "directory-1.2.2.0-6be4b069bff3ad3d34e43f79a1d2adaf" doesn't exist There are problems in package monad-par-extras-0.3.3: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist dependency "random-1.1-e88d133272c86b979391f1c08bf5ca07" doesn't exist There are problems in package parsec-3.1.9: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist dependency "bytestring-0.10.6.0-09b6bde4572288cdbf02e4115ed5cd91" doesn't exist dependency "text-1.2.1.3-4c78ad7426ae4be055d28adf31eabdf8" doesn't exist There are problems in package abstract-deque-0.3: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist dependency "containers-0.5.6.2-12e20ec15ed50c37491ff947fa0f9c1a" doesn't exist dependency "random-1.1-e88d133272c86b979391f1c08bf5ca07" doesn't exist dependency "time-1.5.0.1-2654f2ea82eb50a9cb76337c0b480079" doesn't exist There are problems in package optparse-applicative-0.12.0.0: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist dependency "process-1.2.3.0-0103d9aa28c4fa0eada355d1840af7ae" doesn't exist There are problems in package hastache-0.6.1: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist dependency "bytestring-0.10.6.0-09b6bde4572288cdbf02e4115ed5cd91" doesn't exist dependency "containers-0.5.6.2-12e20ec15ed50c37491ff947fa0f9c1a" doesn't exist dependency "directory-1.2.2.0-6be4b069bff3ad3d34e43f79a1d2adaf" doesn't exist dependency "text-1.2.1.3-4c78ad7426ae4be055d28adf31eabdf8" doesn't exist There are problems in package cereal-0.5.0.0: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist dependency "bytestring-0.10.6.0-09b6bde4572288cdbf02e4115ed5cd91" doesn't exist dependency "containers-0.5.6.2-12e20ec15ed50c37491ff947fa0f9c1a" doesn't exist There are problems in package dlist-0.7.1.2: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist There are problems in package ansi-wl-pprint-0.6.7.3: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist There are problems in package blaze-builder-0.4.0.1: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist dependency "bytestring-0.10.6.0-09b6bde4572288cdbf02e4115ed5cd91" doesn't exist dependency "text-1.2.1.3-4c78ad7426ae4be055d28adf31eabdf8" doesn't exist There are problems in package parallel-3.2.0.6: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist dependency "containers-0.5.6.2-12e20ec15ed50c37491ff947fa0f9c1a" doesn't exist There are problems in package transformers-compat-0.4.0.4: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist There are problems in package ieee754-0.7.6: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist There are problems in package abstract-par-0.3.3: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist There are problems in package erf-2.0.0.0: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist There are problems in package hlint-1.9.22: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist dependency "containers-0.5.6.2-12e20ec15ed50c37491ff947fa0f9c1a" doesn't exist dependency "directory-1.2.2.0-6be4b069bff3ad3d34e43f79a1d2adaf" doesn't exist dependency "process-1.2.3.0-0103d9aa28c4fa0eada355d1840af7ae" doesn't exist There are problems in package haskell-src-exts-1.16.0.1: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist There are problems in package uniplate-1.6.12: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist dependency "containers-0.5.6.2-12e20ec15ed50c37491ff947fa0f9c1a" doesn't exist dependency "hashable-1.2.3.3-bc60d08cd07d83826168419244ef8bf3" doesn't exist There are problems in package cpphs-1.19.3: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist dependency "directory-1.2.2.0-6be4b069bff3ad3d34e43f79a1d2adaf" doesn't exist There are problems in package polyparse-1.11: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist dependency "bytestring-0.10.6.0-09b6bde4572288cdbf02e4115ed5cd91" doesn't exist dependency "text-1.2.1.3-4c78ad7426ae4be055d28adf31eabdf8" doesn't exist There are problems in package unordered-containers-0.2.5.1: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist dependency "hashable-1.2.3.3-bc60d08cd07d83826168419244ef8bf3" doesn't exist There are problems in package cmdargs-0.10.13: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist dependency "process-1.2.3.0-0103d9aa28c4fa0eada355d1840af7ae" doesn't exist There are problems in package old-time-1.1.0.3: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist There are problems in package hscolour-1.23: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist dependency "containers-0.5.6.2-12e20ec15ed50c37491ff947fa0f9c1a" doesn't exist There are problems in package syb-0.6: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist There are problems in package refact-0.3.0.1: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist There are problems in package extra-1.4.2: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist dependency "directory-1.2.2.0-6be4b069bff3ad3d34e43f79a1d2adaf" doesn't exist dependency "process-1.2.3.0-0103d9aa28c4fa0eada355d1840af7ae" doesn't exist dependency "time-1.5.0.1-2654f2ea82eb50a9cb76337c0b480079" doesn't exist dependency "unix-2.7.1.0-327d00fd34e5d5a1c53223d920b10810" doesn't exist There are problems in package ansi-terminal-0.6.2.3: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist dependency "unix-2.7.1.0-327d00fd34e5d5a1c53223d920b10810" doesn't exist
The following packages are broken, either because they have a problem listed above, or because they depend on a broken package. hashtables-1.2.0.2 hashable-1.2.3.3 ghc-events-0.4.4.0 data-ordlist-0.4.7.0 criterion-1.1.0.0 statistics-0.13.2.3 aeson-0.10.0.0 vector-algorithms-0.7.0.1 cassava-0.4.4.0 attoparsec-0.13.0.1 monad-par-0.3.4.7 mwc-random-0.13.3.2 math-functions-0.1.5.2 scientific-0.3.4.2 vector-th-unbox-0.2.1.3 vector-binary-instances-0.2.1.0 vector-0.11.0.0 Glob-0.7.5 monad-par-extras-0.3.3 parsec-3.1.9 abstract-deque-0.3 optparse-applicative-0.12.0.0 hastache-0.6.1 cereal-0.5.0.0 dlist-0.7.1.2 ansi-wl-pprint-0.6.7.3 blaze-builder-0.4.0.1 parallel-3.2.0.6 transformers-compat-0.4.0.4 ieee754-0.7.6 abstract-par-0.3.3 erf-2.0.0.0 hlint-1.9.22 haskell-src-exts-1.16.0.1 uniplate-1.6.12 cpphs-1.19.3 polyparse-1.11 unordered-containers-0.2.5.1 cmdargs-0.10.13 old-time-1.1.0.3 hscolour-1.23 syb-0.6 refact-0.3.0.1 extra-1.4.2 ansi-terminal-0.6.2.3
On Sun, Nov 15, 2015 at 6:14 PM, Carter Schonwald < carter.schonwald@gmail.com> wrote:
Did you install OpenSSL ??
I'll upload my better ghc build in 5 minutes. Did it end of the week and then got a bit busy
On Sunday, November 15, 2015, George Colpitts
wrote: 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
^ 1 error generated. compiling dist/build/OpenSSL/BN_hsc_make.c failed (exit code 1) 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/ cabal: Error: some packages failed to install: HsOpenSSL-0.11.1.1 failed during the building phase. The exception was: ExitFailure 1 /usr/bin/gcc --version /usr/bin/gcc --version 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 Apple LLVM version 7.0.0 (clang-700.1.76) Target: x86_64-apple-darwin15.0.0 Thread model: posix
On Mon, Nov 9, 2015 at 10:49 AM, George Colpitts < george.colpitts@gmail.com> wrote:
redid with just make rather than make -j5. I get
... chmod +x libraries/integer-gmp2/gmp/ln # Their cmd invocation only works on msys. On cygwin it starts # a cmd interactive shell. The replacement works in both environments. mv libraries/integer-gmp2/gmp/gmpbuild/ltmain.sh libraries/integer-gmp2/gmp/gmpbuild/ltmain.sh.orig 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 cd libraries/integer-gmp2/gmp; (set -o igncr 2>/dev/null) && set -o igncr; export SHELLOPTS; \ PATH=`pwd`:$PATH; \ export PATH; \ cd gmpbuild && \ CC=clang NM=/usr/bin/nm AR=/usr/bin/ar ./configure \ --enable-shared=no \ --host=x86_64-apple-darwin --build=x86_64-apple-darwin /bin/sh: SHELLOPTS: readonly variable checking build system type... /bin/sh: SHELLOPTS: readonly variable /bin/sh: SHELLOPTS: readonly variable x86_64-apple-darwin checking host system type... /bin/sh: SHELLOPTS: readonly variable /bin/sh: SHELLOPTS: readonly variable x86_64-apple-darwin checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes /bin/sh: SHELLOPTS: readonly variable checking for a thread-safe mkdir -p... ./install-sh -c -d checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking ABI=64 checking whether clang is gcc... yes checking compiler clang -O2 -pedantic -fPIC -m64 ... no, gnupro alpha ev6 char spilling checking ABI=32 checking whether clang is gcc... yes *checking compiler clang -m32 -O2 -pedantic -fPIC -fomit-frame-pointer ... no, gnupro alpha ev6 char spilling* *checking compiler clang -O2 -pedantic -fPIC -fomit-frame-pointer ... no, gnupro alpha ev6 char spilling* *configure: error: could not find a working compiler, see config.log for details* *make[1]: *** [libraries/integer-gmp2/gmp/gmp.h] Error 1* *make: *** [all] Error 2*
On Mon, Nov 9, 2015 at 9:32 AM, Ben Gamari
wrote: George Colpitts
writes: > I get > > make[1]: *** [libraries/integer-gmp2/gmp/gmp.h] Error 1 > make[1]: *** Waiting for unfinished jobs....
It looks like the build failed somewhere before this point. Could you provide a more complete log?
Cheers,
- Ben

did you do configure before make install or not? On Sun, Nov 15, 2015 at 8:50 PM, Carter Schonwald < carter.schonwald@gmail.com> wrote:
what does your ghc --info say?
On Sun, Nov 15, 2015 at 7:54 PM, George Colpitts < george.colpitts@gmail.com> wrote:
I cleaned up my ghc pkg problems by doing
rm -fr ~/.ghc/*
most packages now compile but hsopenssl still fails in the same way:
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
^ 1 error generated. compiling dist/build/OpenSSL/BN_hsc_make.c failed (exit code 1) 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/ On Sun, Nov 15, 2015 at 7:09 PM, George Colpitts < george.colpitts@gmail.com> wrote:
Yes I have openssl installed
$ brew upgrade openssl brew upgrade openssl Error: openssl 1.0.2d_1 already installed
Thanks for uploading the new binary install, it definitely solved the problem I originally reported
However it doesn't solve the HsOpenSSL problem:
cabal install HsOpenSSL cabal install HsOpenSSL Resolving dependencies... Configuring HsOpenSSL-0.11.1.1... Building HsOpenSSL-0.11.1.1... Failed to install HsOpenSSL-0.11.1.1 Build log ( /Users/gcolpitts/.cabal/logs/HsOpenSSL-0.11.1.1.log ): Configuring HsOpenSSL-0.11.1.1... 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
^ 1 error generated. compiling dist/build/OpenSSL/BN_hsc_make.c failed (exit code 1) 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/ cabal: Error: some packages failed to install: HsOpenSSL-0.11.1.1 failed during the building phase. The exception was: ExitFailure 1 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?
I think building and installing from source, then installing libraries, then installing binaries and building more libraries has left me in an unstable state.
Thanks George
ghc-pkg check There are problems in package hashtables-1.2.0.2: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist There are problems in package hashable-1.2.3.3: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist dependency "bytestring-0.10.6.0-57aca8b044c60296d333ba9ef7a6b270" doesn't exist There are problems in package ghc-events-0.4.4.0: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist dependency "bytestring-0.10.6.0-57aca8b044c60296d333ba9ef7a6b270" doesn't exist There are problems in package data-ordlist-0.4.7.0: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist There are problems in package criterion-1.1.0.0: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist dependency "binary-0.7.5.0-77839394dfefc3f030d00790a2cef7fa" doesn't exist dependency "bytestring-0.10.6.0-09b6bde4572288cdbf02e4115ed5cd91" doesn't exist dependency "containers-0.5.6.2-12e20ec15ed50c37491ff947fa0f9c1a" doesn't exist dependency "directory-1.2.2.0-6be4b069bff3ad3d34e43f79a1d2adaf" doesn't exist dependency "text-1.2.1.3-4c78ad7426ae4be055d28adf31eabdf8" doesn't exist dependency "time-1.5.0.1-2654f2ea82eb50a9cb76337c0b480079" doesn't exist There are problems in package statistics-0.13.2.3: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist dependency "binary-0.7.5.0-77839394dfefc3f030d00790a2cef7fa" doesn't exist There are problems in package aeson-0.10.0.0: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist dependency "bytestring-0.10.6.0-09b6bde4572288cdbf02e4115ed5cd91" doesn't exist dependency "containers-0.5.6.2-12e20ec15ed50c37491ff947fa0f9c1a" doesn't exist dependency "hashable-1.2.3.3-bc60d08cd07d83826168419244ef8bf3" doesn't exist dependency "text-1.2.1.3-4c78ad7426ae4be055d28adf31eabdf8" doesn't exist dependency "time-1.5.0.1-2654f2ea82eb50a9cb76337c0b480079" doesn't exist There are problems in package vector-algorithms-0.7.0.1: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist dependency "bytestring-0.10.6.0-09b6bde4572288cdbf02e4115ed5cd91" doesn't exist There are problems in package cassava-0.4.4.0: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist dependency "bytestring-0.10.6.0-09b6bde4572288cdbf02e4115ed5cd91" doesn't exist dependency "containers-0.5.6.2-12e20ec15ed50c37491ff947fa0f9c1a" doesn't exist dependency "hashable-1.2.3.3-bc60d08cd07d83826168419244ef8bf3" doesn't exist dependency "text-1.2.1.3-4c78ad7426ae4be055d28adf31eabdf8" doesn't exist There are problems in package attoparsec-0.13.0.1: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist dependency "bytestring-0.10.6.0-09b6bde4572288cdbf02e4115ed5cd91" doesn't exist dependency "containers-0.5.6.2-12e20ec15ed50c37491ff947fa0f9c1a" doesn't exist dependency "text-1.2.1.3-4c78ad7426ae4be055d28adf31eabdf8" doesn't exist There are problems in package monad-par-0.3.4.7: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist dependency "containers-0.5.6.2-12e20ec15ed50c37491ff947fa0f9c1a" doesn't exist There are problems in package mwc-random-0.13.3.2: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist dependency "time-1.5.0.1-2654f2ea82eb50a9cb76337c0b480079" doesn't exist There are problems in package math-functions-0.1.5.2: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist There are problems in package scientific-0.3.4.2: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist dependency "binary-0.7.5.0-77839394dfefc3f030d00790a2cef7fa" doesn't exist dependency "bytestring-0.10.6.0-09b6bde4572288cdbf02e4115ed5cd91" doesn't exist dependency "containers-0.5.6.2-12e20ec15ed50c37491ff947fa0f9c1a" doesn't exist dependency "hashable-1.2.3.3-bc60d08cd07d83826168419244ef8bf3" doesn't exist dependency "text-1.2.1.3-4c78ad7426ae4be055d28adf31eabdf8" doesn't exist There are problems in package vector-th-unbox-0.2.1.3: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist There are problems in package vector-binary-instances-0.2.1.0: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist dependency "binary-0.7.5.0-77839394dfefc3f030d00790a2cef7fa" doesn't exist There are problems in package vector-0.11.0.0: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist There are problems in package Glob-0.7.5: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist dependency "containers-0.5.6.2-12e20ec15ed50c37491ff947fa0f9c1a" doesn't exist dependency "directory-1.2.2.0-6be4b069bff3ad3d34e43f79a1d2adaf" doesn't exist There are problems in package monad-par-extras-0.3.3: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist dependency "random-1.1-e88d133272c86b979391f1c08bf5ca07" doesn't exist There are problems in package parsec-3.1.9: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist dependency "bytestring-0.10.6.0-09b6bde4572288cdbf02e4115ed5cd91" doesn't exist dependency "text-1.2.1.3-4c78ad7426ae4be055d28adf31eabdf8" doesn't exist There are problems in package abstract-deque-0.3: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist dependency "containers-0.5.6.2-12e20ec15ed50c37491ff947fa0f9c1a" doesn't exist dependency "random-1.1-e88d133272c86b979391f1c08bf5ca07" doesn't exist dependency "time-1.5.0.1-2654f2ea82eb50a9cb76337c0b480079" doesn't exist There are problems in package optparse-applicative-0.12.0.0: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist dependency "process-1.2.3.0-0103d9aa28c4fa0eada355d1840af7ae" doesn't exist There are problems in package hastache-0.6.1: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist dependency "bytestring-0.10.6.0-09b6bde4572288cdbf02e4115ed5cd91" doesn't exist dependency "containers-0.5.6.2-12e20ec15ed50c37491ff947fa0f9c1a" doesn't exist dependency "directory-1.2.2.0-6be4b069bff3ad3d34e43f79a1d2adaf" doesn't exist dependency "text-1.2.1.3-4c78ad7426ae4be055d28adf31eabdf8" doesn't exist There are problems in package cereal-0.5.0.0: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist dependency "bytestring-0.10.6.0-09b6bde4572288cdbf02e4115ed5cd91" doesn't exist dependency "containers-0.5.6.2-12e20ec15ed50c37491ff947fa0f9c1a" doesn't exist There are problems in package dlist-0.7.1.2: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist There are problems in package ansi-wl-pprint-0.6.7.3: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist There are problems in package blaze-builder-0.4.0.1: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist dependency "bytestring-0.10.6.0-09b6bde4572288cdbf02e4115ed5cd91" doesn't exist dependency "text-1.2.1.3-4c78ad7426ae4be055d28adf31eabdf8" doesn't exist There are problems in package parallel-3.2.0.6: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist dependency "containers-0.5.6.2-12e20ec15ed50c37491ff947fa0f9c1a" doesn't exist There are problems in package transformers-compat-0.4.0.4: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist There are problems in package ieee754-0.7.6: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist There are problems in package abstract-par-0.3.3: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist There are problems in package erf-2.0.0.0: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist There are problems in package hlint-1.9.22: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist dependency "containers-0.5.6.2-12e20ec15ed50c37491ff947fa0f9c1a" doesn't exist dependency "directory-1.2.2.0-6be4b069bff3ad3d34e43f79a1d2adaf" doesn't exist dependency "process-1.2.3.0-0103d9aa28c4fa0eada355d1840af7ae" doesn't exist There are problems in package haskell-src-exts-1.16.0.1: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist There are problems in package uniplate-1.6.12: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist dependency "containers-0.5.6.2-12e20ec15ed50c37491ff947fa0f9c1a" doesn't exist dependency "hashable-1.2.3.3-bc60d08cd07d83826168419244ef8bf3" doesn't exist There are problems in package cpphs-1.19.3: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist dependency "directory-1.2.2.0-6be4b069bff3ad3d34e43f79a1d2adaf" doesn't exist There are problems in package polyparse-1.11: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist dependency "bytestring-0.10.6.0-09b6bde4572288cdbf02e4115ed5cd91" doesn't exist dependency "text-1.2.1.3-4c78ad7426ae4be055d28adf31eabdf8" doesn't exist There are problems in package unordered-containers-0.2.5.1: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist dependency "hashable-1.2.3.3-bc60d08cd07d83826168419244ef8bf3" doesn't exist There are problems in package cmdargs-0.10.13: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist dependency "process-1.2.3.0-0103d9aa28c4fa0eada355d1840af7ae" doesn't exist There are problems in package old-time-1.1.0.3: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist There are problems in package hscolour-1.23: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist dependency "containers-0.5.6.2-12e20ec15ed50c37491ff947fa0f9c1a" doesn't exist There are problems in package syb-0.6: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist There are problems in package refact-0.3.0.1: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist There are problems in package extra-1.4.2: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist dependency "directory-1.2.2.0-6be4b069bff3ad3d34e43f79a1d2adaf" doesn't exist dependency "process-1.2.3.0-0103d9aa28c4fa0eada355d1840af7ae" doesn't exist dependency "time-1.5.0.1-2654f2ea82eb50a9cb76337c0b480079" doesn't exist dependency "unix-2.7.1.0-327d00fd34e5d5a1c53223d920b10810" doesn't exist There are problems in package ansi-terminal-0.6.2.3: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist dependency "unix-2.7.1.0-327d00fd34e5d5a1c53223d920b10810" doesn't exist
The following packages are broken, either because they have a problem listed above, or because they depend on a broken package. hashtables-1.2.0.2 hashable-1.2.3.3 ghc-events-0.4.4.0 data-ordlist-0.4.7.0 criterion-1.1.0.0 statistics-0.13.2.3 aeson-0.10.0.0 vector-algorithms-0.7.0.1 cassava-0.4.4.0 attoparsec-0.13.0.1 monad-par-0.3.4.7 mwc-random-0.13.3.2 math-functions-0.1.5.2 scientific-0.3.4.2 vector-th-unbox-0.2.1.3 vector-binary-instances-0.2.1.0 vector-0.11.0.0 Glob-0.7.5 monad-par-extras-0.3.3 parsec-3.1.9 abstract-deque-0.3 optparse-applicative-0.12.0.0 hastache-0.6.1 cereal-0.5.0.0 dlist-0.7.1.2 ansi-wl-pprint-0.6.7.3 blaze-builder-0.4.0.1 parallel-3.2.0.6 transformers-compat-0.4.0.4 ieee754-0.7.6 abstract-par-0.3.3 erf-2.0.0.0 hlint-1.9.22 haskell-src-exts-1.16.0.1 uniplate-1.6.12 cpphs-1.19.3 polyparse-1.11 unordered-containers-0.2.5.1 cmdargs-0.10.13 old-time-1.1.0.3 hscolour-1.23 syb-0.6 refact-0.3.0.1 extra-1.4.2 ansi-terminal-0.6.2.3
On Sun, Nov 15, 2015 at 6:14 PM, Carter Schonwald < carter.schonwald@gmail.com> wrote:
Did you install OpenSSL ??
I'll upload my better ghc build in 5 minutes. Did it end of the week and then got a bit busy
On Sunday, November 15, 2015, George Colpitts < george.colpitts@gmail.com> wrote:
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
^ 1 error generated. compiling dist/build/OpenSSL/BN_hsc_make.c failed (exit code 1) 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/ cabal: Error: some packages failed to install: HsOpenSSL-0.11.1.1 failed during the building phase. The exception was: ExitFailure 1 /usr/bin/gcc --version /usr/bin/gcc --version 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 Apple LLVM version 7.0.0 (clang-700.1.76) Target: x86_64-apple-darwin15.0.0 Thread model: posix
On Mon, Nov 9, 2015 at 10:49 AM, George Colpitts < george.colpitts@gmail.com> wrote:
redid with just make rather than make -j5. I get
... chmod +x libraries/integer-gmp2/gmp/ln # Their cmd invocation only works on msys. On cygwin it starts # a cmd interactive shell. The replacement works in both environments. mv libraries/integer-gmp2/gmp/gmpbuild/ltmain.sh libraries/integer-gmp2/gmp/gmpbuild/ltmain.sh.orig 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 cd libraries/integer-gmp2/gmp; (set -o igncr 2>/dev/null) && set -o igncr; export SHELLOPTS; \ PATH=`pwd`:$PATH; \ export PATH; \ cd gmpbuild && \ CC=clang NM=/usr/bin/nm AR=/usr/bin/ar ./configure \ --enable-shared=no \ --host=x86_64-apple-darwin --build=x86_64-apple-darwin /bin/sh: SHELLOPTS: readonly variable checking build system type... /bin/sh: SHELLOPTS: readonly variable /bin/sh: SHELLOPTS: readonly variable x86_64-apple-darwin checking host system type... /bin/sh: SHELLOPTS: readonly variable /bin/sh: SHELLOPTS: readonly variable x86_64-apple-darwin checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes /bin/sh: SHELLOPTS: readonly variable checking for a thread-safe mkdir -p... ./install-sh -c -d checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking ABI=64 checking whether clang is gcc... yes checking compiler clang -O2 -pedantic -fPIC -m64 ... no, gnupro alpha ev6 char spilling checking ABI=32 checking whether clang is gcc... yes *checking compiler clang -m32 -O2 -pedantic -fPIC -fomit-frame-pointer ... no, gnupro alpha ev6 char spilling* *checking compiler clang -O2 -pedantic -fPIC -fomit-frame-pointer ... no, gnupro alpha ev6 char spilling* *configure: error: could not find a working compiler, see config.log for details* *make[1]: *** [libraries/integer-gmp2/gmp/gmp.h] Error 1* *make: *** [all] Error 2*
On Mon, Nov 9, 2015 at 9:32 AM, Ben Gamari
wrote: > George Colpitts
writes: > > > I get > > > > make[1]: *** [libraries/integer-gmp2/gmp/gmp.h] Error 1 > > make[1]: *** Waiting for unfinished jobs.... > > It looks like the build failed somewhere before this point. Could you > provide a more complete log? > > Cheers, > > - Ben > > >

inline On Sun, Nov 15, 2015 at 9:50 PM, Carter Schonwald < carter.schonwald@gmail.com> wrote:
did you do configure before make install or not?
yes
On Sun, Nov 15, 2015 at 8:50 PM, Carter Schonwald < carter.schonwald@gmail.com> wrote:
what does your ghc --info say?
On Sun, Nov 15, 2015 at 7:54 PM, George Colpitts < george.colpitts@gmail.com> wrote:
I cleaned up my ghc pkg problems by doing
rm -fr ~/.ghc/*
most packages now compile but hsopenssl still fails in the same way:
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
^ 1 error generated. compiling dist/build/OpenSSL/BN_hsc_make.c failed (exit code 1) 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/ On Sun, Nov 15, 2015 at 7:09 PM, George Colpitts < george.colpitts@gmail.com> wrote:
Yes I have openssl installed
$ brew upgrade openssl brew upgrade openssl Error: openssl 1.0.2d_1 already installed
Thanks for uploading the new binary install, it definitely solved the problem I originally reported
However it doesn't solve the HsOpenSSL problem:
cabal install HsOpenSSL cabal install HsOpenSSL Resolving dependencies... Configuring HsOpenSSL-0.11.1.1... Building HsOpenSSL-0.11.1.1... Failed to install HsOpenSSL-0.11.1.1 Build log ( /Users/gcolpitts/.cabal/logs/HsOpenSSL-0.11.1.1.log ): Configuring HsOpenSSL-0.11.1.1... 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
^ 1 error generated. compiling dist/build/OpenSSL/BN_hsc_make.c failed (exit code 1) 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/ cabal: Error: some packages failed to install: HsOpenSSL-0.11.1.1 failed during the building phase. The exception was: ExitFailure 1 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?
I think building and installing from source, then installing libraries, then installing binaries and building more libraries has left me in an unstable state.
Thanks George
ghc-pkg check There are problems in package hashtables-1.2.0.2: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist There are problems in package hashable-1.2.3.3: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist dependency "bytestring-0.10.6.0-57aca8b044c60296d333ba9ef7a6b270" doesn't exist There are problems in package ghc-events-0.4.4.0: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist dependency "bytestring-0.10.6.0-57aca8b044c60296d333ba9ef7a6b270" doesn't exist There are problems in package data-ordlist-0.4.7.0: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist There are problems in package criterion-1.1.0.0: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist dependency "binary-0.7.5.0-77839394dfefc3f030d00790a2cef7fa" doesn't exist dependency "bytestring-0.10.6.0-09b6bde4572288cdbf02e4115ed5cd91" doesn't exist dependency "containers-0.5.6.2-12e20ec15ed50c37491ff947fa0f9c1a" doesn't exist dependency "directory-1.2.2.0-6be4b069bff3ad3d34e43f79a1d2adaf" doesn't exist dependency "text-1.2.1.3-4c78ad7426ae4be055d28adf31eabdf8" doesn't exist dependency "time-1.5.0.1-2654f2ea82eb50a9cb76337c0b480079" doesn't exist There are problems in package statistics-0.13.2.3: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist dependency "binary-0.7.5.0-77839394dfefc3f030d00790a2cef7fa" doesn't exist There are problems in package aeson-0.10.0.0: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist dependency "bytestring-0.10.6.0-09b6bde4572288cdbf02e4115ed5cd91" doesn't exist dependency "containers-0.5.6.2-12e20ec15ed50c37491ff947fa0f9c1a" doesn't exist dependency "hashable-1.2.3.3-bc60d08cd07d83826168419244ef8bf3" doesn't exist dependency "text-1.2.1.3-4c78ad7426ae4be055d28adf31eabdf8" doesn't exist dependency "time-1.5.0.1-2654f2ea82eb50a9cb76337c0b480079" doesn't exist There are problems in package vector-algorithms-0.7.0.1: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist dependency "bytestring-0.10.6.0-09b6bde4572288cdbf02e4115ed5cd91" doesn't exist There are problems in package cassava-0.4.4.0: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist dependency "bytestring-0.10.6.0-09b6bde4572288cdbf02e4115ed5cd91" doesn't exist dependency "containers-0.5.6.2-12e20ec15ed50c37491ff947fa0f9c1a" doesn't exist dependency "hashable-1.2.3.3-bc60d08cd07d83826168419244ef8bf3" doesn't exist dependency "text-1.2.1.3-4c78ad7426ae4be055d28adf31eabdf8" doesn't exist There are problems in package attoparsec-0.13.0.1: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist dependency "bytestring-0.10.6.0-09b6bde4572288cdbf02e4115ed5cd91" doesn't exist dependency "containers-0.5.6.2-12e20ec15ed50c37491ff947fa0f9c1a" doesn't exist dependency "text-1.2.1.3-4c78ad7426ae4be055d28adf31eabdf8" doesn't exist There are problems in package monad-par-0.3.4.7: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist dependency "containers-0.5.6.2-12e20ec15ed50c37491ff947fa0f9c1a" doesn't exist There are problems in package mwc-random-0.13.3.2: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist dependency "time-1.5.0.1-2654f2ea82eb50a9cb76337c0b480079" doesn't exist There are problems in package math-functions-0.1.5.2: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist There are problems in package scientific-0.3.4.2: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist dependency "binary-0.7.5.0-77839394dfefc3f030d00790a2cef7fa" doesn't exist dependency "bytestring-0.10.6.0-09b6bde4572288cdbf02e4115ed5cd91" doesn't exist dependency "containers-0.5.6.2-12e20ec15ed50c37491ff947fa0f9c1a" doesn't exist dependency "hashable-1.2.3.3-bc60d08cd07d83826168419244ef8bf3" doesn't exist dependency "text-1.2.1.3-4c78ad7426ae4be055d28adf31eabdf8" doesn't exist There are problems in package vector-th-unbox-0.2.1.3: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist There are problems in package vector-binary-instances-0.2.1.0: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist dependency "binary-0.7.5.0-77839394dfefc3f030d00790a2cef7fa" doesn't exist There are problems in package vector-0.11.0.0: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist There are problems in package Glob-0.7.5: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist dependency "containers-0.5.6.2-12e20ec15ed50c37491ff947fa0f9c1a" doesn't exist dependency "directory-1.2.2.0-6be4b069bff3ad3d34e43f79a1d2adaf" doesn't exist There are problems in package monad-par-extras-0.3.3: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist dependency "random-1.1-e88d133272c86b979391f1c08bf5ca07" doesn't exist There are problems in package parsec-3.1.9: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist dependency "bytestring-0.10.6.0-09b6bde4572288cdbf02e4115ed5cd91" doesn't exist dependency "text-1.2.1.3-4c78ad7426ae4be055d28adf31eabdf8" doesn't exist There are problems in package abstract-deque-0.3: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist dependency "containers-0.5.6.2-12e20ec15ed50c37491ff947fa0f9c1a" doesn't exist dependency "random-1.1-e88d133272c86b979391f1c08bf5ca07" doesn't exist dependency "time-1.5.0.1-2654f2ea82eb50a9cb76337c0b480079" doesn't exist There are problems in package optparse-applicative-0.12.0.0: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist dependency "process-1.2.3.0-0103d9aa28c4fa0eada355d1840af7ae" doesn't exist There are problems in package hastache-0.6.1: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist dependency "bytestring-0.10.6.0-09b6bde4572288cdbf02e4115ed5cd91" doesn't exist dependency "containers-0.5.6.2-12e20ec15ed50c37491ff947fa0f9c1a" doesn't exist dependency "directory-1.2.2.0-6be4b069bff3ad3d34e43f79a1d2adaf" doesn't exist dependency "text-1.2.1.3-4c78ad7426ae4be055d28adf31eabdf8" doesn't exist There are problems in package cereal-0.5.0.0: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist dependency "bytestring-0.10.6.0-09b6bde4572288cdbf02e4115ed5cd91" doesn't exist dependency "containers-0.5.6.2-12e20ec15ed50c37491ff947fa0f9c1a" doesn't exist There are problems in package dlist-0.7.1.2: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist There are problems in package ansi-wl-pprint-0.6.7.3: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist There are problems in package blaze-builder-0.4.0.1: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist dependency "bytestring-0.10.6.0-09b6bde4572288cdbf02e4115ed5cd91" doesn't exist dependency "text-1.2.1.3-4c78ad7426ae4be055d28adf31eabdf8" doesn't exist There are problems in package parallel-3.2.0.6: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist dependency "containers-0.5.6.2-12e20ec15ed50c37491ff947fa0f9c1a" doesn't exist There are problems in package transformers-compat-0.4.0.4: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist There are problems in package ieee754-0.7.6: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist There are problems in package abstract-par-0.3.3: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist There are problems in package erf-2.0.0.0: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist There are problems in package hlint-1.9.22: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist dependency "containers-0.5.6.2-12e20ec15ed50c37491ff947fa0f9c1a" doesn't exist dependency "directory-1.2.2.0-6be4b069bff3ad3d34e43f79a1d2adaf" doesn't exist dependency "process-1.2.3.0-0103d9aa28c4fa0eada355d1840af7ae" doesn't exist There are problems in package haskell-src-exts-1.16.0.1: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist There are problems in package uniplate-1.6.12: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist dependency "containers-0.5.6.2-12e20ec15ed50c37491ff947fa0f9c1a" doesn't exist dependency "hashable-1.2.3.3-bc60d08cd07d83826168419244ef8bf3" doesn't exist There are problems in package cpphs-1.19.3: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist dependency "directory-1.2.2.0-6be4b069bff3ad3d34e43f79a1d2adaf" doesn't exist There are problems in package polyparse-1.11: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist dependency "bytestring-0.10.6.0-09b6bde4572288cdbf02e4115ed5cd91" doesn't exist dependency "text-1.2.1.3-4c78ad7426ae4be055d28adf31eabdf8" doesn't exist There are problems in package unordered-containers-0.2.5.1: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist dependency "hashable-1.2.3.3-bc60d08cd07d83826168419244ef8bf3" doesn't exist There are problems in package cmdargs-0.10.13: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist dependency "process-1.2.3.0-0103d9aa28c4fa0eada355d1840af7ae" doesn't exist There are problems in package old-time-1.1.0.3: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist There are problems in package hscolour-1.23: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist dependency "containers-0.5.6.2-12e20ec15ed50c37491ff947fa0f9c1a" doesn't exist There are problems in package syb-0.6: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist There are problems in package refact-0.3.0.1: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist There are problems in package extra-1.4.2: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist dependency "directory-1.2.2.0-6be4b069bff3ad3d34e43f79a1d2adaf" doesn't exist dependency "process-1.2.3.0-0103d9aa28c4fa0eada355d1840af7ae" doesn't exist dependency "time-1.5.0.1-2654f2ea82eb50a9cb76337c0b480079" doesn't exist dependency "unix-2.7.1.0-327d00fd34e5d5a1c53223d920b10810" doesn't exist There are problems in package ansi-terminal-0.6.2.3: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist dependency "unix-2.7.1.0-327d00fd34e5d5a1c53223d920b10810" doesn't exist
The following packages are broken, either because they have a problem listed above, or because they depend on a broken package. hashtables-1.2.0.2 hashable-1.2.3.3 ghc-events-0.4.4.0 data-ordlist-0.4.7.0 criterion-1.1.0.0 statistics-0.13.2.3 aeson-0.10.0.0 vector-algorithms-0.7.0.1 cassava-0.4.4.0 attoparsec-0.13.0.1 monad-par-0.3.4.7 mwc-random-0.13.3.2 math-functions-0.1.5.2 scientific-0.3.4.2 vector-th-unbox-0.2.1.3 vector-binary-instances-0.2.1.0 vector-0.11.0.0 Glob-0.7.5 monad-par-extras-0.3.3 parsec-3.1.9 abstract-deque-0.3 optparse-applicative-0.12.0.0 hastache-0.6.1 cereal-0.5.0.0 dlist-0.7.1.2 ansi-wl-pprint-0.6.7.3 blaze-builder-0.4.0.1 parallel-3.2.0.6 transformers-compat-0.4.0.4 ieee754-0.7.6 abstract-par-0.3.3 erf-2.0.0.0 hlint-1.9.22 haskell-src-exts-1.16.0.1 uniplate-1.6.12 cpphs-1.19.3 polyparse-1.11 unordered-containers-0.2.5.1 cmdargs-0.10.13 old-time-1.1.0.3 hscolour-1.23 syb-0.6 refact-0.3.0.1 extra-1.4.2 ansi-terminal-0.6.2.3
On Sun, Nov 15, 2015 at 6:14 PM, Carter Schonwald < carter.schonwald@gmail.com> wrote:
Did you install OpenSSL ??
I'll upload my better ghc build in 5 minutes. Did it end of the week and then got a bit busy
On Sunday, November 15, 2015, George Colpitts < george.colpitts@gmail.com> wrote:
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
^ 1 error generated. compiling dist/build/OpenSSL/BN_hsc_make.c failed (exit code 1) 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/ cabal: Error: some packages failed to install: HsOpenSSL-0.11.1.1 failed during the building phase. The exception was: ExitFailure 1 /usr/bin/gcc --version /usr/bin/gcc --version 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 Apple LLVM version 7.0.0 (clang-700.1.76) Target: x86_64-apple-darwin15.0.0 Thread model: posix
On Mon, Nov 9, 2015 at 10:49 AM, George Colpitts < george.colpitts@gmail.com> wrote:
> redid with just make rather than make -j5. I get > > > ... > chmod +x libraries/integer-gmp2/gmp/ln > # Their cmd invocation only works on msys. On cygwin it starts > # a cmd interactive shell. The replacement works in both > environments. > mv libraries/integer-gmp2/gmp/gmpbuild/ltmain.sh > libraries/integer-gmp2/gmp/gmpbuild/ltmain.sh.orig > 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 > cd libraries/integer-gmp2/gmp; (set -o igncr 2>/dev/null) && set -o > igncr; export SHELLOPTS; \ > PATH=`pwd`:$PATH; \ > export PATH; \ > cd gmpbuild && \ > CC=clang NM=/usr/bin/nm AR=/usr/bin/ar ./configure \ > --enable-shared=no \ > --host=x86_64-apple-darwin --build=x86_64-apple-darwin > /bin/sh: SHELLOPTS: readonly variable > checking build system type... /bin/sh: SHELLOPTS: readonly variable > /bin/sh: SHELLOPTS: readonly variable > x86_64-apple-darwin > checking host system type... /bin/sh: SHELLOPTS: readonly variable > /bin/sh: SHELLOPTS: readonly variable > x86_64-apple-darwin > checking for a BSD-compatible install... /usr/bin/install -c > checking whether build environment is sane... yes > /bin/sh: SHELLOPTS: readonly variable > checking for a thread-safe mkdir -p... ./install-sh -c -d > checking for gawk... no > checking for mawk... no > checking for nawk... no > checking for awk... awk > checking whether make sets $(MAKE)... yes > checking whether to enable maintainer-specific portions of > Makefiles... no > checking ABI=64 > checking whether clang is gcc... yes > checking compiler clang -O2 -pedantic -fPIC -m64 ... no, gnupro > alpha ev6 char spilling > checking ABI=32 > checking whether clang is gcc... yes > *checking compiler clang -m32 -O2 -pedantic -fPIC > -fomit-frame-pointer ... no, gnupro alpha ev6 char spilling* > *checking compiler clang -O2 -pedantic -fPIC -fomit-frame-pointer > ... no, gnupro alpha ev6 char spilling* > *configure: error: could not find a working compiler, see config.log > for details* > *make[1]: *** [libraries/integer-gmp2/gmp/gmp.h] Error 1* > *make: *** [all] Error 2* > > > On Mon, Nov 9, 2015 at 9:32 AM, Ben Gamari
> wrote: > >> George Colpitts writes: >> >> > I get >> > >> > make[1]: *** [libraries/integer-gmp2/gmp/gmp.h] Error 1 >> > make[1]: *** Waiting for unfinished jobs.... >> >> It looks like the build failed somewhere before this point. Could >> you >> provide a more complete log? >> >> Cheers, >> >> - Ben >> >> >> >

ghc --info ghc --info [("Project name","The Glorious Glasgow Haskell Compilation System") ,("GCC extra via C opts"," -fwrapv") ,("C compiler command","/usr/bin/gcc") ,("C compiler flags"," -m64 -fno-stack-protector") ,("C compiler link flags"," -m64") ,("Haskell CPP command","/usr/bin/gcc") ,("Haskell CPP flags","-E -undef -traditional -Wno-invalid-pp-token -Wno-unicode -Wno-trigraphs ") ,("ld command","/usr/bin/ld") ,("ld flags"," -arch x86_64") ,("ld supports compact unwind","YES") ,("ld supports build-id","NO") ,("ld supports filelist","YES") ,("ld is GNU ld","NO") ,("ar command","/usr/bin/ar") ,("ar flags","clqs") ,("ar supports at file","NO") ,("touch command","touch") ,("dllwrap command","/bin/false") ,("windres command","/bin/false") ,("libtool command","libtool") ,("readelf command","") ,("perl command","/usr/bin/perl") ,("cross compiling","NO") ,("target os","OSDarwin") ,("target arch","ArchX86_64") ,("target word size","8") ,("target has GNU nonexec stack","False") ,("target has .ident directive","True") ,("target has subsections via symbols","True") ,("Unregisterised","NO") ,("LLVM llc command","/usr/local/bin/llc-3.5") ,("LLVM opt command","/usr/local/bin/opt-3.5") ,("Project version","7.10.2.20151105") ,("Project Git commit id","7f8fc1c9db5bef2dea05e001488d5bc7c8b38575") ,("Booter version","7.10.2") ,("Stage","2") ,("Build platform","x86_64-apple-darwin") ,("Host platform","x86_64-apple-darwin") ,("Target platform","x86_64-apple-darwin") ,("Have interpreter","YES") ,("Object splitting supported","YES") ,("Have native code generator","YES") ,("Support SMP","YES") ,("Tables next to code","YES") ,("RTS ways","l debug thr thr_debug thr_l thr_p dyn debug_dyn thr_dyn thr_debug_dyn l_dyn thr_l_dyn") ,("Support dynamic-too","YES") ,("Support parallel --make","YES") ,("Support reexported-modules","YES") ,("Support thinning and renaming package flags","YES") ,("Uses package keys","YES") ,("Dynamic by default","NO") ,("GHC Dynamic","YES") ,("Leading underscore","YES") ,("Debug on","False") ,("LibDir","/usr/local/lib/ghc-7.10.2.20151105") ,("Global Package DB","/usr/local/lib/ghc-7.10.2.20151105/package.conf.d") ] On Sun, Nov 15, 2015 at 9:50 PM, Carter Schonwald < carter.schonwald@gmail.com> wrote:
what does your ghc --info say?
On Sun, Nov 15, 2015 at 7:54 PM, George Colpitts < george.colpitts@gmail.com> wrote:
I cleaned up my ghc pkg problems by doing
rm -fr ~/.ghc/*
most packages now compile but hsopenssl still fails in the same way:
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
^ 1 error generated. compiling dist/build/OpenSSL/BN_hsc_make.c failed (exit code 1) 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/ On Sun, Nov 15, 2015 at 7:09 PM, George Colpitts < george.colpitts@gmail.com> wrote:
Yes I have openssl installed
$ brew upgrade openssl brew upgrade openssl Error: openssl 1.0.2d_1 already installed
Thanks for uploading the new binary install, it definitely solved the problem I originally reported
However it doesn't solve the HsOpenSSL problem:
cabal install HsOpenSSL cabal install HsOpenSSL Resolving dependencies... Configuring HsOpenSSL-0.11.1.1... Building HsOpenSSL-0.11.1.1... Failed to install HsOpenSSL-0.11.1.1 Build log ( /Users/gcolpitts/.cabal/logs/HsOpenSSL-0.11.1.1.log ): Configuring HsOpenSSL-0.11.1.1... 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
^ 1 error generated. compiling dist/build/OpenSSL/BN_hsc_make.c failed (exit code 1) 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/ cabal: Error: some packages failed to install: HsOpenSSL-0.11.1.1 failed during the building phase. The exception was: ExitFailure 1 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?
I think building and installing from source, then installing libraries, then installing binaries and building more libraries has left me in an unstable state.
Thanks George
ghc-pkg check There are problems in package hashtables-1.2.0.2: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist There are problems in package hashable-1.2.3.3: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist dependency "bytestring-0.10.6.0-57aca8b044c60296d333ba9ef7a6b270" doesn't exist There are problems in package ghc-events-0.4.4.0: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist dependency "bytestring-0.10.6.0-57aca8b044c60296d333ba9ef7a6b270" doesn't exist There are problems in package data-ordlist-0.4.7.0: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist There are problems in package criterion-1.1.0.0: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist dependency "binary-0.7.5.0-77839394dfefc3f030d00790a2cef7fa" doesn't exist dependency "bytestring-0.10.6.0-09b6bde4572288cdbf02e4115ed5cd91" doesn't exist dependency "containers-0.5.6.2-12e20ec15ed50c37491ff947fa0f9c1a" doesn't exist dependency "directory-1.2.2.0-6be4b069bff3ad3d34e43f79a1d2adaf" doesn't exist dependency "text-1.2.1.3-4c78ad7426ae4be055d28adf31eabdf8" doesn't exist dependency "time-1.5.0.1-2654f2ea82eb50a9cb76337c0b480079" doesn't exist There are problems in package statistics-0.13.2.3: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist dependency "binary-0.7.5.0-77839394dfefc3f030d00790a2cef7fa" doesn't exist There are problems in package aeson-0.10.0.0: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist dependency "bytestring-0.10.6.0-09b6bde4572288cdbf02e4115ed5cd91" doesn't exist dependency "containers-0.5.6.2-12e20ec15ed50c37491ff947fa0f9c1a" doesn't exist dependency "hashable-1.2.3.3-bc60d08cd07d83826168419244ef8bf3" doesn't exist dependency "text-1.2.1.3-4c78ad7426ae4be055d28adf31eabdf8" doesn't exist dependency "time-1.5.0.1-2654f2ea82eb50a9cb76337c0b480079" doesn't exist There are problems in package vector-algorithms-0.7.0.1: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist dependency "bytestring-0.10.6.0-09b6bde4572288cdbf02e4115ed5cd91" doesn't exist There are problems in package cassava-0.4.4.0: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist dependency "bytestring-0.10.6.0-09b6bde4572288cdbf02e4115ed5cd91" doesn't exist dependency "containers-0.5.6.2-12e20ec15ed50c37491ff947fa0f9c1a" doesn't exist dependency "hashable-1.2.3.3-bc60d08cd07d83826168419244ef8bf3" doesn't exist dependency "text-1.2.1.3-4c78ad7426ae4be055d28adf31eabdf8" doesn't exist There are problems in package attoparsec-0.13.0.1: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist dependency "bytestring-0.10.6.0-09b6bde4572288cdbf02e4115ed5cd91" doesn't exist dependency "containers-0.5.6.2-12e20ec15ed50c37491ff947fa0f9c1a" doesn't exist dependency "text-1.2.1.3-4c78ad7426ae4be055d28adf31eabdf8" doesn't exist There are problems in package monad-par-0.3.4.7: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist dependency "containers-0.5.6.2-12e20ec15ed50c37491ff947fa0f9c1a" doesn't exist There are problems in package mwc-random-0.13.3.2: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist dependency "time-1.5.0.1-2654f2ea82eb50a9cb76337c0b480079" doesn't exist There are problems in package math-functions-0.1.5.2: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist There are problems in package scientific-0.3.4.2: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist dependency "binary-0.7.5.0-77839394dfefc3f030d00790a2cef7fa" doesn't exist dependency "bytestring-0.10.6.0-09b6bde4572288cdbf02e4115ed5cd91" doesn't exist dependency "containers-0.5.6.2-12e20ec15ed50c37491ff947fa0f9c1a" doesn't exist dependency "hashable-1.2.3.3-bc60d08cd07d83826168419244ef8bf3" doesn't exist dependency "text-1.2.1.3-4c78ad7426ae4be055d28adf31eabdf8" doesn't exist There are problems in package vector-th-unbox-0.2.1.3: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist There are problems in package vector-binary-instances-0.2.1.0: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist dependency "binary-0.7.5.0-77839394dfefc3f030d00790a2cef7fa" doesn't exist There are problems in package vector-0.11.0.0: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist There are problems in package Glob-0.7.5: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist dependency "containers-0.5.6.2-12e20ec15ed50c37491ff947fa0f9c1a" doesn't exist dependency "directory-1.2.2.0-6be4b069bff3ad3d34e43f79a1d2adaf" doesn't exist There are problems in package monad-par-extras-0.3.3: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist dependency "random-1.1-e88d133272c86b979391f1c08bf5ca07" doesn't exist There are problems in package parsec-3.1.9: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist dependency "bytestring-0.10.6.0-09b6bde4572288cdbf02e4115ed5cd91" doesn't exist dependency "text-1.2.1.3-4c78ad7426ae4be055d28adf31eabdf8" doesn't exist There are problems in package abstract-deque-0.3: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist dependency "containers-0.5.6.2-12e20ec15ed50c37491ff947fa0f9c1a" doesn't exist dependency "random-1.1-e88d133272c86b979391f1c08bf5ca07" doesn't exist dependency "time-1.5.0.1-2654f2ea82eb50a9cb76337c0b480079" doesn't exist There are problems in package optparse-applicative-0.12.0.0: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist dependency "process-1.2.3.0-0103d9aa28c4fa0eada355d1840af7ae" doesn't exist There are problems in package hastache-0.6.1: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist dependency "bytestring-0.10.6.0-09b6bde4572288cdbf02e4115ed5cd91" doesn't exist dependency "containers-0.5.6.2-12e20ec15ed50c37491ff947fa0f9c1a" doesn't exist dependency "directory-1.2.2.0-6be4b069bff3ad3d34e43f79a1d2adaf" doesn't exist dependency "text-1.2.1.3-4c78ad7426ae4be055d28adf31eabdf8" doesn't exist There are problems in package cereal-0.5.0.0: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist dependency "bytestring-0.10.6.0-09b6bde4572288cdbf02e4115ed5cd91" doesn't exist dependency "containers-0.5.6.2-12e20ec15ed50c37491ff947fa0f9c1a" doesn't exist There are problems in package dlist-0.7.1.2: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist There are problems in package ansi-wl-pprint-0.6.7.3: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist There are problems in package blaze-builder-0.4.0.1: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist dependency "bytestring-0.10.6.0-09b6bde4572288cdbf02e4115ed5cd91" doesn't exist dependency "text-1.2.1.3-4c78ad7426ae4be055d28adf31eabdf8" doesn't exist There are problems in package parallel-3.2.0.6: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist dependency "containers-0.5.6.2-12e20ec15ed50c37491ff947fa0f9c1a" doesn't exist There are problems in package transformers-compat-0.4.0.4: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist There are problems in package ieee754-0.7.6: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist There are problems in package abstract-par-0.3.3: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist There are problems in package erf-2.0.0.0: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist There are problems in package hlint-1.9.22: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist dependency "containers-0.5.6.2-12e20ec15ed50c37491ff947fa0f9c1a" doesn't exist dependency "directory-1.2.2.0-6be4b069bff3ad3d34e43f79a1d2adaf" doesn't exist dependency "process-1.2.3.0-0103d9aa28c4fa0eada355d1840af7ae" doesn't exist There are problems in package haskell-src-exts-1.16.0.1: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist There are problems in package uniplate-1.6.12: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist dependency "containers-0.5.6.2-12e20ec15ed50c37491ff947fa0f9c1a" doesn't exist dependency "hashable-1.2.3.3-bc60d08cd07d83826168419244ef8bf3" doesn't exist There are problems in package cpphs-1.19.3: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist dependency "directory-1.2.2.0-6be4b069bff3ad3d34e43f79a1d2adaf" doesn't exist There are problems in package polyparse-1.11: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist dependency "bytestring-0.10.6.0-09b6bde4572288cdbf02e4115ed5cd91" doesn't exist dependency "text-1.2.1.3-4c78ad7426ae4be055d28adf31eabdf8" doesn't exist There are problems in package unordered-containers-0.2.5.1: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist dependency "hashable-1.2.3.3-bc60d08cd07d83826168419244ef8bf3" doesn't exist There are problems in package cmdargs-0.10.13: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist dependency "process-1.2.3.0-0103d9aa28c4fa0eada355d1840af7ae" doesn't exist There are problems in package old-time-1.1.0.3: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist There are problems in package hscolour-1.23: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist dependency "containers-0.5.6.2-12e20ec15ed50c37491ff947fa0f9c1a" doesn't exist There are problems in package syb-0.6: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist There are problems in package refact-0.3.0.1: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist There are problems in package extra-1.4.2: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist dependency "directory-1.2.2.0-6be4b069bff3ad3d34e43f79a1d2adaf" doesn't exist dependency "process-1.2.3.0-0103d9aa28c4fa0eada355d1840af7ae" doesn't exist dependency "time-1.5.0.1-2654f2ea82eb50a9cb76337c0b480079" doesn't exist dependency "unix-2.7.1.0-327d00fd34e5d5a1c53223d920b10810" doesn't exist There are problems in package ansi-terminal-0.6.2.3: dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't exist dependency "unix-2.7.1.0-327d00fd34e5d5a1c53223d920b10810" doesn't exist
The following packages are broken, either because they have a problem listed above, or because they depend on a broken package. hashtables-1.2.0.2 hashable-1.2.3.3 ghc-events-0.4.4.0 data-ordlist-0.4.7.0 criterion-1.1.0.0 statistics-0.13.2.3 aeson-0.10.0.0 vector-algorithms-0.7.0.1 cassava-0.4.4.0 attoparsec-0.13.0.1 monad-par-0.3.4.7 mwc-random-0.13.3.2 math-functions-0.1.5.2 scientific-0.3.4.2 vector-th-unbox-0.2.1.3 vector-binary-instances-0.2.1.0 vector-0.11.0.0 Glob-0.7.5 monad-par-extras-0.3.3 parsec-3.1.9 abstract-deque-0.3 optparse-applicative-0.12.0.0 hastache-0.6.1 cereal-0.5.0.0 dlist-0.7.1.2 ansi-wl-pprint-0.6.7.3 blaze-builder-0.4.0.1 parallel-3.2.0.6 transformers-compat-0.4.0.4 ieee754-0.7.6 abstract-par-0.3.3 erf-2.0.0.0 hlint-1.9.22 haskell-src-exts-1.16.0.1 uniplate-1.6.12 cpphs-1.19.3 polyparse-1.11 unordered-containers-0.2.5.1 cmdargs-0.10.13 old-time-1.1.0.3 hscolour-1.23 syb-0.6 refact-0.3.0.1 extra-1.4.2 ansi-terminal-0.6.2.3
On Sun, Nov 15, 2015 at 6:14 PM, Carter Schonwald < carter.schonwald@gmail.com> wrote:
Did you install OpenSSL ??
I'll upload my better ghc build in 5 minutes. Did it end of the week and then got a bit busy
On Sunday, November 15, 2015, George Colpitts < george.colpitts@gmail.com> wrote:
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
^ 1 error generated. compiling dist/build/OpenSSL/BN_hsc_make.c failed (exit code 1) 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/ cabal: Error: some packages failed to install: HsOpenSSL-0.11.1.1 failed during the building phase. The exception was: ExitFailure 1 /usr/bin/gcc --version /usr/bin/gcc --version 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 Apple LLVM version 7.0.0 (clang-700.1.76) Target: x86_64-apple-darwin15.0.0 Thread model: posix
On Mon, Nov 9, 2015 at 10:49 AM, George Colpitts < george.colpitts@gmail.com> wrote:
redid with just make rather than make -j5. I get
... chmod +x libraries/integer-gmp2/gmp/ln # Their cmd invocation only works on msys. On cygwin it starts # a cmd interactive shell. The replacement works in both environments. mv libraries/integer-gmp2/gmp/gmpbuild/ltmain.sh libraries/integer-gmp2/gmp/gmpbuild/ltmain.sh.orig 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 cd libraries/integer-gmp2/gmp; (set -o igncr 2>/dev/null) && set -o igncr; export SHELLOPTS; \ PATH=`pwd`:$PATH; \ export PATH; \ cd gmpbuild && \ CC=clang NM=/usr/bin/nm AR=/usr/bin/ar ./configure \ --enable-shared=no \ --host=x86_64-apple-darwin --build=x86_64-apple-darwin /bin/sh: SHELLOPTS: readonly variable checking build system type... /bin/sh: SHELLOPTS: readonly variable /bin/sh: SHELLOPTS: readonly variable x86_64-apple-darwin checking host system type... /bin/sh: SHELLOPTS: readonly variable /bin/sh: SHELLOPTS: readonly variable x86_64-apple-darwin checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes /bin/sh: SHELLOPTS: readonly variable checking for a thread-safe mkdir -p... ./install-sh -c -d checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking ABI=64 checking whether clang is gcc... yes checking compiler clang -O2 -pedantic -fPIC -m64 ... no, gnupro alpha ev6 char spilling checking ABI=32 checking whether clang is gcc... yes *checking compiler clang -m32 -O2 -pedantic -fPIC -fomit-frame-pointer ... no, gnupro alpha ev6 char spilling* *checking compiler clang -O2 -pedantic -fPIC -fomit-frame-pointer ... no, gnupro alpha ev6 char spilling* *configure: error: could not find a working compiler, see config.log for details* *make[1]: *** [libraries/integer-gmp2/gmp/gmp.h] Error 1* *make: *** [all] Error 2*
On Mon, Nov 9, 2015 at 9:32 AM, Ben Gamari
wrote: > George Colpitts
writes: > > > I get > > > > make[1]: *** [libraries/integer-gmp2/gmp/gmp.h] Error 1 > > make[1]: *** Waiting for unfinished jobs.... > > It looks like the build failed somewhere before this point. Could you > provide a more complete log? > > Cheers, > > - Ben > > >

George Colpitts
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
^ 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

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
George Colpitts
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
^ 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

George Colpitts
As I mentioned above from brew:
$ brew upgrade openssl brew upgrade openssl Error: openssl 1.0.2d_1 already installed
I see. Does the file in question exist? What does find /usr/local -iname asn1.h say? Cheers, - Ben

find /usr/local -iname asn1.h
/usr/local/Cellar/nettle/2.7.1/include/nettle/asn1.h
/usr/local/Cellar/openssl/1.0.1j/include/openssl/asn1.h
/usr/local/Cellar/openssl/1.0.1j_1/include/openssl/asn1.h
/usr/local/Cellar/openssl/1.0.1l/include/openssl/asn1.h
/usr/local/Cellar/openssl/1.0.2a-1/include/openssl/asn1.h
/usr/local/Cellar/openssl/1.0.2c/include/openssl/asn1.h
/usr/local/Cellar/openssl/1.0.2d_1/include/openssl/asn1.h
As you might guess from the above I've successfully installed this in the
past with other versions of ghc :)
Thanks for all your help here
Cheers
George
On Mon, Nov 16, 2015 at 8:52 AM, Ben Gamari
George Colpitts
writes: As I mentioned above from brew:
$ brew upgrade openssl brew upgrade openssl Error: openssl 1.0.2d_1 already installed
I see. Does the file in question exist?
What does
find /usr/local -iname asn1.h
say?
Cheers,
- Ben

Sorry, it seems that this is a known problem with Mac OS 10.11. From
https://github.com/phonohawk/HsOpenSSL/issues/41
openssl libs and includes are not included in OS X 10.11. I'm not sure if
this is permanent or just an effect of the beta release but we should keep
our eye on it so when 10.11 is released, HsOpenSSL will work smoothly.
On Mon, Nov 16, 2015 at 9:14 AM, George Colpitts
find /usr/local -iname asn1.h /usr/local/Cellar/nettle/2.7.1/include/nettle/asn1.h /usr/local/Cellar/openssl/1.0.1j/include/openssl/asn1.h /usr/local/Cellar/openssl/1.0.1j_1/include/openssl/asn1.h /usr/local/Cellar/openssl/1.0.1l/include/openssl/asn1.h /usr/local/Cellar/openssl/1.0.2a-1/include/openssl/asn1.h /usr/local/Cellar/openssl/1.0.2c/include/openssl/asn1.h /usr/local/Cellar/openssl/1.0.2d_1/include/openssl/asn1.h
As you might guess from the above I've successfully installed this in the past with other versions of ghc :)
Thanks for all your help here
Cheers George
On Mon, Nov 16, 2015 at 8:52 AM, Ben Gamari
wrote: George Colpitts
writes: As I mentioned above from brew:
$ brew upgrade openssl brew upgrade openssl Error: openssl 1.0.2d_1 already installed
I see. Does the file in question exist?
What does
find /usr/local -iname asn1.h
say?
Cheers,
- Ben

My understanding is that they now use libre ssl. So definitely not
OpenSSL. If you want open ssl instead you need to install it via brew or
the like
On Monday, November 16, 2015, George Colpitts
Sorry, it seems that this is a known problem with Mac OS 10.11. From https://github.com/phonohawk/HsOpenSSL/issues/41
openssl libs and includes are not included in OS X 10.11. I'm not sure if this is permanent or just an effect of the beta release but we should keep our eye on it so when 10.11 is released, HsOpenSSL will work smoothly.
On Mon, Nov 16, 2015 at 9:14 AM, George Colpitts < george.colpitts@gmail.com javascript:_e(%7B%7D,'cvml','george.colpitts@gmail.com');> wrote:
find /usr/local -iname asn1.h /usr/local/Cellar/nettle/2.7.1/include/nettle/asn1.h /usr/local/Cellar/openssl/1.0.1j/include/openssl/asn1.h /usr/local/Cellar/openssl/1.0.1j_1/include/openssl/asn1.h /usr/local/Cellar/openssl/1.0.1l/include/openssl/asn1.h /usr/local/Cellar/openssl/1.0.2a-1/include/openssl/asn1.h /usr/local/Cellar/openssl/1.0.2c/include/openssl/asn1.h /usr/local/Cellar/openssl/1.0.2d_1/include/openssl/asn1.h
As you might guess from the above I've successfully installed this in the past with other versions of ghc :)
Thanks for all your help here
Cheers George
On Mon, Nov 16, 2015 at 8:52 AM, Ben Gamari
javascript:_e(%7B%7D,'cvml','ben@smart-cactus.org');> wrote: George Colpitts
javascript:_e(%7B%7D,'cvml','george.colpitts@gmail.com');> writes: As I mentioned above from brew:
$ brew upgrade openssl brew upgrade openssl Error: openssl 1.0.2d_1 already installed
I see. Does the file in question exist?
What does
find /usr/local -iname asn1.h
say?
Cheers,
- Ben

I don't understand. By they do you mean the HsOpenSSL team? As I've written twice in this thread I have installed openssl via brew so I don't know why you are telling me to install it via brew . I've referenced the HsOpenSSL github page that has an issue on the use of openssl saying it is broken in Mac OS 10.11 and indicating that the HsOpenSSL needs to address this. Do you have a link about their switch to libressl? Dropping ghc devs to bcc as this is not a ghc issue On Mon, Nov 16, 2015 at 9:18 PM, Carter Schonwald < carter.schonwald@gmail.com> wrote:
My understanding is that they now use libre ssl. So definitely not OpenSSL. If you want open ssl instead you need to install it via brew or the like
On Monday, November 16, 2015, George Colpitts
wrote: Sorry, it seems that this is a known problem with Mac OS 10.11. From https://github.com/phonohawk/HsOpenSSL/issues/41
openssl libs and includes are not included in OS X 10.11. I'm not sure if this is permanent or just an effect of the beta release but we should keep our eye on it so when 10.11 is released, HsOpenSSL will work smoothly.
On Mon, Nov 16, 2015 at 9:14 AM, George Colpitts < george.colpitts@gmail.com> wrote:
find /usr/local -iname asn1.h /usr/local/Cellar/nettle/2.7.1/include/nettle/asn1.h /usr/local/Cellar/openssl/1.0.1j/include/openssl/asn1.h /usr/local/Cellar/openssl/1.0.1j_1/include/openssl/asn1.h /usr/local/Cellar/openssl/1.0.1l/include/openssl/asn1.h /usr/local/Cellar/openssl/1.0.2a-1/include/openssl/asn1.h /usr/local/Cellar/openssl/1.0.2c/include/openssl/asn1.h /usr/local/Cellar/openssl/1.0.2d_1/include/openssl/asn1.h
As you might guess from the above I've successfully installed this in the past with other versions of ghc :)
Thanks for all your help here
Cheers George
On Mon, Nov 16, 2015 at 8:52 AM, Ben Gamari
wrote: George Colpitts
writes: As I mentioned above from brew:
$ brew upgrade openssl brew upgrade openssl Error: openssl 1.0.2d_1 already installed
I see. Does the file in question exist?
What does
find /usr/local -iname asn1.h
say?
Cheers,
- Ben

Apple has started to move away from OpenSSL for quite a while. This post summarises it quite nicely http://rentzsch.tumblr.com/post/33696323211/wherein-i-write-apples-technote-... In recent times, you could add as a reason for avoiding OpenSSL its shaky security track record. (Heartbleed anyone). Manuel
Carter Schonwald
: My understanding is that they now use libre ssl. So definitely not OpenSSL. If you want open ssl instead you need to install it via brew or the like
On Monday, November 16, 2015, George Colpitts
mailto:george.colpitts@gmail.com> wrote: Sorry, it seems that this is a known problem with Mac OS 10.11. From https://github.com/phonohawk/HsOpenSSL/issues/41 https://github.com/phonohawk/HsOpenSSL/issues/41 openssl libs and includes are not included in OS X 10.11. I'm not sure if this is permanent or just an effect of the beta release but we should keep our eye on it so when 10.11 is released, HsOpenSSL will work smoothly.
On Mon, Nov 16, 2015 at 9:14 AM, George Colpitts
javascript:_e(%7B%7D,'cvml','george.colpitts@gmail.com');> wrote: find /usr/local -iname asn1.h /usr/local/Cellar/nettle/2.7.1/include/nettle/asn1.h /usr/local/Cellar/openssl/1.0.1j/include/openssl/asn1.h /usr/local/Cellar/openssl/1.0.1j_1/include/openssl/asn1.h /usr/local/Cellar/openssl/1.0.1l/include/openssl/asn1.h /usr/local/Cellar/openssl/1.0.2a-1/include/openssl/asn1.h /usr/local/Cellar/openssl/1.0.2c/include/openssl/asn1.h /usr/local/Cellar/openssl/1.0.2d_1/include/openssl/asn1.h
As you might guess from the above I've successfully installed this in the past with other versions of ghc :)
Thanks for all your help here
Cheers George
On Mon, Nov 16, 2015 at 8:52 AM, Ben Gamari
javascript:_e(%7B%7D,'cvml','ben@smart-cactus.org');> wrote: George Colpitts javascript:_e(%7B%7D,'cvml','george.colpitts@gmail.com');> writes: As I mentioned above from brew:
$ brew upgrade openssl brew upgrade openssl Error: openssl 1.0.2d_1 already installed
I see. Does the file in question exist?
What does
find /usr/local -iname asn1.h
say?
Cheers,
- Ben
_______________________________________________ ghc-devs mailing list ghc-devs@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs
participants (4)
-
Ben Gamari
-
Carter Schonwald
-
George Colpitts
-
Manuel M T Chakravarty