It seems like that was an error in the package itself. This [question]( http://stackoverflow.com/q/17361047/912144) and its answer have the solution. On Fri, Jun 28, 2013 at 11:23 AM, Shahbaz Youssefi wrote: > Thank you for the pointer. I am in the process of updating libpandoc to > work with pandoc 1.11 (actually above 1.10) where I came to a build issue > that I'm not sure how to resolve. > > Loading package regex-pcre-builtin-0.94.4.6.8.31 ... linking ... ghc: > /home/XXXX/.cabal/lib/regex-pcre-builtin-0.94.4.6.8.31/ghc-7.4.1/HSregex-pcre-builtin-0.94.4.6.8.31.o: > unknown symbol `utf8_table4' > ghc: unable to load package `regex-pcre-builtin-0.94.4.6.8.31' > > Trying to reinstall regex-pcre-builtin with cabal gives a warning that it > may break pandoc. > > The offending source code is this: > > {-# LANGUAGE TemplateHaskell #-} > > module LibPandoc.Instances where > > import Data.Data > import Data.DeriveTH > import Text.Pandoc > import Text.Pandoc.Shared > > $( derive makeTypeable ''ReaderOptions ) > $( derive makeData ''ReaderOptions ) > $( derive makeTypeable ''WriterOptions ) > $( derive makeData ''WriterOptions ) > $( derive makeTypeable ''HTMLMathMethod ) > $( derive makeData ''HTMLMathMethod ) > $( derive makeTypeable ''ObfuscationMethod ) > $( derive makeData ''ObfuscationMethod ) > > Can you see anything wrong there? > > Thank you again for the help, > Shahbaz > > On Wed, Jun 26, 2013 at 7:14 PM, John MacFarlane wrote: > >> There is >> https://github.com/toyvo/libpandoc >> but I'm not sure when it was last updated. >> >> +++ Shahbaz Youssefi [Jun 26 13 09:32 ]: >> > Hi, >> > I just came to know pandoc and it seems wonderful and I'm planning on >> > using it in a project of mine. My project however is written in C. >> > Given that making C bindings is a common operation for many languages >> > (and I saw that for Haskell it too is possible), I was wondering if >> > pandoc has any C bindings? If not, would it be a possibility to make >> > those bindings? >> > I know very basic Haskell, but I might be able to make the bindings >> > myself with some struggle, if the developers are interested.. >> > Thank you, >> > Shahbaz >> > >> > -- >> > You received this message because you are subscribed to the Google >> > Groups "pandoc-discuss" group. >> > To unsubscribe from this group and stop receiving emails from it, >> send >> > an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >> > To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org >> . >> > To view this discussion on the web visit >> > [1] >> https://groups.google.com/d/msgid/pandoc-discuss/cc84a902-1bc5-433f- >> > b176-ce71dd8e3acd%40googlegroups.com. >> > For more options, visit [2]https://groups.google.com/groups/opt_out. >> > >> > References >> > >> > 1. >> https://groups.google.com/d/msgid/pandoc-discuss/cc84a902-1bc5-433f-b176-ce71dd8e3acd%40googlegroups.com >> > 2. https://groups.google.com/groups/opt_out >> >> -- >> You received this message because you are subscribed to the Google Groups >> "pandoc-discuss" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >> To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/pandoc-discuss/20130626171432.GA1663%40protagoras.phil.berkeley.edu >> . >> For more options, visit https://groups.google.com/groups/opt_out. >> >> >> > -- You received this message because you are subscribed to the Google Groups "pandoc-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/CALeOzZ-Gf%3DQTQdWa6yb8yG3EWiOUE1kmmUHwT9Axj6aHgPhedQ%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out.