[Haskell-cafe] Problem building HXQ on Mac OS 10.5.5

Tobias Kräntzer info at tobias-kraentzer.de
Tue Dec 2 12:49:56 EST 2008


I'm new to haskell and wonted to start tinkering a bit with this  
language, specifically with HXQ. I have installed ghc with macports.

Now while building HXQ I get the following error:

     Not in scope: type constructor or class `C.SomeException'

Unfortunately I'm also new to Mac OS X. Before I developed on Linux.
It would be great, if someone could give me a hint.


PS: Below the details

~$ cabal install hxq
Resolving dependencies...
'HXQ-0.11.0' is cached.
Configuring HXQ-0.11.0...
Preprocessing library HXQ-0.11.0...
Preprocessing executables for HXQ-0.11.0...
Building HXQ-0.11.0...
Loading package haskell98 ... linking ... done.
[20 of 21] Compiling Text.XML.HXQ.XQuery ( src/Text/XML/HXQ/XQuery.hs,  
dist/build/xquery/xquery-tmp/Text/XML/HXQ/XQuery.o )
[21 of 21] Compiling Main             ( Main.hs, dist/build/xquery/ 
xquery-tmp/Main.o )

     Not in scope: type constructor or class `C.SomeException'
cabal: Error: some packages failed to install:
HXQ-0.11.0 failed during the building phase. The exception was:
exit: ExitFailure 1

~$ ghc-pkg list
     Cabal-, HUnit-, QuickCheck-, array-,
     base-, base-, bytestring-, containers-,
     directory-, (dph-base-0.3), (dph-par-0.3),
     (dph-prim-interface-0.3), (dph-prim-par-0.3), (dph-prim-seq-0.3),
     (dph-seq-0.3), editline-, filepath-, (ghc-6.10.1),
     ghc-prim-, haddock-2.3.0, haskell-src-,
     haskell98-, hpc-, html-, integer-,
     mtl-, network-, old-locale-, old-time-,
     packedstring-, parallel-, parsec-,
     pretty-, process-, random-,
     regex-base-, regex-compat-, regex-posix-,
     rts-1.0, stm-, syb-, template-haskell-,
     time-, unix-, xhtml-3000.2.0.1

Tobias Kräntzer
info at tobias-kraentzer.de

More information about the Haskell-Cafe mailing list