[Haskell-cafe] C2HS issues on Hackage

Michael Snoyman michael at snoyman.com
Tue Aug 4 00:07:54 EDT 2009


Hi all,

I've written a Yaml library built on top of libyaml (the same C library at
the core of Python's yaml library). All is well on my local system and my
server; I'm currently using it in production. However, the build is failing
on Hackage with the following build log:
http://hackage.haskell.org/packages/archive/yaml/0.0.1/logs/failure/ghc-6.10
.

It seems that whichever version of C2HS is installed on the server does not
allow "type" (or perhaps other keywords?) to be used as C identifiers.
Unfortunately, "type" is the name of a field in a C struct I need to
integrate with. It's obviously not vital that I get it to compile on
hackage, but 1) I'm worried this is a sign of a bigger problem, and 2) it's
always nice to have the API documentation available online.

Any suggestions?

Thanks,
Michael
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20090803/59170fc2/attachment.html


More information about the Haskell-Cafe mailing list