[Haskell-cafe] Need help: Cabal rejecting stringsearch, conflict in base
efsubenovex at gmail.com
Wed Nov 27 01:46:32 UTC 2013
It looks like you're using ghc7.7 (soon 7.8) since you're on base-4.7. A
lot of packages just aren't ready for ghc7.7. Either they need bumps to
their dependencies or they need Typeable updates or...or...
If you want to live in the future I'd suggest following the packages in
question to their git repos, cloning them and using those (and possibly
patching them). I've been doing as much of this as I can and it's been
Though I may be misunderstanding your problem and in that case - ignore me!
On Tue, Nov 26, 2013 at 4:41 PM, Clark Gaebel <cgaebel at uwaterloo.ca> wrote:
> You've got two options:
> 1) (the easy way)
> rm -rf ~/.ghc ~/.cabal
> cabal update
> cabal install scotty
> 2) (the hard way, ghc 7.6+ only)
> Use a sandbox!
> cd path/to/my/project/that/uses/scotty
> cabal sandbox init
> cabal install --only-dependencies -j # make sure scotty is a dependency of
> your project
> cabal configure
> cabal build
> 3) use cabal-dev. similar to using sandboxes, but I don't have it any more
> so can't give you a step-by-step.
> On Tue, Nov 26, 2013 at 7:34 PM, Thiago Negri <evohunz at gmail.com> wrote:
>> I don't know what to do. :-(
>> I can't install scotty or yesod.
>> $ cabal install scotty
>> cabal: Could not resolve dependencies:
>> trying: scotty-0.5.0 (user goal)
>> trying: base-184.108.40.206/installed-dc1... (dependency of scotty-0.5.0)
>> trying: wai-extra-220.127.116.11 (dependency of scotty-0.5.0)
>> trying: stringsearch-0.3.6.4 (dependency of wai-extra-18.104.22.168)
>> rejecting: stringsearch-0.3.6.4:-base3 (conflict:
>> base==22.214.171.124/installed-dc1..., stringsearch-0.3.6.4:base3 => base>=2 &&
>> rejecting: stringsearch-0.3.6.4:+base3 (conflict:
>> base==126.96.36.199/installed-dc1..., stringsearch-0.3.6.4:base3 => base>=3 &&
>> Backjump limit reached (change with --max-backjumps).
>> Haskell-Cafe mailing list
>> Haskell-Cafe at haskell.org
> Key ID : 0x78099922
> Fingerprint: B292 493C 51AE F3AB D016 DD04 E5E3 C36F 5534 F907
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Haskell-Cafe