[Haskell-cafe] Problems with split-objs

Magnus Therning magnus at therning.org
Mon Nov 26 17:48:37 EST 2007

I've followed the instructions at [1] to create a .deb of vty[2].  It
seems the helper scripts for Debian passes `--enable-split-obj' when
running `./Setup.lhs configure'.  This results in numerous multiple
definitions of stuff.  I have a few questions regarding this...

I think I understand what --split-objs does, but why doesn't it work for
vty?  I've debianised other haskell libs using the same method without
problems.  The only difference I can see is that vty uses FFI.  Is that
what causes the problems?

How do I fix this?  I'd rather not go in and manually change any
automatically generated files, and the file that passes
`--enable-split-objs' is automatically generated :(


[2]: http://hackage.haskell.org/cgi-bin/hackage-scripts/package/vty-3.0.0

Magnus Therning                             (OpenPGP: 0xAB4DFBA4)
magnus@therning.org             Jabber: magnus.therning@gmail.com

What if I don't want to obey the laws? Do they throw me in jail with
the other bad monads?
     -- Daveman

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: OpenPGP digital signature
Url : http://www.haskell.org/pipermail/haskell-cafe/attachments/20071126/653e3afe/signature.bin

More information about the Haskell-Cafe mailing list