cabal-install

My installed transformers version is not considered by cabal-install

寵の児 提交于 2021-02-07 22:38:50
问题 I am totally new to Haskell an cabal and I'm trying to make yesod work. My cabal version is cabal-install version 1.20.0.3 using version 1.20.0.2 of the Cabal library This is what happends when I tru to install alex: $ cabal install alex Resolving dependencies... cabal: Could not resolve dependencies: trying: alex-3.1.4 (user goal) next goal: QuickCheck (dependency of alex-3.1.4) rejecting: QuickCheck-2.8.1, 2.8 (global constraint requires ==2.7.6) trying: QuickCheck-2.7.6 next goal:

My installed transformers version is not considered by cabal-install

Deadly 提交于 2021-02-07 22:38:11
问题 I am totally new to Haskell an cabal and I'm trying to make yesod work. My cabal version is cabal-install version 1.20.0.3 using version 1.20.0.2 of the Cabal library This is what happends when I tru to install alex: $ cabal install alex Resolving dependencies... cabal: Could not resolve dependencies: trying: alex-3.1.4 (user goal) next goal: QuickCheck (dependency of alex-3.1.4) rejecting: QuickCheck-2.8.1, 2.8 (global constraint requires ==2.7.6) trying: QuickCheck-2.7.6 next goal:

Can't install and use Cabal (Haskell) on CentOS Server - zlib-0.5.4.1 failed during the building phase

我的未来我决定 提交于 2021-02-07 18:38:18
问题 I'm trying to install a Haskell server which runs in Cabal on my server. When I configure a server normally to run this, I follow these instructions which we've refined - they work 100% every time on a blank rackspace cloud server. yum update yum install git yum install vim yum install ghc-zlib-devel.x86_64 wget http://www.haskell.org/ghc/dist/7.8.2/ghc-7.8.2-x86_64-unknown-linux-centos65.tar.xz wget http://www.haskell.org/cabal/release/cabal-install-1.20.0.1/cabal-x86_64-unknown-linux.tar.gz

Cabal install tidal ends with warning

亡梦爱人 提交于 2021-01-29 09:00:53
问题 I'm trying install tidal in command line this way: cabal install tidal but it ends with this message: Warning: You asked to install executables, but there are no executables in target: tidal. Perhaps you want to use --lib to install libraries instead. Return of: cabal install tidal --lib is: Resolving dependencies... Up to date If I check ghk-pkg list, there is no package tidal ... Have somebody similar problem or what I'm doing wrong? My environment is: Windows 10 Education Haskell 8.4.3

How to install 'readline' with Cabal on Windows

◇◆丶佛笑我妖孽 提交于 2021-01-28 14:46:54
问题 I would like to install 'readline' using Cabal on Windows. When running the command it is saying that readline isn't found. Cabal is up to date. Command cabal install readline Output Resolving dependencies... Notice: installing into a sandbox located at C:\Users\Michael\Desktop\haskell-project\.cabal-sandbox Configuring readline-1.0.3.0... Failed to install readline-1.0.3.0 Build log ( C:\Users\Michael\Desktop\haskell-project\.cabal-sandbox\logs\readline-1.0.3.0.log ): Configuring readline-1

How to install 'readline' with Cabal on Windows

自古美人都是妖i 提交于 2021-01-28 14:46:26
问题 I would like to install 'readline' using Cabal on Windows. When running the command it is saying that readline isn't found. Cabal is up to date. Command cabal install readline Output Resolving dependencies... Notice: installing into a sandbox located at C:\Users\Michael\Desktop\haskell-project\.cabal-sandbox Configuring readline-1.0.3.0... Failed to install readline-1.0.3.0 Build log ( C:\Users\Michael\Desktop\haskell-project\.cabal-sandbox\logs\readline-1.0.3.0.log ): Configuring readline-1

How to install 'readline' with Cabal on Windows

我们两清 提交于 2021-01-28 14:46:10
问题 I would like to install 'readline' using Cabal on Windows. When running the command it is saying that readline isn't found. Cabal is up to date. Command cabal install readline Output Resolving dependencies... Notice: installing into a sandbox located at C:\Users\Michael\Desktop\haskell-project\.cabal-sandbox Configuring readline-1.0.3.0... Failed to install readline-1.0.3.0 Build log ( C:\Users\Michael\Desktop\haskell-project\.cabal-sandbox\logs\readline-1.0.3.0.log ): Configuring readline-1

Haskell - could not find module 'Test.QuickCheck'

眉间皱痕 提交于 2021-01-27 13:15:05
问题 I'm getting an error that says the module doesn't exist when I try to runhaskell. It's odd because I try to install it first and says its up to date. Any idea how to fix this? 回答1: You could try creating the package environment in the local directory that holds your project, like this: c:\Users\...\ex1haskell> cabal install --lib --package-env . QuickCheck This should create a file of the form .ghc.environment.xxx in ex1haskell , which hopefully should be picked up by runhaskell / ghci / ghc