From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/14317 Path: news.gmane.org!not-for-mail From: John MACFARLANE Newsgroups: gmane.text.pandoc Subject: Re: Install pandoc on Raspberry Pi ARM Date: Mon, 18 Jan 2016 17:18:58 -0800 Message-ID: <20160119011858.GA30730@D25Q40BGFY13.berkeley.edu> References: <56925342.2000901@mailbox.org> <20160119011730.GA30578@D25Q40BGFY13.berkeley.edu> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1453166365 16876 80.91.229.3 (19 Jan 2016 01:19:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 19 Jan 2016 01:19:25 +0000 (UTC) To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBCJZJHG45QDBBEE6622AKGQEV4PAN5Q-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Tue Jan 19 02:19:15 2016 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-vk0-f61.google.com ([209.85.213.61]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aLKwz-00035p-P4 for gtp-pandoc-discuss@m.gmane.org; Tue, 19 Jan 2016 02:19:13 +0100 Original-Received: by mail-vk0-f61.google.com with SMTP id k1sf150630717vkb.0 for ; Mon, 18 Jan 2016 17:19:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20120806; h=from:date:to:subject:message-id:references:mime-version :content-type:content-disposition:content-transfer-encoding :in-reply-to:user-agent:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:x-spam-checked-in-group:list-post:list-help:list-archive :sender:list-subscribe:list-unsubscribe; bh=dzdZolBtoR9QQfEz3JqijKp2sB2epmY8wsVP40dqqRw=; b=r7MOgY0PHJq1lvSL0q3DGHSw/2pexmwbnE07ZwCguFwAU/Ro5mGOcuAAvwbuJANuqn paB822rKavj/mBRPSjvhlWtBp/igiC8VH2fpBC078/fyglsB4gYnhiK00PsBG4D/D47J RH5+2W5i+Q89j0D8vgAlhtVrnYzDQYVJF+icJjKDQTNUKm77X/g1MTr1YXLQOncK+vr8 A+oQHqI8+0yuIzKTnocHFInhm9h7CT6tY+1W5ESHb2cw4NN7k7Gk7lPiZlTKIc5XG1Yi eIOebzoxk2+nHT8GO8D9myXgn4t3RW6rf1pDtK/tI X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:date:to:subject:message-id:references :mime-version:content-type:content-disposition :content-transfer-encoding:in-reply-to:user-agent:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:x-spam-checked-in-group:list-post:list-help:list-archive :sender:list-subscribe:list-unsubscribe; bh=dzdZolBtoR9QQfEz3JqijKp2sB2epmY8wsVP40dqqRw=; b=GxJbe7uDyujC3xKsEg5pNvqELFs3Ta/M2l51sqU9E9uD940eQ2xwmvpqHlK1DJJmJ4 kH7UzxM1zsWrts9GxuECBk5RHVuWrCNaXEccuFnpL9KCwu/s3csXTkPxV8ogA44fMKrX OjaC+TvujcmEfztmx2MhSKHJiRQfvBOB53Gn9BQeLSU+3mt+JE6Qr3+AGdcbNs3tITRx 8+mkWiUqRNps8DWgmoJppEYHpx6j0hp0x768wzlw+0oqfNUsiKUo0Pu7c9XEUk4zfGLq GgHDs/lMeArKzn7NU8BI X-Gm-Message-State: AG10YOS/+Pf0L5BOw+W8MCNc5CzNjqRgON3Nk28CXSAgHj3utMiGKdNmAEowh9ERB7y/UA== X-Received: by 10.50.30.201 with SMTP id u9mr264858igh.4.1453166353087; Mon, 18 Jan 2016 17:19:13 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 10.50.155.6 with SMTP id vs6ls950944igb.37.gmail; Mon, 18 Jan 2016 17:19:12 -0800 (PST) X-Received: by 10.98.8.219 with SMTP id 88mr25398582pfi.14.1453166352099; Mon, 18 Jan 2016 17:19:12 -0800 (PST) Original-Received: from mail-pa0-x230.google.com (mail-pa0-x230.google.com. [2607:f8b0:400e:c03::230]) by gmr-mx.google.com with ESMTPS id ho2si2011705pad.1.2016.01.18.17.19.12 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 18 Jan 2016 17:19:12 -0800 (PST) Received-SPF: pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:400e:c03::230 as permitted sender) client-ip=2607:f8b0:400e:c03::230; Original-Received: by mail-pa0-x230.google.com with SMTP id yy13so349295990pab.3 for ; Mon, 18 Jan 2016 17:19:12 -0800 (PST) X-Received: by 10.66.140.14 with SMTP id rc14mr40702693pab.65.1453166351962; Mon, 18 Jan 2016 17:19:11 -0800 (PST) Original-Received: from johnmacfarlane.net (li55-134.members.linode.com. [74.82.3.134]) by smtp.gmail.com with ESMTPSA id ux2sm36827679pac.46.2016.01.18.17.19.09 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 18 Jan 2016 17:19:09 -0800 (PST) Original-Received: by johnmacfarlane.net (Postfix, from userid 1000) id E288DA633; Mon, 18 Jan 2016 20:18:58 -0500 (EST) Content-Disposition: inline In-Reply-To: <20160119011730.GA30578-4kKid1p5UN5kRMcaKpzQXBvRwXAb8BAkh13vi7wywA4@public.gmane.org> X-PGP-Key: http://johnmacfarlane.net/jgm.asc User-Agent: Mutt/1.5.23 (2014-03-12) X-Original-Sender: jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:400e:c03::230 as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@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:14317 Archived-At: 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.htm= l > >+++ 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=3D"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=C3=BCcher 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=3Demail&utm_source=3Dfooter >> 6. https://groups.google.com/d/optout > --=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/20160119011858.GA30730%40D25Q40BGFY13.berkeley.edu. For more options, visit https://groups.google.com/d/optout.