Send Beginners mailing list submissions to
        [email protected]

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
        [email protected]

You can reach the person managing the list at
        [email protected]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Beginners digest..."


Today's Topics:

   1. Re:  scotty installation error (Ovidiu D)
   2.  Libzip for Haskell under Window (Riaan)
   3. Re:  Why html in platform? (q)
   4. Re:  Libzip for Haskell under Window (Henk-Jan van Tuyl)


----------------------------------------------------------------------

Message: 1
Date: Tue, 1 Oct 2013 10:17:53 +0300
From: Ovidiu D <[email protected]>
To: The Haskell-Beginners Mailing List - Discussion of primarily
        beginner-level topics related to Haskell <[email protected]>
Subject: Re: [Haskell-beginners] scotty installation error
Message-ID:
        <cakvse7ss+lamfvdnecuwz-3xnjmoqb+a0swvx2dwji5lghp...@mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

$ cabal install scotty

...and it fixed the problem. It asked for reinstallation of a lot of
packages but in the end it seems ok.

Thanks!


On Tue, Oct 1, 2013 at 8:37 AM, David Johnson <[email protected]> wrote:

> Scotty 0.2.0 is quite old. Scotty 0.5.0 is out. Just try "cabal install
> scotty"
>
>
> On Tue, Oct 1, 2013 at 12:07 AM, Ovidiu D <[email protected]> wrote:
>
>> The ghc and cabal versions are:
>> $ ghc --version
>> The Glorious Glasgow Haskell Compilation System, version 7.4.2
>> $ cabal --version
>> cabal-install version 1.18.0.1
>> using version 1.18.1 of the Cabal library
>>
>>
>> On Tue, Oct 1, 2013 at 2:32 AM, Ovidiu D <[email protected]> wrote:
>>
>>> I'm trying to write a small web application starting from here:
>>> http://adit.io/posts/2013-04-15-making-a-website-with-haskell.html
>>>
>>> Resolving dependencies...
>>> Configuring scotty-0.2.0...
>>> Building scotty-0.2.0...
>>> Preprocessing library scotty-0.2.0...
>>>
>>> Web/Scotty.hs:35:8:
>>>     Could not find module `Control.Monad.Trans.Resource'
>>>     It is a member of the hidden package `resourcet-0.4.8'.
>>>     Perhaps you need to add `resourcet' to the build-depends in your
>>> .cabal file.
>>>     Use -v to see a list of the files searched for.
>>> Failed to install scotty-0.2.0
>>>
>>> My build-depends clause is the following:
>>>
>>>   build-depends:       base ==4.5.*
>>>                      , wai ==1.3.*
>>>                      , warp ==1.3.*
>>>                      , http-types ==0.7.*
>>>                      , resourcet
>>>                      , scotty
>>>                      , text
>>>                      , bytestring
>>>                      , blaze-html
>>>                      , persistent
>>>                      , persistent-template
>>>                      , persistent-sqlite
>>>                      , persistent-postgresql
>>>                      , heroku
>>>                      , transformers ==0.3.0.0
>>>                      , wai-middleware-static ==0.3.2
>>>                      , wai-extra
>>>                      , time
>>>                      , monad-logger ==0.2.4
>>>
>>>
>>>
>>> Any idea what is wrong with it?
>>>
>>> I also tried to use the dependencies list without any versions and I get 
>>> the same error
>>>
>>> Thanks
>>> ovidiu
>>>
>>>
>>>
>>
>> _______________________________________________
>> Beginners mailing list
>> [email protected]
>> http://www.haskell.org/mailman/listinfo/beginners
>>
>>
>
>
> --
> Cell: 1.630.740.8204
>
> _______________________________________________
> Beginners mailing list
> [email protected]
> http://www.haskell.org/mailman/listinfo/beginners
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://www.haskell.org/pipermail/beginners/attachments/20131001/07aea021/attachment-0001.html>

------------------------------

Message: 2
Date: Tue, 1 Oct 2013 19:10:18 +1000
From: Riaan <[email protected]>
To: [email protected]
Subject: [Haskell-beginners] Libzip for Haskell under Window
Message-ID:
        <CAGHWPqq1ya=b52cYQm9TAavuU=wzbgbrqiqzdlopu9qzxxr...@mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

I am using the Haskell Libzip package [
http://hackage.haskell.org/package/LibZip] to unzip a password protected
file.  This works great in OSX but I now need to build the application
using this package for Windows.

I have not been able to figure out how to get libzip [
http://www.nih.at/libzip/index.html] installed under windows so that cabal
can install the package.

I don't seem to be able to find a compiled binary anywhere.  Can anyone
help?

Thanks
Riaan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://www.haskell.org/pipermail/beginners/attachments/20131001/bec5a6b1/attachment-0001.html>

------------------------------

Message: 3
Date: Tue, 1 Oct 2013 09:46:56 +0000 (UTC)
From: q <[email protected]>
To: [email protected]
Subject: Re: [Haskell-beginners] Why html in platform?
Message-ID: <[email protected]>
Content-Type: text/plain; charset=us-ascii

Stephen Tetley <stephen.tetley <at> gmail.com> writes:

> > Is html included for some historical reason?
> Yes it was part of the extras that used to get shipped with GHC. With
release 6.12.1, the developers at GHC HQ moved out the non-core packages
into the Haskell Platform.

So is there any reason not to replace it with blaze-html, or just that
nobody's got around to it?



------------------------------

Message: 4
Date: Tue, 01 Oct 2013 13:43:59 +0200
From: "Henk-Jan van Tuyl" <[email protected]>
To: [email protected], Riaan <[email protected]>
Subject: Re: [Haskell-beginners] Libzip for Haskell under Window
Message-ID: <[email protected]>
Content-Type: text/plain; charset=iso-8859-15; format=flowed;
        delsp=yes

On Tue, 01 Oct 2013 11:10:18 +0200, Riaan <[email protected]> wrote:

> I have not been able to figure out how to get libzip [
> http://www.nih.at/libzip/index.html] installed under windows so that  
> cabal
> can install the package.
>
> I don't seem to be able to find a compiled binary anywhere.  Can anyone
> help?

You will have to compile the C package yourself, using MinGW (see the  
HaskellWiki page for Windows[0]). Start the MinGW shell with command 'sh'  
and follow the instructions in the file INSTALL.

Regards,
Henk-Jan van Tuyl

[0] http://www.haskell.org/haskellwiki/Windows#Tools_for_compilation


-- 
Folding@home
What if you could share your unused computer power to help find a cure? In  
just 5 minutes you can join the world's biggest networked computer and get  
us closer sooner. Watch the video.
http://folding.stanford.edu/


http://Van.Tuyl.eu/
http://members.chello.nl/hjgtuyl/tourdemonad.html
Haskell programming
--


------------------------------

Subject: Digest Footer

_______________________________________________
Beginners mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/beginners


------------------------------

End of Beginners Digest, Vol 64, Issue 2
****************************************

Reply via email to