bonnefoa / Shaker

Interactive build tool for haskell
ISC License
9 stars 1 forks source link

ghc7 and library versions #7

Open gregwebs opened 13 years ago

gregwebs commented 13 years ago

The community has really moved onto 7 now, but the .cabal depends on ghc == 6.* In general shaker depends on specific older version of libraries.

I tried to get it working with my libraries, but ran into a compile error- I am guessing the api has changed with the newer version of Cabal (required by ghc 7)

bonnefoa commented 13 years ago

There is currently issue with GHC7 that stopped shaker development (in addition of the lack of time). The issue seems to have been corrected ( http://hackage.haskell.org/trac/ghc/ticket/5004, not yet released) and I will try to spend some time to test and update shaker to the newest API.

gregwebs commented 13 years ago

ghc 7.04 has been released with the bugfix

bonnefoa commented 13 years ago

Great! Thanks. I will try to get Shaker working soon.

gregwebs commented 13 years ago

woot! I just compiled the Shaker develop branch (I am on ghc 7.04 now). I tried to run shaker on the Shaker repo, but no dice. What is the status of things? I know there are multiple versions of awesome in Shaker, but I am most interested in just compiling a project as it changes. We would like to start hacking on this for Yesod very soon.

bonnefoa commented 13 years ago

For the moment the test action seems broken but the compile action should work (if not, tell me what kind of errors you have). I will release a new version on hackage with all api updates soon.

gregwebs commented 13 years ago

when I give shaker any command I get output like the following. Here is an example on the shaker repo itself:

$ cabal install 1>/dev/null 2>/dev/null && shaker compile
Configuring shaker-0.5.1...

shaker: user error (At least the following dependencies are missing:
    HUnit ==1.2.*,
    QuickCheck ==2.4.*,
    ghc-paths ==0.1.*,
    haskeline ==0.6.*,
    haskell-src ==1.0.*,
    mtl ==2.*,
    parsec3 ==1.*,
    regex-posix ==0.94.*,
    test-framework ==0.3.*,
    test-framework-hunit ==0.2.*,
    test-framework-quickcheck2 ==0.2.*)
bonnefoa commented 13 years ago

Shaker is executing a cabal configure if there is no configuration file which detect missing dependencies. I don't know why he manage to pass the install phase (maybe he has an old dist/ build) Two solutions