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

Can not install on OS X Yosemite #10

Open
miktam opened this issue Apr 4, 2015 · 6 comments
Open

Can not install on OS X Yosemite #10

miktam opened this issue Apr 4, 2015 · 6 comments

Comments

@miktam
Copy link

miktam commented Apr 4, 2015

OS X Yosemite, Version 10.10.2

$ ghc --version                                          
The Glorious Glasgow Haskell Compilation System, version 7.10.1
$ ./bin/setup-koans 
Writing a default package environment file to
/Users/akarpushonak/APPS/HASKELL/HaskellKoans/cabal.sandbox.config
Using an existing sandbox located at
/Users/akarpushonak/APPS/HASKELL/HaskellKoans/.cabal-sandbox
Resolving dependencies...
cabal: Could not resolve dependencies:
trying: HaskellKoans-0.1 (user goal)
trying: base-4.8.0.0/installed-901... (dependency of HaskellKoans-0.1)
trying: testloop-0.1.1.0 (dependency of HaskellKoans-0.1)
next goal: unix (dependency of testloop-0.1.1.0)
rejecting: unix-2.7.1.0/installed-457..., 2.7.1.0, 2.7.0.1, 2.7.0.0 (conflict:
testloop => unix>=2.2.0.0 && <2.7)
rejecting: unix-2.6.0.1, 2.6.0.0 (conflict: base==4.8.0.0/installed-901...,
unix => base>=4.5 && <4.7)
rejecting: unix-2.5.1.1, 2.5.1.0 (conflict: base==4.8.0.0/installed-901...,
unix => base>=4.5 && <4.6)
rejecting: unix-2.5.0.0 (conflict: base==4.8.0.0/installed-901..., unix =>
base>=4.2 && <4.5)
rejecting: unix-2.4.2.0, 2.4.1.0 (conflict: base==4.8.0.0/installed-901...,
unix => base>=4.2 && <4.4)
rejecting: unix-2.4.0.2, 2.4.0.1 (conflict: base==4.8.0.0/installed-901...,
unix => base>=4.2 && <4.3)
rejecting: unix-2.4.0.0 (conflict: base==4.8.0.0/installed-901..., unix =>
base>=4.1 && <4.3)
rejecting: unix-2.3.2.0, 2.3.1.0, 2.3.0.0, 2.2.0.0 (conflict:
base==4.8.0.0/installed-901..., unix => base<4.3)
rejecting: unix-2.0 (conflict: testloop => unix>=2.2.0.0 && <2.7)
Dependency tree exhaustively searched.

Note: when using a sandbox, all packages are required to have consistent
dependencies. Try reinstalling/unregistering the offending packages or
recreating the sandbox.
setup-koans: [ERROR]cabal install --only-dependencies failed.

Looks similar to already merged #9

@charleskorn
Copy link

I'm seeing the same issue.

@robert-baldwin
Copy link

Same thing here. Is there a fix?

@rafaqz
Copy link

rafaqz commented Jul 10, 2015

Same here on Arch linux. Seems to caused by roman/testloop#2

@rafaqz
Copy link

rafaqz commented Jul 10, 2015

testloop has strict dependencies, but seems to work if you change them.

git clone https://github.com/roman/testloop.git testloop
vim testloop/testloop.cabal`

and change these dependencies:

    filepath        >= 1.3,
    mtl             >= 2.1,
    time            >= 1.4
-
    unix >= 2.2.0.0

then

cabal sandbox init
cabal install testloop
cabal install

And it works fine.

@ikle-tiskok
Copy link

same error

@gregberns
Copy link

Any updates? This is my first foray into Haskell and I can't even get the project running... (very sad face)

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

6 participants