
On May 1, 2010, at 1:28 AM, Ivan Lazar Miljenovic wrote:
Warren Harris
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.
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 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. MissingH-1.0.3 depends on containers-0.2.0.1 which failed to install. PBKDF2-0.3 depends on containers-0.2.0.1 which failed to install. SMTPClient-1.0.2 depends on containers-0.2.0.1 which failed to install. binary-0.5.0.2 depends on containers-0.2.0.1 which failed to install. containers-0.2.0.1 failed during the building phase. The exception was: ExitFailure 1 deepseq-1.1.0.0 depends on containers-0.2.0.1 which failed to install. happs-tutorial-0.9.3 depends on containers-0.2.0.1 which failed to install. happstack-0.4.1 depends on containers-0.2.0.1 which failed to install. happstack-data-0.4.1 depends on containers-0.2.0.1 which failed to install. happstack-helpers-0.49 depends on containers-0.2.0.1 which failed to install. happstack-ixset-0.4.1 depends on containers-0.2.0.1 which failed to install. happstack-server-0.4.1 depends on containers-0.2.0.1 which failed to install. happstack-state-0.4.1 depends on containers-0.2.0.1 which failed to install. happstack-util-0.4.1 depends on containers-0.2.0.1 which failed to install. hslogger-1.0.10 depends on containers-0.2.0.1 which failed to install. parallel-2.2.0.1 depends on containers-0.2.0.1 which failed to install. pureMD5-1.0.0.3 depends on containers-0.2.0.1 which failed to install. regex-base-0.93.1 depends on containers-0.2.0.1 which failed to install. regex-compat-0.92 depends on containers-0.2.0.1 which failed to install. regex-posix-0.94.1 depends on containers-0.2.0.1 which failed to install. strict-concurrency-0.2.3 depends on containers-0.2.0.1 which failed to install. syb-with-class-0.6.1 depends on containers-0.2.0.1 which failed to install. template-haskell-2.4.0.0 depends on containers-0.2.0.1 which failed to install.