[Haskell] Problems compiling hs-plugins

Benjamin Franksen benjamin.franksen at bessy.de
Fri Mar 3 08:21:19 EST 2006


Please, can anyone help me with this problem:

I just downloaded hs-plugins version 1.0-rc0. (BTW, the stable version 
is not accessible). I configure it (according to the README) and 
everything seems to be ok. However when I try to build it, I get:

aare: .../haskell/hs-plugins > ./Setup.lhs build
Setup.lhs: Warning: The field "hs-source-dir" is deprecated, please use 
hs-source-dirs.
Preprocessing library plugins-1.0...
Building plugins-1.0...
Chasing modules from: 
AltData.Dynamic,AltData.Typeable,Language.Hi.Binary,Language.Hi.FastMutInt,Language.Hi.FastString,Language.Hi.Parser,Language.Hi.PrimPacked,Language.Hi.Syntax,System.Eval,System.Eval.Haskell,System.Eval.Utils,System.MkTemp,System.Plugins,System.Plugins.Consts,System.Plugins.Env,System.Plugins.Load,System.Plugins.LoadTypes,System.Plugins.Make,System.Plugins.Package,System.Plugins.PackageAPI,System.Plugins.ParsePkgConfCabal,System.Plugins.Parser,System.Plugins.Process,System.Plugins.Utils
[ 1 of 24] Compiling AltData.Typeable ( src/AltData/Typeable.hs, 
dist/build/AltData/Typeable.o )

src/AltData/Typeable.hs:452:0:
    parse error (possibly incorrect indentation)


Looking at the source reveals that src/AltData/Typeable.hs contains 
macro calls to generate instances for class Typeable<N>, e.g. 

INSTANCE_TYPEABLE1([],listTc,"[]")

However, I could not find any definition for these macros. Nor does the 
package docs mention what to install in order to get them.

Any ideas? Don?

Ben


More information about the Haskell mailing list