Am Samstag 01 Mai 2010 10:34:22 schrieb Warren Harris:
> On May 1, 2010, at 1:28 AM, Ivan Lazar Miljenovic wrote:
> > Warren Harris <warrensomeb...@gmail.com> writes:
> >> On May 1, 2010, at 12:08 AM, Alexander Solla wrote:
> >>> I think that if you run this, you will satisfy all the dependencies:
> >>>
> >>> cabal install "hjscript<0.5.0" happstack
> >>
> >> Thank you. That worked. I had a similar problem installing the
> >> happstack-tutorial, but found that I could work around it with this:
> >>
> >>  cabal install "Crypto<4.2.1"
> >
> > And this, people, is why bounded dependencies in cabal files are so
> > desirable.

More than desirable.

>
> Uh... actually I was a little too quick in sending my last message. I
> only built crypto, not the tutorial. Trying again I hit this:
>
> $ cabal install "Crypto<4.2.1" happs-tutorial

Try

$ cabal install  --constraint="Crypto<4.2.1" --constraint="HJScript<0.5" 
happs-tutorial 

(use --dry-run first to see if it finds immediate problems and if it does, 
add more constraints until it works, the above combination gave

In order, the following would be installed (use -v for more details):           
                                                    
DebugTraceHelpers-0.12
<snip lots of packages>

for me).


> Resolving dependencies...
> Configuring containers-0.2.0.1...
> Preprocessing library containers-0.2.0.1...
> Building containers-0.2.0.1...
>
> Data/IntMap.hs:182:7:
>      Could not find module `Data.Data':
>        It is a member of the hidden package `base'.
>        Perhaps you need to add `base' to the build-depends in
> your .cabal file.
>        Use -v to see a list of the files searched for.
> cabal: Error: some packages failed to install:
> HSH-2.0.3 depends on containers-0.2.0.1 which failed to install.
> HStringTemplate-0.5 depends on containers-0.2.0.1 which failed to
> install.
> HStringTemplateHelpers-0.0.14 depends on containers-0.2.0.1 which
> failed to
> install.
> HaXml-1.13.3 depends on containers-0.2.0.1 which failed to install.
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to