haskell-hvr / missingh

Utility library [Haskell]
https://hackage.haskell.org/package/MissingH
Other
87 stars 40 forks source link

problem with default cabal install #8

Closed gatoatigrado closed 13 years ago

gatoatigrado commented 13 years ago

Sorry I don't know how to track this down yet; will post some follow-up if I get it solved.

Currently, building with cabal using either ghc 7.0.3 or ghc 7.0.4 fails. I wiped ~/.cabal and ~/.ghc, but no luck. The error given is,

Building MissingH-1.1.0.3...
<command line>: cannot satisfy -package-id random-1.0.0.3-9024b40453c28359a37c49ce4e776f6e: 
    random-1.0.0.3-9024b40453c28359a37c49ce4e776f6e is shadowed by package random-1.0.0.3-15ae8b1458485ee9647f74174e442c33
    (use -v for more information)

When I replace the ghc commands "-package-id random-1.0.0.3-9024b40453c28359a37c49ce4e776f6e" with the other one, it builds fine, but then I don't know how to install.

(I'm also having trouble running "make", it says "setup: At least the following dependencies are missing: hslogger -any").

Thanks in advance.

jgoerzen commented 13 years ago

Sounds like you've got a bad build directory. Delete the MissingH directory, re-download, and try it again.

On 07/29/2011 01:35 PM, gatoatigrado wrote:

Sorry I don't know how to track this down yet; will post some follow-up if I get it solved.

Currently, building with cabal using either ghc 7.0.3 or ghc 7.0.4 fails. I wiped ~/.cabal and ~/.ghc, but no luck. The error given is,

Building MissingH-1.1.0.3...
<command line>: cannot satisfy -package-id random-1.0.0.3-9024b40453c28359a37c49ce4e776f6e:
     random-1.0.0.3-9024b40453c28359a37c49ce4e776f6e is shadowed by package random-1.0.0.3-15ae8b1458485ee9647f74174e442c33
     (use -v for more information)

When I replace the ghc commands "-package-id random-1.0.0.3-9024b40453c28359a37c49ce4e776f6e" with the other one, it builds fine, but then I don't know how to install.

(I'm also having trouble running "make", it says "setup: At least the following dependencies are missing: hslogger -any").

Thanks in advance.

gatoatigrado commented 13 years ago

Thanks for the fast reply. I'm guessing you're talking about the "make" route? I did so, and it still has the same error message

> ./setup configure
Configuring MissingH-1.1.0.3...
setup: At least the following dependencies are missing:
hslogger -any
jgoerzen commented 13 years ago

You need to install hslogger before building MissingH then.