Re: [Haskell-cafe] Build problems (hsp, trhsx, ultimately Happstack)

2010-05-01 Thread Alexander Solla
On May 1, 2010, at 10:54 AM, Warren Harris wrote: I think I'll have to wait for Jeremy's update. On the plus side, the comments/source in the tutorial are pretty good to follow the source along as an example, even if you don't compile and run them. I didn't bother installing happstack-tu

Re: [Haskell-cafe] Build problems (hsp, trhsx, ultimately Happstack)

2010-05-01 Thread Warren Harris
On May 1, 2010, at 10:48 AM, Daniel Fischer wrote: Add a --constraint="base>=4" That should fix containers-0.2.0.1, but it might break something else. Sorry... $ cabal install --constraint="Crypto<4.2.1" -- constraint="HJScript<0.5" --constraint="base>=4" happs-tutorial Resolving depende

Re: [Haskell-cafe] Build problems (hsp, trhsx, ultimately Happstack)

2010-05-01 Thread Daniel Fischer
Am Samstag 01 Mai 2010 19:06:33 schrieb Warren Harris: > On May 1, 2010, at 3:39 AM, Daniel Fischer wrote: > > Try > > > > $ cabal install --constraint="Crypto<4.2.1" -- > > constraint="HJScript<0.5" > > happs-tutorial > > This had the same problem building containers: > > Building containers-0.2.

Re: [Haskell-cafe] Build problems (hsp, trhsx, ultimately Happstack)

2010-05-01 Thread Warren Harris
On May 1, 2010, at 3:39 AM, Daniel Fischer wrote: Try $ cabal install --constraint="Crypto<4.2.1" -- constraint="HJScript<0.5" happs-tutorial This had the same problem building containers: Building containers-0.2.0.1... Data/IntMap.hs:182:7: Could not find module `Data.Data':

Re: [Haskell-cafe] Build problems (hsp, trhsx, ultimately Happstack)

2010-05-01 Thread Jeremy Shaw
Hello, I would recommend: darcs get --lazy http://patch-tag.com/r/mae/happstack cd happstack chmod +x bin/build-install-all.sh ./bin/build-install-all.sh This should install the latest version of happstack from darcs which resolves most install problems. I intend to release it any minute now,

Re: [Haskell-cafe] Build problems (hsp, trhsx, ultimately Happstack)

2010-05-01 Thread Daniel Fischer
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 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

Re: [Haskell-cafe] Build problems (hsp, trhsx, ultimately Happstack)

2010-05-01 Thread Warren Harris
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 probl

Re: [Haskell-cafe] Build problems (hsp, trhsx, ultimately Happstack)

2010-05-01 Thread Ivan Lazar Miljenovic
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 fou

Re: [Haskell-cafe] Build problems (hsp, trhsx, ultimately Happstack)

2010-05-01 Thread Warren Harris
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 t

Re: [Haskell-cafe] Build problems (hsp, trhsx, ultimately Happstack)

2010-05-01 Thread Alexander Solla
On Apr 30, 2010, at 11:28 PM, Warren Harris wrote: $ cabal install happstack Resolving dependencies... cabal: cannot configure HJScript-0.5.0. It requires hsx >=0.7.0 For the dependency on hsx >=0.7.0 there are these packages: hsx-0.7.0. However none of them are available. hsx-0.7.0 was excl

Re: [Haskell-cafe] Build problems (hsp, trhsx, ultimately Happstack)

2010-05-01 Thread Ivan Lazar Miljenovic
Warren Harris writes: > I thought I'd install happstack to give it a try, but immediately hit > the following build problem: > > $ cabal install happstack > Resolving dependencies... > cabal: cannot configure HJScript-0.5.0. It requires hsx >=0.7.0 > For the dependency on hsx >=0.7.0 there are th

Re: [Haskell-cafe] Build problems (hsp, trhsx, ultimately Happstack)

2010-04-30 Thread Warren Harris
I thought I'd install happstack to give it a try, but immediately hit the following build problem: $ cabal install happstack Resolving dependencies... cabal: cannot configure HJScript-0.5.0. It requires hsx >=0.7.0 For the dependency on hsx >=0.7.0 there are these packages: hsx-0.7.0. However

Re: [Haskell-cafe] Build problems (hsp, trhsx, ultimately Happstack)

2010-04-26 Thread Daniel Fischer
Am Montag 26 April 2010 22:23:42 schrieb Gregory Collins: > Alexander Solla writes: > > On Apr 26, 2010, at 12:30 PM, Jeremy Shaw wrote: > >> Does trying to install hsp-0.5.1 work any better? > > > > I hadn't tried it, since it forces hsx-0.7 to install. But I gave it > > a shot, and it fails the

Re: [Haskell-cafe] Build problems (hsp, trhsx, ultimately Happstack)

2010-04-26 Thread Alexander Solla
On Apr 26, 2010, at 1:23 PM, Gregory Collins wrote: Is "$HOME/.cabal/bin" on your $PATH? Argh. I had "~/.cabal/bin" in my $PATH instead of "$HOME/.cabal/bin". I'm still not sure what the semantic difference is in this use case, but one ($HOME) works and the other (~/) doesn't. Thanks

Re: [Haskell-cafe] Build problems (hsp, trhsx, ultimately Happstack)

2010-04-26 Thread Gregory Collins
Alexander Solla writes: > On Apr 26, 2010, at 12:30 PM, Jeremy Shaw wrote: > >> >> Does trying to install hsp-0.5.1 work any better? > > I hadn't tried it, since it forces hsx-0.7 to install. But I gave it a shot, > and it fails the same way: > > [ a...@kizaru:~/ ]$ cabal install hsp-0.5.1 > Res

Re: [Haskell-cafe] Build problems (hsp, trhsx, ultimately Happstack)

2010-04-26 Thread Alexander Solla
On Apr 26, 2010, at 12:30 PM, Jeremy Shaw wrote: Does trying to install hsp-0.5.1 work any better? I hadn't tried it, since it forces hsx-0.7 to install. But I gave it a shot, and it fails the same way: [ a...@kizaru:~/ ]$ cabal install hsp-0.5.1 Resolving dependencies... Configuring hs

Re: [Haskell-cafe] Build problems (hsp, trhsx, ultimately Happstack)

2010-04-26 Thread Jeremy Shaw
Hello, Does trying to install hsp-0.5.1 work any better? - jeremy On Apr 26, 2010, at 12:27 PM, Alexander Solla wrote: On Apr 23, 2010, at 2:59 PM, Thomas Hartman wrote: So, you might need to -- upgrade hsx -- make sure that the upgraded trhsx executable is the one being executed by cabal

Re: [Haskell-cafe] Build problems (hsp, trhsx, ultimately Happstack)

2010-04-26 Thread Alexander Solla
On Apr 23, 2010, at 2:59 PM, Thomas Hartman wrote: So, you might need to -- upgrade hsx -- make sure that the upgraded trhsx executable is the one being executed by cabal install hsx (maybe deleting/temporarily moving other trhsx exes) Unfortunately, this suggestion didn't work out for me. I

Re: [Haskell-cafe] Build problems (hsp, trhsx, ultimately Happstack)

2010-04-23 Thread Thomas Hartman
I've had this problem too. I believe trhsx is installed by http://hackage.haskell.org/package/hsx So, you might need to -- upgrade hsx -- make sure that the upgraded trhsx executable is the one being executed by cabal install hsx (maybe deleting/temporarily moving other trhsx exes) thomas. 201

[Haskell-cafe] Build problems (hsp, trhsx, ultimately Happstack)

2010-04-22 Thread Alexander Solla
Consider the following bash session: [ a...@kizaru:~/ ]$ which trhsx /home/ajs/.cabal/bin/trhsx [ a...@kizaru:~/ ]$ trhsx Usage: trhsx [] [ a...@kizaru:~/ ]$ cabal install hsp Resolving dependencies... Configuring hsp-0.4.5... Preprocessing library hsp-0.4.5... Building hsp-0.4.5... ghc: could