Building pandoc via cabal on a Raspberry Pi 2 running Raspian doesn't work since there are compiler errors when building the Aeson dependency: Data/Aeson/TH.hs:745:11: Template Haskell bracket requires GHC with interpreter support Perhaps you are using a stage-1 compiler? [| parseTypeMismatch' |] cabal: Error: some packages failed to install: aeson-0.7.0.6 failed during the building phase. The exception was: ExitFailure 1 pandoc-1.16.0.2 depends on aeson-0.7.0.6 which failed to install. I guess it has to do with the GHC version (7.6.3) included in Raspian? On Monday, January 11, 2016 at 12:08:37 PM UTC+1, mb21 wrote: > > Pandoc is written in Haskell, so you'll have to build it using `cabal` or > `stack`. However once built, you can move the binary to your server: > > From [Installing Pandoc]( > http://pandoc.org/installing.html#creating-a-relocatable-binary): > > > It is possible to compile pandoc such that the data files pandoc uses > are embedded in the binary. (The executables in the binary are built this > way.) The resulting binary can be run from any directory and is completely > self-contained. > > cabal update > cabal install hsb2hs > cabal install --flags="embed_data_files" pandoc pandoc-citeproc > > > On Sunday, January 10, 2016 at 1:49:11 PM UTC+1, Jan Ulrich Hasecke wrote: >> >> Hi, >> >> does anyone installed pandoc on a Raspberry Pi? >> >> juh >> >> -- >> Das ZEN von Pandoc >> Bücher und E-Books einfach und professionell produzieren >> http://www.amazon.de/Das-ZEN-von-Pandoc-professionell/dp/1505218799/ >> Paperback (232 Seiten) und E-Book >> > -- 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/e3daebd4-5d26-4fad-bdae-dd06e59e507a%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.