Giter Club home page Giter Club logo

Comments (5)

HeinrichApfelmus avatar HeinrichApfelmus commented on June 14, 2024

Reactive-banana-wx uses a custom Setup.hs to compile the examples.

It appears that you have two conflicting versions of the Cabal library: Cabal-1.10.2.0 and Cabal-1.10.1.0. The first one is used by Setup.hs while the second on is used by your cabal-install utility.

I don't know exactly what's going on, but you may want to try the following commands:

bash$ ghc-pkg hide Cabal-1.10.2.0
bash$ cabal install reactive-banana-wx && ghc-pkg expose Cabal-1.10.2.0

from reactive-banana.

killerswan avatar killerswan commented on June 14, 2024

Sadly, that changed nothing. I'll experiment more sometime this weekend...

from reactive-banana.

HeinrichApfelmus avatar HeinrichApfelmus commented on June 14, 2024

In that case, I'd like you to ask on the haskell-cafe mailing list or on StackOverlflow; I'm sure that someone there knows the answer.

(Comment no longer relevant, see below)

from reactive-banana.

HeinrichApfelmus avatar HeinrichApfelmus commented on June 14, 2024

Ok, I think I know what's going on.

Basically, the packages you installed are a bit messed up. You have two versions of the Cabal library installed and the following dependencies:

Cabal-1.10.2.0  ->  cabal-macosx  ->  Setup.hs
Cabal-1.10.1.0  ->  Setup.hs

To fix this, you have two options:

  1. either get rid of Cabal-1.10.2.0 and force a reinstall of cabal-macosx
  2. or hide Cabal-1.10.1.0 and reinstall the cabal-install utility, so that it uses the other version

It's hard to give more detailed help in this issue tracker. I recommend that you go on the #haskell IRC channel and ask for help; someone will walk you through the necessary steps.

from reactive-banana.

killerswan avatar killerswan commented on June 14, 2024

After trying #2, I went and unregistered Cabal-1.10.2.0 and things progressed further... Thanks for the help!

from reactive-banana.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.