[Haskell-cafe] Failure to load hmatric

dlb at patriot.net dlb at patriot.net
Tue Feb 2 13:59:43 EST 2010

OK, I'm working on matrix stuff in Haskell now (I've been trying to get
the professor to approve that) and when I use cabal install to install
hmatrix, it fails at HUnit with:
Configuring HUnit-
Preprocessing library HUnit-
Preprocessing executables for HUnit-
Building HUnit-
[1 of 5] Compiling Test.HUnit.Terminal ( Test/HUnit/Terminal.hs,
dist/build/Test/HUnit/Terminal.o )
[2 of 5] Compiling Test.HUnit.Lang  ( Test/HUnit/Lang.hs,
dist/build/Test/HUnit/Lang.o )
[3 of 5] Compiling Test.HUnit.Base  ( Test/HUnit/Base.hs,
dist/build/Test/HUnit/Base.o )
[4 of 5] Compiling Test.HUnit.Text  ( Test/HUnit/Text.hs,
dist/build/Test/HUnit/Text.o )
[5 of 5] Compiling Test.HUnit       ( Test/HUnit.hs,
dist/build/Test/HUnit.o )
/usr/bin/ar: creating dist/build/libHSHUnit-

Test/HUnit/Lang.hs:22:1: lexical error at character 'i'
cabal: Error: some packages failed to install:
HUnit- failed during the building phase. The exception was:
exit: ExitFailure 1

Short term question:  what the heck do I do with this?

Long term question: how can I handle cabal failures of this type without
bothering the list every time?

Dave Barton
University of Toronto

More information about the Haskell-Cafe mailing list