[Haskell-cafe] 'cabal install lhs2tex' fails for me on os x -- help please

Conal Elliott conal at conal.net
Mon Jul 27 14:23:07 EDT 2009


Fails during configuration:

bash-3.2$ cabal install lhs2tex
    Resolving dependencies...
    [1 of 1] Compiling Main             (
/tmp/lhs2tex-1.1423397/lhs2tex-1.14/Setup.hs,
/tmp/lhs2tex-1.1423397/lhs2tex-1.14/dist/setup/Main.o )
    Linking /tmp/lhs2tex-1.1423397/lhs2tex-1.14/dist/setup/setup ...
    Configuring lhs2tex-1.14...
    cabal: Error: some packages failed to install:
    lhs2tex-1.14 failed during the configure step. The exception was:
    exit: ExitFailure 11

Note that the the first module to be compiled is Main.  On my linux machine,
Main is the *last* of several modules to be compiled.

Here's my failure log:
http://moonpatio.com/fastcgi/hpaste.fcgi/view?id=3096#a3096 .

If instead I use ./configure and make, i get errors due to use of the old
Exception API:

    ...
    [17 of 19] Compiling FileNameUtils    ( FileNameUtils.lhs,
FileNameUtils.o )

    FileNameUtils.lhs:81:35:
        Ambiguous type variable `b' in the constraint:
          `GHC.Exception.Exception b'
            arising from a use of `catch' at
FileNameUtils.lhs:(81,35)-(89,60)
        Probable fix: add a type signature that fixes these type variable(s)
    ...

Suggestions greatly appreciated!

   - Conal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20090727/d14eac43/attachment.html


More information about the Haskell-Cafe mailing list