
On Thursday 05 October 2006 16:51, Lyle Kopnicky wrote:
Robert Dockins wrote:
On Wednesday 04 October 2006 16:16, Lyle Kopnicky wrote:
Robert Dockins wrote:
Whats the output of
ghc-pkg -l
?
lwk@lwk-desktop:~$ ghc-pkg -l /usr/local/lib/ghc-6.5.20060924/package.conf: Cabal-1.1.4, base-2.0, (ghc-6.5.20060924), haskell98-1.0, parsec-2.0, readline-1.0, regex-base-0.71, regex-compat-0.71, regex-posix-0.71, rts-1.0, stm-2.0, template-haskell-2.0, unix-1.0 l
Hummm. Well, I confess that I'm confused. Cabal 1.1.4 should work, because that's what I have on my machines; I've just tested it here. The only thing I can think of is that the 'runhaskell' command is still bound to your old GHC, or to something else (Hugs maybe?). If that's the case, you can edit the makefile and set the 'RUNHS' variable in the first line to the full path to your 6.5 runghc. Or you can edit the .cabal files as suggested above.
I don't have hugs installed, and I've uninstalled ghc 6.4.1, so it can only be running 6.5.
I've pasted the error in again here for reference:
lwk@lwk-desktop:~/devel/edison-1.2.0.1-source$ sudo make system Password: cd edison-api && \ runhaskell Setup.hs configure && \ runhaskell Setup.hs build && \ runhaskell Setup.hs install Configuring EdisonAPI-1.2... configure: Dependency base>=1.0: using base-2.0 configure: Dependency haskell98>=1.0: using haskell98-1.0 Setup.hs: cannot satisfy dependency mtl>=1.0 make: *** [api-system] Error 1 lwk@lwk-desktop:~/devel/edison-1.2.0.1-source$
Do you know what mtl is?
mtl is the Monad Transformer Library. It's a part of the standard libraries in 6.4.x. There's been a good deal of chatter recently about reducing the set of libraries the GHC ships with; it may be that mtl is on that list. I haven't really been following, so I'm not sure.
Maybe there's something broken in this GHC snapshot. I've already noticed Template Haskell seems to be broken in it.
Possible. I also notice that QuickCheck isn't in your list of installed packages. You'll need that to compile edison-core.
- Lyle
-- Rob Dockins Talk softly and drive a Sherman tank. Laugh hard, it's a long way to the bank. -- TMBG