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

Thomas Hartman tphyahoo at gmail.com
Fri Apr 23 17:59:42 EDT 2010


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.

2010/4/22 Alexander Solla <ajs at 2piix.com>:
> Consider the following bash session:
>
> [ ajs at kizaru:~/ ]$ which trhsx
> /home/ajs/.cabal/bin/trhsx
>
> [ ajs at kizaru:~/ ]$ trhsx
> Usage: trhsx <infile> [<outfile>]
>
> [ ajs at kizaru:~/ ]$ cabal install hsp
> Resolving dependencies...
> Configuring hsp-0.4.5...
> Preprocessing library hsp-0.4.5...
> Building hsp-0.4.5...
> ghc: could not execute: trhsx
> cabal: Error: some packages failed to install:
> hsp-0.4.5 failed during the building phase. The exception was:
> ExitFailure 1
>
> Does anybody have any suggestions?  I'm trying to install Happstack on Arch
> Linux (GHC 6.12.1).   ~/.cabal/bin/ is in my path and trhsx runs.
>
> I've had this problem before, and I think I ran cabal as root for the HSP
> package.  That's not working this time.  I get the same failure.
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>


More information about the Haskell-Cafe mailing list