Questions tagged [cabal-install]

cabal-install is a package manager and dependency resolver for building and installing Haskell libraries.

cabal-install is a package manager and dependency resolver for building and installing Haskell libraries.

341 questions
0
votes
1 answer

Cabal install HaskellForMaths fails

I'm trying to install Quipper using this readme. Cabal-install fails on installing Lattices: Resolving dependencies... Configuring HaskellForMaths-0.4.8... Building HaskellForMaths-0.4.8... Preprocessing library HaskellForMaths-0.4.8... [ 1 of 58]…
AlexZ
  • 43
  • 7
0
votes
1 answer

Cabal don't find relative library for compilation of gsasl package

I'm using Haskell on webfaction server, with non root access, on a CentOS 6 system. I have a /lib/ folder which contain libraries. Actually, i have a problem with some libraries needed for an installation of package using cabal install. I need the…
reyman64
  • 523
  • 4
  • 34
  • 73
0
votes
1 answer

Can't install 'ihaskell-diagrams' using Cabal

When I try to cabal install ihaskell-diagrams I get the error The pkg-config package 'glib-2.0' is required but it could not be found. What is glib and how do I install it so that it is available for Cabal? Resolving…
orome
  • 45,163
  • 57
  • 202
  • 418
0
votes
1 answer

How do I install and test a Haskell package that I'm developing locally?

I'm developing a Haskell package and would like to test it as if it were an installed package. That is, I'd like to be able to install it among my other packages and then either import or :m +. I can successfully build my package and (apparently)…
orome
  • 45,163
  • 57
  • 202
  • 418
0
votes
0 answers

How do I install Haddock from gitHub?

Okay, so in "Why isn't Cabal hyperlinking my sources?", I found out that I needed haddock 2.16.2 to use cabal install --haddock-hyperlink-source. So, I installed it from gitHub by cloning it, and running cabal install -j in the repo, and it…
PyRulez
  • 10,513
  • 10
  • 42
  • 87
0
votes
0 answers

Cabal Install failing to install cabal-install

Just installed the Haskell platform. When I do $ cabal install cabal cabal-install I get Build log ( /Users/robbiecarlton/.cabal/logs/cabal-install-1.22.6.0.log ): Configuring cabal-install-1.22.6.0... Building…
jonesjones
  • 477
  • 1
  • 6
  • 13
0
votes
1 answer

Can haskell-src-meta be installed to be used with GHC 7.10.1?

I tried, but I got this error: https://gist.github.com/Wizek/a3e02b93b9f672a91f54 I remember trying with GHC 7.8.4 too, and AFAIR that also failed similarly. Misc I've used a new & empty cabal sandbox cabal-install version 1.22.2.0
Wizek
  • 4,854
  • 2
  • 25
  • 52
0
votes
1 answer

Cannot install arithmoi on OS X Yosemite Haskell version ghc 7.10.1

I have been trying to install the "arithmoi" package on ghc 7.10.1 OS X Yosemite, but when I try cabal install arithmoi I keep getting the error: Resolving dependencies... cabal: Could not resolve dependencies: trying: arithmoi-0.4.1.2 (user…
Helix
  • 171
  • 6
0
votes
0 answers

installing sdl2 with cabal

I am trying to install the SDL2 package for Haskell via Cabal under windows. And after some rather tedious configuration, I am getting this error: C:\Users\kaervin>cabal install sdl2 --extra-include-dirs=C:\SDL2-2.0.3\include…
0
votes
1 answer

Which unix compatibility toolchain to use with cabal install on windows?

trying to install BlogLiterately on win7/64. installed HP 2014.2/64 cabal update cabal install cabal-install renamed C:\Program Files\Haskell Platform\2014.2.0.0\lib\extralibs\bin\cabal.exe to *.old cabal update cabal install BlogLiterately fails…
user1441998
  • 459
  • 4
  • 14
0
votes
1 answer

How Cabal can be configured to use target-prefixed readelf executable

When I do cabal build second time I get: readelf: readProcessWithExitCode: runInteractiveProcess: exec: does not exist (No such file or directory) From strace I confirmed that it looks for readelf executable which on my system have target prefix…
ony
  • 12,457
  • 1
  • 33
  • 41
0
votes
1 answer

Did I install cabal correctly?

Hi I've just updated cabal to the latest version by the command cabal update and cabal install cabal-install Then it returns Installed cabal-install-1.22.2.0 Updating documentation index /MyPath I want to use alex and happy. Sorry I'm very new…
Yiyue Wang
  • 152
  • 1
  • 12
0
votes
1 answer

How can I shorten the function call to retrieve a certain line matching some regexp string only

In my profile file I have a definition for running sandboxed ghci instances like: function sandbox-ghci { $regex = '^package-db: (.*)$' $db = Get-Content .\cabal.sandbox.config | foreach { if($_ -match $regex) { %{$_ -replace $regex, '${1}'} }…
0
votes
1 answer

Failed to install cabal-install (v. 1.22.0.0)

Failed to install cabal-install (v. 1.22.0.0) in Windows Command Prompt and in Cygwin64 Terminal. As usual in Windows, cabal fails to update cabal-install. I use Haskell Platform 2014.2.0.0. Actual cabal version: $ cabal -V cabal-install version…
Alberto Capitani
  • 1,039
  • 13
  • 30
0
votes
1 answer

Compiling a cabal project with LLVM on GHC 7.10 RC1

I've tried: $ cabal install --only-dependencies -w /usr/local/bin/ghc-7.10.0.20141222 --enable-tests --enable-benchmarks --ghc-option=-fllvm --ghc-option=-static $ cabal configure -w /usr/local/bin/ghc-7.10.0.20141222 --enable-tests…
jberryman
  • 16,334
  • 5
  • 42
  • 83
1 2 3
22
23