Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cabal install failure #44

Open
tcfuji opened this issue Nov 1, 2014 · 8 comments
Open

Cabal install failure #44

tcfuji opened this issue Nov 1, 2014 · 8 comments

Comments

@tcfuji
Copy link

tcfuji commented Nov 1, 2014

I executed cabal undate and cabal install HLearn-algebra but it keeps trying to install ConstraintKinds-1.1.0.0 which always fails. This is strange since in the repository it asks for >=1.2.0 .

@thelastjosh
Copy link

I'm getting the same problem.
Look forward to testing out this library!

@timjstewart
Copy link

I'm trying to work through this:

https://izbicki.me/blog/gausian-distributions-are-monoids

and I get this:

Failed to install ConstraintKinds-1.1.0.0
cabal: Error: some packages failed to install:
ConstraintKinds-1.1.0.0 failed during the building phase. The exception was:
ExitFailure 1
HLearn-algebra-1.1.0.1 depends on ConstraintKinds-1.1.0.0 which failed to
install.

@wildman1234
Copy link

It works for me with ghc 7.6.3. Executed this in a sandbox: cabal install constraintkinds-1.1.0.0 -w path/to/ghc7.6.3 The sandbox may or may not be important..

@damienstanton
Copy link

This is also happening to me, using ghc 7.8.4 and cabal 1.22.
Are there any workarounds for these issues besides using a downgraded sandboxed ghc?

@mikeizbicki
Copy link
Owner

@damienstanton The version on hackage will only run on ghc 7.6. The master branch has a number of significant improvements, however, so that's what I'd recommend using. That should compile with your setup, but you'll first need to install the latest version of subhask (https://github.com/mikeizbicki/subhask) which is not on hackage at all.

@damienstanton
Copy link

Got it. Thank you for the replies!

@malcolmgreaves
Copy link

I am attempting to work through the gausian-distributions-are-monoids post as well. I am a Haskell newbie; I am quite unfamiliar with cabal. I attempted cabal install HLearn-distributions, which failedc since it still depends on ConstraintKinds-1.1.0.0. Is there any work on updating the default repository that cabal uses so that the installation command above will succeed?

@mikeizbicki
Copy link
Owner

This will happen sometime this summer, but I'm sorry that I can't be more
specific than that with a date.

On Mon, Jun 1, 2015 at 4:50 PM, Malcolm Greaves [email protected]
wrote:

I am attempting to work through the gausian-distributions-are-monoids post
as well. I am a Haskell newbie; I am quite unfamiliar with cabal. I
attempted cabal install HLearn-distributions, which failedc since it
still depends on ConstraintKinds-1.1.0.0. Is there any work on updating
the default repository that cabal uses so that the installation command
above will work?


Reply to this email directly or view it on GitHub
#44 (comment).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants