[Haskell-beginners] Beginners Digest, Vol 68, Issue 22
KMandPJLynch
kmandpjlynch at verizon.net
Tue Feb 25 01:32:40 UTC 2014
Good evening,
I'm trying to learn how to implement Haskell on a web site.
I've got the O'Reilly book: "Developing Web Applications with Haskell and Yesod".
I'd appreciate some guidance in regard to this.
I'm having a bit of a problem getting the helloWorld.hs app up and running on Yesod.
Thank you
On Feb 24, 2014, at 2:30 PM, beginners-request at haskell.org wrote:
> Send Beginners mailing list submissions to
> beginners at haskell.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://www.haskell.org/mailman/listinfo/beginners
> or, via email, send a message with subject or body 'help' to
> beginners-request at haskell.org
>
> You can reach the person managing the list at
> beginners-owner at haskell.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Beginners digest..."
>
>
> Today's Topics:
>
> 1. Failure to install cabal-install. (Derek Mahar)
> 2. Re: Failure to install cabal-install. (Derek Mahar)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Mon, 24 Feb 2014 13:20:45 -0500
> From: Derek Mahar <derek.mahar at gmail.com>
> To: beginners at haskell.org
> Subject: [Haskell-beginners] Failure to install cabal-install.
> Message-ID:
> <CABtfiZb7+p=DtGoz57GVXwgHCdK1vPL175UxmirRY1EXM4aEBA at mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> How can I tell the Haskell compiler where to find module
> Control.Monad.Error? After building GHC 7.6.3 and Haskell Platform 2013.2
> on Red Hat Linux 6, I found that 'cabal install cabal-install' fails when
> it attempts to build library HTTP-4000.2.11 because the Haskell compiler
> cannot find module Control.Monad.Error.
>
> *******************************************************
> * Installation completed successfully.
> *
> * Programs installed into:
> * /usr/local/bin
> *
> * Now do "cabal update" to initialize the package list
> *
> * Additional packages may be found at http://hackage.haskell.org
> * or via "cabal list <pattern>"
> *
> * Use "cabal install <foo>" to install additional packages
> *
> *******************************************************
> [dmahar at dmahar haskell-platform-2013.2.0.0]$ cabal update
> Downloading the latest package list from hackage.haskell.org
> Note: there is a new version of cabal-install available.
> To upgrade, run: cabal install cabal-install
> [dmahar at dmahar haskell-platform-2013.2.0.0]$ cabal install cabal-install
> Resolving dependencies...
> Configuring HTTP-4000.2.11...
> Building HTTP-4000.2.11...
> Preprocessing library HTTP-4000.2.11...
>
> Network/Stream.hs:35:8:
> Could not find module `Control.Monad.Error'
> There are files missing in the `mtl-2.1.2' package,
> try running 'ghc-pkg check'.
> Use -v to see a list of the files searched for.
> Failed to install HTTP-4000.2.11
> cabal: Error: some packages failed to install:
> HTTP-4000.2.11 failed during the building phase. The exception was:
> ExitFailure 1
> cabal-install-1.18.0.2 depends on HTTP-4000.2.11 which failed to install.
>
> Thank you,
>
> Derek
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://www.haskell.org/pipermail/beginners/attachments/20140224/53adc45d/attachment-0001.html>
>
> ------------------------------
>
> Message: 2
> Date: Mon, 24 Feb 2014 14:30:14 -0500
> From: Derek Mahar <derek.mahar at gmail.com>
> To: beginners at haskell.org
> Subject: Re: [Haskell-beginners] Failure to install cabal-install.
> Message-ID:
> <CABtfiZbF--Q93cx-GRHTU+FaX4+9d1uTSkoyb8E-N5e=c5Z4ow at mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> On Mon, Feb 24, 2014 at 1:20 PM, Derek Mahar <derek.mahar at gmail.com> wrote:
>
>> [dmahar at dmahar haskell-platform-2013.2.0.0]$ cabal update
>> Downloading the latest package list from hackage.haskell.org
>> Note: there is a new version of cabal-install available.
>> To upgrade, run: cabal install cabal-install
>> [dmahar at dmahar haskell-platform-2013.2.0.0]$ cabal install cabal-install
>> Resolving dependencies...
>> Configuring HTTP-4000.2.11...
>> Building HTTP-4000.2.11...
>> Preprocessing library HTTP-4000.2.11...
>>
>> Network/Stream.hs:35:8:
>> Could not find module `Control.Monad.Error'
>> There are files missing in the `mtl-2.1.2' package,
>> try running 'ghc-pkg check'.
>> Use -v to see a list of the files searched for.
>> Failed to install HTTP-4000.2.11
>> cabal: Error: some packages failed to install:
>> HTTP-4000.2.11 failed during the building phase. The exception was:
>> ExitFailure 1
>> cabal-install-1.18.0.2 depends on HTTP-4000.2.11 which failed to install.
>>
>
> 'ghc-pkg -v check' reports that my Haskell environment is missing many
> files and that many of its packages are broken. See the attached output of
> 'ghc-pkg -v check'.
>
> Derek
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://www.haskell.org/pipermail/beginners/attachments/20140224/7c4e3467/attachment.html>
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: ghc-pkg-check.output
> Type: application/octet-stream
> Size: 38867 bytes
> Desc: not available
> URL: <http://www.haskell.org/pipermail/beginners/attachments/20140224/7c4e3467/attachment.obj>
>
> ------------------------------
>
> Subject: Digest Footer
>
> _______________________________________________
> Beginners mailing list
> Beginners at haskell.org
> http://www.haskell.org/mailman/listinfo/beginners
>
>
> ------------------------------
>
> End of Beginners Digest, Vol 68, Issue 22
> *****************************************
More information about the Beginners
mailing list