Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Can't install the happstack tutorial
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
MATTHEW MUNZ  
View profile  
 More options Apr 17 2010, 4:24 pm
From: MATTHEW MUNZ <mattm...@mac.com>
Date: Sat, 17 Apr 2010 13:24:33 -0700
Local: Sat, Apr 17 2010 4:24 pm
Subject: Can't install the happstack tutorial
Hi all,

  I'm having trouble installing the Happstack tutorial.  Cabal is complaining about the dependency on QuickCheck [1].  I'm not familiar with cabal -- is there some workaround for this issue?

[1]
MATTHEW-MUNZs-iMac:happstack-tutorial matthewmunz$ cabal install
Resolving dependencies...
cabal: cannot configure Crypto-4.2.1. It requires QuickCheck >=2
For the dependency on QuickCheck >=2 there are these packages: QuickCheck-2.1,
QuickCheck-2.1.0.1, QuickCheck-2.1.0.2 and QuickCheck-2.1.0.3. However none of
them are available.
QuickCheck-2.1 was excluded because happstack-util-0.4.1 requires QuickCheck
<2
QuickCheck-2.1 was excluded because MissingH-1.0.3 requires QuickCheck >=1.0
&& <2.0
QuickCheck-2.1.0.1 was excluded because happstack-util-0.4.1 requires
QuickCheck <2
QuickCheck-2.1.0.1 was excluded because MissingH-1.0.3 requires QuickCheck

>=1.0 && <2.0

QuickCheck-2.1.0.2 was excluded because happstack-util-0.4.1 requires
QuickCheck <2
QuickCheck-2.1.0.2 was excluded because MissingH-1.0.3 requires QuickCheck
>=1.0 && <2.0

QuickCheck-2.1.0.3 was excluded because happstack-util-0.4.1 requires
QuickCheck <2
QuickCheck-2.1.0.3 was excluded because MissingH-1.0.3 requires QuickCheck

>=1.0 && <2.0

  - Matt Munz
    mattm...@mac.com

--
You received this message because you are subscribed to the Google Groups "HAppS" group.
To post to this group, send email to happs@googlegroups.com.
To unsubscribe from this group, send email to happs+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/happs?hl=en.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
MATTHEW MUNZ  
View profile  
 More options Apr 17 2010, 4:49 pm
From: MATTHEW MUNZ <mattm...@mac.com>
Date: Sat, 17 Apr 2010 13:49:48 -0700
Local: Sat, Apr 17 2010 4:49 pm
Subject: Re: Can't install the happstack tutorial

Hi all,

  I also tried runhaskell Setup configure and I get the following error. [1]

  cabal install happstack also doesn't work.  It fails because hsp won't install, and it looks like hsp won't install because trhsx is missing.  When I tried cabal install trhsx I get another error. [2]

  It seems to be a little difficult to get up and running with Happstack.  Any help would be appreciated.

[1]
MATTHEW-MUNZs-iMac:happstack-tutorial matthewmunz$ runhaskell Setup configure
Configuring happs-tutorial-0.9.4...
Setup: At least the following dependencies are missing:
DebugTraceHelpers >=0.12 && <0.20,
HStringTemplate >=0.6,
HStringTemplateHelpers >=0.0.14 && <1.0.0,
containers >=0.2.0.0 && <0.3.0.0,
happstack ==0.4.*,
happstack-data ==0.4.*,
happstack-helpers ==0.49.*,
happstack-ixset ==0.4.*,
happstack-server ==0.4.*,
happstack-state ==0.4.*,
hscolour ==1.13,
pureMD5 >=1.0.0.0 && <1.1.0.0,
safe ==0.2.*

[2]
MATTHEW-MUNZs-iMac:Applications matthewmunz$ cabal install trhsx
Resolving dependencies...
Downloading trhsx-0.2.2...
Configuring trhsx-0.2.2...
Preprocessing library trhsx-0.2.2...
Building trhsx-0.2.2...
[1 of 1] Compiling Trhsx            ( Trhsx.hs, dist/build/Trhsx.o )

Trhsx.hs:1:0:
    Failed to load interface for `Prelude':
      It is a member of the hidden package `base'.
      Perhaps you need to add `base' to the build-depends in your .cabal file.
      It is a member of the hidden package `base-3.0.3.2'.
      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:
trhsx-0.2.2 failed during the building phase. The exception was:
ExitFailure 1

  - Matt Munz
    mattm...@mac.com

On Apr 17, 2010, at 1:24 PM, MATTHEW MUNZ wrote:

--
You received this message because you are subscribed to the Google Groups "HAppS" group.
To post to this group, send email to happs@googlegroups.com.
To unsubscribe from this group, send email to happs+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/happs?hl=en.

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Gracjan Polak  
View profile  
 More options Apr 18 2010, 2:52 pm
From: Gracjan Polak <gracjanpo...@gmail.com>
Date: Sun, 18 Apr 2010 11:52:03 -0700 (PDT)
Local: Sun, Apr 18 2010 2:52 pm
Subject: Re: Can't install the happstack tutorial

On 17 Kwi, 22:49, MATTHEW MUNZ <mattm...@mac.com> wrote:

>   cabal install happstack also doesn't work.  It fails because hsp won't install, and it looks like hsp won't install because trhsx is missing.  
> When I tried cabal install trhsx I get another error. [2]

AFAIK package trhsx is not used anymore. The trhsx program is inside
the hsx package now and this is all you need to install.

Rest of your mail is a mystery to me. For me "cabal install happstack"
just worked. I never tried to use tutorial, because I found simpler
way:

happstack new project myproject

The above shell command should create a standard GuestBook example in
myproject directory. It is quite easy to follow from then on. I
think... :)

--
Gracjan

--
You received this message because you are subscribed to the Google Groups "HAppS" group.
To post to this group, send email to happs@googlegroups.com.
To unsubscribe from this group, send email to happs+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/happs?hl=en.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »