From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/14315 Path: news.gmane.org!not-for-mail From: Florian Cramer Newsgroups: gmane.text.pandoc Subject: Re: Install pandoc on Raspberry Pi ARM Date: Mon, 18 Jan 2016 12:29:02 -0800 (PST) Message-ID: References: <56925342.2000901@mailbox.org> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_903_611673778.1453148942274" X-Trace: ger.gmane.org 1453148953 14456 80.91.229.3 (18 Jan 2016 20:29:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 18 Jan 2016 20:29:13 +0000 (UTC) Cc: juh+pandoc-cl+VPiYnx/1AfugRpC6u6w@public.gmane.org To: pandoc-discuss Original-X-From: pandoc-discuss+bncBCQL5QHVQ4ERBD4W6W2AKGQEIBPH64A-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mon Jan 18 21:29:05 2016 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-io0-f189.google.com ([209.85.223.189]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aLGQC-0007mN-QR for gtp-pandoc-discuss@m.gmane.org; Mon, 18 Jan 2016 21:29:04 +0100 Original-Received: by mail-io0-f189.google.com with SMTP id q21sf86921675iod.1 for ; Mon, 18 Jan 2016 12:29:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20120806; h=date:from:to:cc:message-id:in-reply-to:references:subject :mime-version:content-type:x-original-sender:reply-to:precedence :mailing-list:list-id:x-spam-checked-in-group:list-post:list-help :list-archive:sender:list-subscribe:list-unsubscribe; bh=z8N3raYQxx2etHss43WlG53Cbzt9wqOvTQwjOPP0kSk=; b=M6Sr2DqdSD05a2DjcII4P9G77eR5FY7rpblGFuJ74i3hkDODb1OU/Mz9MRgTiRicH4 JzbiK5KaEvbnwATwzWFwGDGl4qOfVrnGXducyslKR2BR+bv1LV95rebCePDegmbwop8d oddzhchundP6giGu1v45RTBZ4ckz/Bj0w35xMcuXG5juue9fvTLOR4VB4iFogHcklz11 LIo3Xoe4Q9S7ujFpxThFItskS4olinwsMnvb3NwlloF0msqXv7KyZli7nQ7tkhr7EO+M R/6tZ/0ZKaYuCyByyIOCIjYpEVIs/oDdcW8T/b2n5xG1v90CLYn8/g2YbqcPDOXD4Hc8 nKkA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:message-id:in-reply-to:references:subject :mime-version:content-type:x-original-sender:reply-to:precedence :mailing-list:list-id:x-spam-checked-in-group:list-post:list-help :list-archive:sender:list-subscribe:list-unsubscribe; bh=z8N3raYQxx2etHss43WlG53Cbzt9wqOvTQwjOPP0kSk=; b=YWquygykemG17TSOhBQvQJ70RmXoEprVwajFGUMiQQS8BQcXyTqpUTVNVhSqBN6pDa Gwz09rK26Pkzp9GMiy0EvyUDm1TAImt2Q+zy8I0Cw++1Xhda3CPcvY/yik2OHEEWTgy7 U1+RZjlsPQhEP1dHDUUhB3Wd1ONjEta2F7EwWg+Y+Zq+jsZewMmn0VaKRVLZKUHB+YjV KZBKqmJgBbG+OnuniXZA4dZQU5sMQdNcsNDf9lmpAYoDdLD5lCi/SygGAZDQtrC6uuv0 tl+YreTQlxpPcoW96NY/y265LbbiP36YhM0piKnrnr9CQLLK/0SaITJPunBD+1wQqIOm f1+g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:message-id:in-reply-to :references:subject:mime-version:content-type:x-original-sender :reply-to:precedence:mailing-list:list-id:x-spam-checked-in-group :list-post:list-help:list-archive:sender:list-subscribe :list-unsubscribe; bh=z8N3raYQxx2etHss43WlG53Cbzt9wqOvTQwjOPP0kSk=; b=fxadNMhNQzGWbDyEvP6y8IcgL3eglNIk1agCR3M0SIIg6RTJENp0wjE2E14+Z28rAx tYEcftovKjiDzRR6bp9gp2UnGoHnmpIenm5R++J4SdIROMWCnEaxAAyZZGeTmBbchRL0 rQopdZxheqvaYwTBgxqPYFcg0opk/xyYfSmLhfH2YzlTIjqdcgsTzaYhkkdbMkimmPVW 3i2ckS2wfXyqxFtvjrzjPNz+sSYBvtx6qVhKca6xL4i3u1kMwnP0RwpWVGBI/qGWA4R+ tnhO5Gwnxk/BEZScikuTck8SPAWu/BnFSBPc2YPzwXehxpxGce/ymlmQDCios1crAvct lxig== X-Gm-Message-State: AG10YORlnKWeBmZaJdLHdhXC7QKyD7HzP9vDI6Eg98WfM0jtbjdvIDAwQmgcwC9bUl1WSA== X-Received: by 10.50.25.196 with SMTP id e4mr242753igg.8.1453148943803; Mon, 18 Jan 2016 12:29:03 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 10.107.7.81 with SMTP id 78ls1576216ioh.0.gmail; Mon, 18 Jan 2016 12:29:03 -0800 (PST) X-Received: by 10.50.136.193 with SMTP id qc1mr242492igb.6.1453148943231; Mon, 18 Jan 2016 12:29:03 -0800 (PST) In-Reply-To: X-Original-Sender: flrncrmr-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org Precedence: list Mailing-list: list pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org; contact pandoc-discuss+owners-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org List-ID: X-Spam-Checked-In-Group: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Google-Group-Id: 1007024079513 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Xref: news.gmane.org gmane.text.pandoc:14315 Archived-At: ------=_Part_903_611673778.1453148942274 Content-Type: multipart/alternative; boundary="----=_Part_904_2083895570.1453148942275" ------=_Part_904_2083895570.1453148942275 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Building pandoc via cabal on a Raspberry Pi 2 running Raspian doesn't work= =20 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= =20 > `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= =20 > are embedded in the binary. (The executables in the binary are built this= =20 > way.) The resulting binary can be run from any directory and is completel= y=20 > self-contained. > > cabal update > cabal install hsb2hs > cabal install --flags=3D"embed_data_files" pandoc pandoc-citeproc > > > On Sunday, January 10, 2016 at 1:49:11 PM UTC+1, Jan Ulrich Hasecke wrote= : >> >> Hi,=20 >> >> does anyone installed pandoc on a Raspberry Pi?=20 >> >> juh=20 >> >> --=20 >> Das ZEN von Pandoc=20 >> B=C3=BCcher und E-Books einfach und professionell produzieren=20 >> http://www.amazon.de/Das-ZEN-von-Pandoc-professionell/dp/1505218799/=20 >> Paperback (232 Seiten) und E-Book=20 >> > --=20 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 e= mail 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. ------=_Part_904_2083895570.1453148942275 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Building pandoc via cabal on a Raspberry Pi 2 running Rasp= ian doesn't work since there are compiler errors when building the Aeso= n dependency:

Data/Aeson/TH.hs:745:11:
<= div>=C2=A0 =C2=A0 Template Haskell bracket requires GHC with interpreter su= pport
=C2=A0 =C2=A0 Perhaps you are using a stage-1 co= mpiler?
=C2=A0 =C2=A0 =C2=A0 [| parseTypeMismatch'= |]
cabal: Error: some packages failed to install:
aeson-0.7.0.6 failed during the building phase. The excep= tion 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 t= o build it using `cabal` or `stack`. However once built, you can move the b= inary to your server:


> It is possible to compi= le 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 ca= n be run from any directory and is completely self-contained.
=C2=A0 =C2=A0 cabal update
=C2=A0 =C2=A0 cabal instal= l hsb2hs
=C2=A0 =C2=A0 cabal install --flags=3D"embed_data_f= iles" pandoc pandoc-citeproc


On Sunday, Januar= y 10, 2016 at 1:49:11 PM UTC+1, Jan Ulrich Hasecke wrote:
Hi,

does anyone installed pandoc on a Raspberry Pi?

juh

--=20
Das ZEN von Pandoc
B=C3=BCcher 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 &= quot;pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to pand= oc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@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 https://groups.google.com/d/= msgid/pandoc-discuss/e3daebd4-5d26-4fad-bdae-dd06e59e507a%40googlegroups.co= m.
For more options, visit http= s://groups.google.com/d/optout.
------=_Part_904_2083895570.1453148942275-- ------=_Part_903_611673778.1453148942274--