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
0 answers

How to update pandoc on centos linux?

I dowloaded cabal-install-1.20.0.3.tar.gz file and extracted when I try to run am getting following errors.My aim is to update pandoc. Now I have pandoc 1.9 but I need 1.12 version.To update pandoc am trying to update cabal library.But no…
vidhya
  • 449
  • 7
  • 22
0
votes
2 answers

Cabal update failure (return code: -9)

I got that error when trying to use cabal update below were the results of cabal update -v3 Downloading the latest package list from hackage.haskell.org Sending: GET /packages/archive/00-index.tar.gz HTTP/1.1 Host: hackage.haskell.org User-Agent:…
jdinhify
  • 86
  • 5
0
votes
1 answer

Error installing websockets package for Haskell in Cygwin

I'm trying to install a package to the Haskell Platform in Cygwin. It requires the websockets package, for which the most recent version is 0.9.0.1. My command looks like: cabal install websockets And I get the following error message during the…
ps2goat
  • 8,067
  • 1
  • 35
  • 68
0
votes
1 answer

During cabal-install "the impossible happened", should I let it keep trying?

Is there any point to letting cabal-install try to keep building a package if, at some point in the process, I see this: ghc: panic! (the 'impossible' happened) ...some error... ...continues with build for a long time... ...eventual message:…
Alex Shroyer
  • 3,499
  • 2
  • 28
  • 54
0
votes
1 answer

How can I resolve cabal install system-fileio failure if the error is "The import of `System.IO.Error' is redundant"

I tried to install system-fileio to my global package db and failure was : c:\Haskell\2013.2.0.0\bin>cabal-1.20.0.1.exe install system-fileio Resolving dependencies... Configuring system-fileio-0.3.13... Building system-fileio-0.3.13... Failed to…
bitli
  • 575
  • 2
  • 14
0
votes
1 answer

How to change library-dirs in ghc-pkg

I'm trying to compile haskell ghc from source. I try to configure my cabal config from different folder than /usr/. From the start it always succeed in building any package. At some point (after installing package cabal-install), I change my config…
user555742
  • 68
  • 6
0
votes
1 answer

Haskell Platform + Cabal hell + packages location?

I recently followed these steps to install Haskell on CentOS 6.4 wget http://www.haskell.org/ghc/dist/7.6.3/ghc-7.6.3-x86_64-unknown-linux.tar.bz2 && tar -xf ghc-7.6.3-x86_64-unknown-linux.tar.bz2 && cd ghc-7.6.3 && ./configure && make install &&…
András Gyömrey
  • 1,770
  • 1
  • 15
  • 36
0
votes
1 answer

cabal install trouble with fay

I am trying to run cabal install fay fay-base. However, I get the following error: src/Test/CommandLine.hs:18:9: Dynamic linking required, but this is a non-standard build (eg. prof). You need to build the program twice: once the normal way,…
Joe
  • 1,534
  • 9
  • 19
0
votes
1 answer

Cabal hell to install cabal-nirvana?

I'm trying to install cabal-nirvana on OSX 10.7.5, but I get the following output: cabal install cabal-nirvana Resolving dependencies... Downloading cabal-nirvana-0.2.2... Configuring cabal-nirvana-0.2.2... Building…
Diego Saa
  • 1,426
  • 1
  • 13
  • 23
0
votes
1 answer

(building cabal-install from git) Why Module `Distribution.Compat.Exception' does not export `SomeException'

I'm trying to compile hackport ( here is sources: https://github.com/Nensha/hackport ) with newer cabal but always getting the same Error: [61 of 91] Compiling Distribution.Client.Types ( cabal/cabal-install/Distribution/Client/Types.hs,…
cnd
  • 32,616
  • 62
  • 183
  • 313
-1
votes
2 answers

Haskell cannot import GHC.SrcLoc

I can't get module "GHC.SrcLoc" in package "srcloc" on Ubuntu Haskell ... -- "import" works on Windows, but not on Ubuntu 14.04 -- Module name is "GHC.SrcLoc" -- Cabal build error below Take 2: tried adding package "srcloc" to Cabal…
Michael Lafayette
  • 2,972
  • 3
  • 20
  • 54
1 2 3
22
23