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't install haskell98 #4314

Closed
chubin opened this issue Feb 12, 2017 · 4 comments
Closed

Can't install haskell98 #4314

chubin opened this issue Feb 12, 2017 · 4 comments

Comments

@chubin
Copy link

chubin commented Feb 12, 2017

$ cabal install haskell98
Resolving dependencies...
cabal: Could not resolve dependencies:
trying: haskell98-2.0.0.3 (user goal)
next goal: base (dependency of haskell98-2.0.0.3)
rejecting: base-4.8.2.0/installed-0d6... (conflict: haskell98 => base>=4.7 &&
<4.8)
rejecting: base-4.9.1.0, 4.9.0.0, 4.8.2.0, 4.8.1.0, 4.8.0.0, 4.7.0.2, 4.7.0.1,
4.7.0.0, 4.6.0.1, 4.6.0.0, 4.5.1.0, 4.5.0.0, 4.4.1.0, 4.4.0.0, 4.3.1.0,
4.3.0.0, 4.2.0.2, 4.2.0.1, 4.2.0.0, 4.1.0.0, 4.0.0.0, 3.0.3.2, 3.0.3.1 (global
constraint requires installed instance)
Dependency tree exhaustively searched.

Operating system: Fedora 25

$ cabal --version
cabal-install version 1.22.9.0
using version 1.22.5.0 of the Cabal library 
@ezyang
Copy link
Contributor

ezyang commented Feb 12, 2017

haskell98 does not support GHC 7.10 and later, alas. See https://mail.haskell.org/pipermail/libraries/2015-October/026309.html

@ezyang ezyang closed this as completed Feb 12, 2017
@chubin
Copy link
Author

chubin commented Feb 12, 2017

Ok, thank you very much. I did not know this. Could you please say me, what package should I use instead for the following modules?

src/Ebnf2ps.hs:29:8:
    Could not find module ‘Monad’
    Use -v to see a list of the files searched for.

src/Ebnf2ps.hs:31:8:
    Could not find module ‘System’
    Use -v to see a list of the files searched for.

src/Ebnf2ps.hs:32:8:
    Could not find module ‘Time’
    Use -v to see a list of the files searched for.

src/Fonts.hs:20:8:
    Could not find module ‘Char’
    Use -v to see a list of the files searched for.

src/GrammarUnfold.hs:20:8:
    Could not find module ‘List’
    Use -v to see a list of the files searched for.

src/PathExpansion.hs:7:8:
    Could not find module ‘Directory’
    Use -v to see a list of the files searched for.

Or such a replacement is not possible at all?
And I should rewrite the code completely (or at least deeper than do a simple package replacement)?

@ezyang
Copy link
Contributor

ezyang commented Feb 12, 2017

Your best bet is to port the code to use the new-style Haskell modules. I don't know of a good porting guide but https://ghc.haskell.org/trac/ghc/wiki/Migration/7.10 might be a place to start.

@chubin
Copy link
Author

chubin commented Feb 12, 2017

Thank you, Edward!

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

2 participants