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

Cabal missing packages

I try to install cabal with the command on terminal cabal install cabal-install Resolving dependencies... Configuring hackage-security-0.5.2.2... Building hackage-security-0.5.2.2... Failed to install hackage-security-0.5.2.2 Build log (…
softshipper
  • 32,463
  • 51
  • 192
  • 400
0
votes
1 answer

cabal cabal-install error in Ubuntu 14.04

I followed the procedure here for installing GHC and cabal, and then for ghc-mod. But, I get this error at this step cabal update && cabal install cabal-install Configuring cabal-install-1.24.0.2... Failed to install cabal-install-1.24.0.2…
Vijeth Aradhya
  • 268
  • 2
  • 11
0
votes
1 answer

Installation error with haskell cabal

I'm installing haskell platform for windows 10 for the first time (https://www.haskell.org/platform/windows.html) for my laptop and pc. My PC installs fine and I can run cabal install hsdev without any issues. However, when I do the exact same…
Lucidnonsense
  • 1,195
  • 3
  • 13
  • 35
0
votes
1 answer

Cabal ExitFailure 1

I'm getting this error when trying to install csv using Cabal (OS X): Resolving dependencies... Configuring csv-0.1.2... Building csv-0.1.2... Failed to install csv-0.1.2 Build log ( /Users/roshnal/.cabal/logs/csv-0.1.2.log ): Configuring…
Roshnal
  • 1,284
  • 3
  • 16
  • 39
0
votes
0 answers

Haskell package installed but not found (Ubuntu)

I installed ghc and cabal-install on Ubuntu using this way. When I install a package using cabal sandbox init and cabal install thepackage, the installation runs fine, but the package is not found in GHC (message: "It is not a module in the current…
Stéphane Laurent
  • 75,186
  • 15
  • 119
  • 225
0
votes
2 answers

How to install wxHaskell?

I have downloaded the latest Haskell Platform(8.0.1 version) for Windows 7, wxWidgets-3.0.2, set all the needed environment variables. I have successfully installed "wxdirect" using "cabal install", but when I try to install "wxc" it fails. Install…
0
votes
1 answer

Cabal: Failed to Install GLUtil

I'm new to Haskell but I want to try and write some OpenGL experiments in it. I've successfully installed OpenGL, GLUT and a few other packages but when I attempt to install GLUtil I get the following error: Building GLUtil-0.9.0.1... Failed to…
kcpm
  • 103
  • 1
0
votes
1 answer

-package Cabal-1.8.0.6 breaks pango installation on Mac

When installing Haskell pango on mac (sudo cabal install pango), the first problem is that it tries to install packages I've already installed. I've install haskell98 (successfully), but pango tries to install it again, and when the compilation is…
None
  • 3,875
  • 7
  • 43
  • 67
0
votes
1 answer

cabal failed to install mtl missing dependency of transformers

I was trying to use cabal to install mtl while it told me I missed transformers ==0.4.* && ==0.5.2.0. $ cabal install mtl Resolving dependencies... Configuring mtl-2.2.1... cabal.exe: At least the following dependencies are missing: transformers…
0
votes
1 answer

Update Haskell Package on Windows

How do you update a pre-installed Haskell package (for example, the System.Directory package) on Windows? I've tried simply telling cabal to install it but it encountered an error while doing so. The package has a '.configure' script. This requires…
ENPM
  • 167
  • 2
  • 9
0
votes
0 answers

build error on dependencies when using cabal

I am building a small project, and when cabal attempts to install MissingH 1.3.0, it runs into a compiler error (name clash): src/System/IO/HVFS.hs:287:23: Ambiguous occurrence ‘isSymbolicLink’ It could refer to either…
orm
  • 2,835
  • 2
  • 22
  • 35
0
votes
1 answer

fails to find cabal file when file present

I have the following directory structure: ls: Project.Cabal LICENSE Setup.hs cabal.sandbox.config dist src Main.hs otherstuff tests running cabal install --only-denendencies produces: cabal: Error reading local package. …
Abraham P
  • 15,029
  • 13
  • 58
  • 126
0
votes
0 answers

Error when installing package via Cabal - kind mis-match

I'm trying to install package from this git repo: https://github.com/dwincort/SettableArrow I'm in my catalog and typing: cabal install SettableArrow.cabal getting this error on line 187: Kind mis-match The first argument of `ArrowSwitch' should…
Lovaz
  • 227
  • 1
  • 7
0
votes
1 answer

Cabal claims it has updated itself but has not really

Following the instructions from this post on how to update cabal-install, I seemed to be able to install the latest version (or at least some version > 1.18, which is what I wanted. $ cabal install Cabal cabal-install Resolving…
k_g
  • 4,333
  • 2
  • 25
  • 40
0
votes
0 answers

Error installing SDL-ttf-0.6.2.1 in Haskell: cannot find -lSDL_ttf

I'm running into the following problem trying to cabal install reactive-banana-sdl: c:/program files/haskell platform/7.10.2-a/mingw/bin/../lib/gcc/x86_64-w64-mingw32/4.6.3/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lSDL_ttf collect2:…
holdenlee
  • 969
  • 1
  • 8
  • 21