From: Simon P <simon-5SPO0HlndBJGWvitb5QawA@public.gmane.org>
To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
Subject: Re: Install pandoc on Raspberry Pi ARM
Date: Wed, 20 Jan 2016 13:31:30 +0100 [thread overview]
Message-ID: <569F7E22.5010201@le-huit.fr> (raw)
In-Reply-To: <20160119011858.GA30730-4kKid1p5UN5kRMcaKpzQXBvRwXAb8BAkh13vi7wywA4@public.gmane.org>
Hi,
I have built pandoc 1.11.1 on Raspbian based on Debian Wheezy.
https://www.le-huit.fr/dev/pdctools/INSTALL.html#install-on-raspberry-pi
A more recent pandoc version requires vector-0.10.12.2 that requires
ghci that is not available on my raspbian.
The situation is maybe different on the new Raspbian based on Debian Jessie.
Simon.
Le 19/01/2016 02:18, John MACFARLANE a écrit :
> PS. there's an ARMv7 linux binary for GHC 7.10.2
> https://www.haskell.org/ghc/download_ghc_7_10_2
> That might work.
>
> +++ John MACFARLANE [Jan 18 16 17:17 ]:
>> Sounds like ghc 7.8 might work for you (including Template
>> Haskell).
>> http://smart-cactus.org/~ben/posts/2014-03-06-compiling-ghc-7.8-on-arm.html
>>
>>
>> +++ Florian Cramer [Jan 18 16 12:29 ]:
>>> 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]([1]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
>>> [2]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 [3]pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>>> To post to this group, send email to
>>> [4]pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>>> To view this discussion on the web visit
>>> [5]https://groups.google.com/d/msgid/pandoc-discuss/e3daebd4-5d26-4fad-
>>> bdae-dd06e59e507a%40googlegroups.com.
>>> For more options, visit [6]https://groups.google.com/d/optout.
>>>
>>> References
>>>
>>> 1. http://pandoc.org/installing.html#creating-a-relocatable-binary
>>> 2. http://www.amazon.de/Das-ZEN-von-Pandoc-professionell/dp/1505218799/
>>> 3. mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
>>> 4. mailto:pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
>>> 5.
>>> https://groups.google.com/d/msgid/pandoc-discuss/e3daebd4-5d26-4fad-bdae-dd06e59e507a-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org?utm_medium=email&utm_source=footer
>>>
>>> 6. https://groups.google.com/d/optout
>>
>
--
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/569F7E22.5010201%40le-huit.fr.
For more options, visit https://groups.google.com/d/optout.
next prev parent reply other threads:[~2016-01-20 12:31 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-10 12:49 Jan Ulrich Hasecke
[not found] ` <56925342.2000901-cl+VPiYnx/1AfugRpC6u6w@public.gmane.org>
2016-01-10 14:23 ` Axel Kielhorn
2016-01-11 11:08 ` mb21
[not found] ` <d70dcdb8-d44a-4b54-9307-4c22fe07fdd2-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2016-01-18 20:29 ` Florian Cramer
[not found] ` <e3daebd4-5d26-4fad-bdae-dd06e59e507a-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2016-01-19 1:17 ` John MACFARLANE
[not found] ` <20160119011730.GA30578-4kKid1p5UN5kRMcaKpzQXBvRwXAb8BAkh13vi7wywA4@public.gmane.org>
2016-01-19 1:18 ` John MACFARLANE
[not found] ` <20160119011858.GA30730-4kKid1p5UN5kRMcaKpzQXBvRwXAb8BAkh13vi7wywA4@public.gmane.org>
2016-01-20 12:31 ` Simon P [this message]
2016-05-11 9:23 ` kurt.pfeifle via pandoc-discuss
[not found] ` <f9c9e5dc-5e30-4d0e-b229-37e8db8fa8fd-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2016-05-11 16:27 ` kurt.pfeifle via pandoc-discuss
[not found] ` <6f50ef58-a91e-4bf6-9371-9c136d4053ca-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2016-05-11 16:47 ` Joost Kremers
[not found] ` <154a0b75ca0.27ea.f7cab59eedd5157033ccb454e473dbca-97jfqw80gc6171pxa8y+qA@public.gmane.org>
2016-05-12 13:29 ` kurt.pfeifle via pandoc-discuss
[not found] ` <6a79b5f9-7c95-41dc-842e-ce72af60172c-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2016-07-06 9:51 ` Jurij Smrke
[not found] ` <27899e7e-fdf0-4144-b8c3-670cf8f1aa9d-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2016-07-06 9:52 ` Jurij Smrke
2016-07-06 19:19 ` kurt.pfeifle via pandoc-discuss
[not found] ` <0c02ef72-ffa2-44cc-bff5-ec5f53b4aac9-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2016-07-07 7:42 ` Jurij Smrke
2017-07-15 21:23 ` Harley Day
[not found] ` <31fa8b71-5432-4c74-94a5-d1c973b39e42-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2017-07-29 20:16 ` Harley Day
2016-05-11 17:16 ` John MACFARLANE
[not found] ` <20160511171612.GA79559-nFAEphtLEs/fysO+viCLMa55KtNWUUjk@public.gmane.org>
2016-05-11 21:38 ` kurt.pfeifle via pandoc-discuss
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=569F7E22.5010201@le-huit.fr \
--to=simon-5spo0hlndbjgwvitb5qawa@public.gmane.org \
--cc=pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).