I am trying to install Happstack using the following command:
cabal install happstack
Specifications:
Mac OS X 10.10 (Yosemite)
GHC 7.8.3
cabal 1.20.0.2
Error Messages:
ld: library not found for -lHSstm-2.4.3-ghc7.8.3
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Failed to install threads-0.5.1.2
cabal: Error: some packages failed to install:
happstack-7.0.2 depends on threads-0.5.1.2 which failed to install.
happstack-server-7.3.9 depends on threads-0.5.1.2 which failed to install.
system-filepath-0.4.12 failed during the building phase. The exception was:
ExitFailure 1
threads-0.5.1.2 failed during the building phase. The exception was:
ExitFailure 1
Related
I have OS X Sierra and I'm trying to install psycopg2 version 2.6.2 within a virtual environment using virtualenv and Python 3.4. On the step "Running setup.py install for psycopg2" I get this error message:
ld: library not found for -lssl
clang: error: linker command failed with exit code 1 (use -v to see invocation)
error: command '/usr/bin/clang' failed with exit status 1
I found that installing psycopg2 version 2.7.3.1 fixed the problem. So this bug must have been fixed in version 2.7 and above:
http://initd.org/psycopg/docs/news.html
I'm currently trying to get SDL2 for Haskell to work on Ubuntu but while trying to install SDL2 with cabal I get the following error
cabal: The pkg-config package sdl2 version >=2.0.3 is required but the version
installed on the system is version 2.0.2
Failed to install sdl2-1.2.0
cabal: Error: some packages failed to install:
sdl2-1.2.0 failed during the configure step. The exception was:
ExitFailure 1
So it seems I do have pkg-config and I do have sdl2 but I seem to have downloaded the wrong version of libsdl-dev? I have the latest version, so is there a way for me to upgrade the pkg-config file?
while trying to install the friday package, I got the error
Preprocessing library friday-0.2.2.0...
src/Vision/Detector/Edge.hs:3:14: Unsupported extension: MultiWayIf
cabal: Error: some packages failed to install:
friday-0.2.2.0 failed during the building phase. The exception was:
ExitFailure 1
How to resolve this error?
I am using ghc version 7.4.1 and
cabal-install version 0.14.0
using version 1.14.0 of the Cabal library
MultiWayIf was introduced in the 7.6 branch of GHC. You're going to have to upgrade the compiler or patch the library.
I try running:
cabal install memoize
in the Terminal but all I get is:
11 warnings and 1 error generated.
Failed to install memoize-0.6
cabal: Error: some packages failed to install:
memoize-0.6 failed during the building phase. The exception was:
ExitFailure 1
The 1 error is:
Data/Function/Memoize/TH.hs:5:6:
error: invalid preprocessing directive
#-}
^
How to install haskell Parallel on mac?
I'm trying: '$sudo cabal install parallel' but its not working. I'm getting the following message:
Resolving dependencies...
Configuring parallel-3.2.0.0...
Preprocessing library parallel-3.2.0.0...
Building parallel-3.2.0.0...
<command line>: cannot satisfy -package-id deepseq-1.1.0.2-09b3aed0c4982bbc6569c668100876fa
(use -v for more information)
cabal: Error: some packages failed to install:
parallel-3.2.0.0 failed during the building phase. The exception was:
ExitFailure 1
Thanks.