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 <a...@2piix.com>:
> Consider the following bash session:
>
> [ a...@kizaru:~/ ]$ which trhsx
> /home/ajs/.cabal/bin/trhsx
>
> [ a...@kizaru:~/ ]$ trhsx
> Usage: trhsx <infile> [<outfile>]
>
> [ 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 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@haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to