Open gregwebs opened 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.
ghc 7.04 has been released with the bugfix
Great! Thanks. I will try to get Shaker working soon.
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.
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.
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.*)
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
cabal update && cabal install shaker
, dependencies will be automatically downloaded. (The new version should compile correctly)cabal install "HUnit ==1.2.*" cabal install "QuickCheck ==2.4.*" cabal install "ghc-paths ==0.1.*" cabal install "haskeline ==0.6.*" cabal install "haskell-src ==1.0.*" cabal install "mtl ==2.*" cabal install "parsec3 ==1.*" cabal install "regex-posix ==0.94.*" cabal install "test-framework ==0.3.*" cabal install "test-framework-hunit ==0.2.*" cabal install "test-framework-quickcheck2 ==0.2.*"
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)