From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/14316 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:17:30 -0800 Message-ID: <20160119011730.GA30578@D25Q40BGFY13.berkeley.edu> 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: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1453166279 15567 80.91.229.3 (19 Jan 2016 01:17:59 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 19 Jan 2016 01:17:59 +0000 (UTC) To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBCJZJHG45QDBBOU5622AKGQEUCQAV7Q-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Tue Jan 19 02:17:49 2016 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-qk0-f183.google.com ([209.85.220.183]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aLKvc-0002Re-E6 for gtp-pandoc-discuss@m.gmane.org; Tue, 19 Jan 2016 02:17:48 +0100 Original-Received: by mail-qk0-f183.google.com with SMTP id e124sf106480212qkc.0 for ; Mon, 18 Jan 2016 17:17:48 -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=mg0a2XXb70osIsgX1h7us0KqNgqXt1KQJXq5OGafFoA=; b=yKj/SuqHPJ8t1Gb6fCBZlEWE1VYc1fEIGNFwNB3YlIzKH+W/wi0u2wEY5vzED6ebWP IYfM4GUi1c1wEz+2lUQZDxoOfwmfrJ4sWzX+zqHRWNRL4aiika2SF2TGMR2Fq+ga9NCh lAv+G5oSNtIi8ihe2KchtRe+4ObxH15XcZKd1MKliBVPp0gq8fQJkYx3uAjcS2ZSDPGK 5JkmCIq49uUMZJawxuFuIQRONdiITCX9JEAOYS3a4dasc0UsT5p2ggWcln2RAuokgNUQ 1P3UmL05Xksb/4FGqlVAYtIMrh3LebIQjfXEkPyrD 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=mg0a2XXb70osIsgX1h7us0KqNgqXt1KQJXq5OGafFoA=; b=KULHkbZ5XHb4YraSACoX4Ctr3JteQ14IiUnG+icnBOOb0Xne93x8F2odBpjyR3X4dC qHQBn4JALDJbfnVRtQ125M1kuBzVBAO4sbcsQ1G54gnY11Z7Zix8O2NEuaOPPRe3iSF3 3EH5wcCIgU9Jv/issdnfxeXtq3WXGDiY27MD9whDtN1SKmTcFchJQ7n4yeRM+IL+3S7q jjqYmoz9WyEbyig3BYQ7fcolQbaTuz51+zuRxyZQZ0KFXMYp8Ey+u8H87byOI5vRM0gz kmsj53jX7tpNlTwyljbn X-Gm-Message-State: AG10YORgLgOv1Nt5eHhKU3GL93QBC8ZWydoD9tAOkH8O8dL3oN5YL6QWWDT8sUoXrpSR8w== X-Received: by 10.50.108.20 with SMTP id hg20mr265143igb.5.1453166267788; Mon, 18 Jan 2016 17:17:47 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 10.107.150.16 with SMTP id y16ls1610614iod.33.gmail; Mon, 18 Jan 2016 17:17:46 -0800 (PST) X-Received: by 10.67.8.33 with SMTP id dh1mr24420908pad.13.1453166266686; Mon, 18 Jan 2016 17:17:46 -0800 (PST) Original-Received: from mail-pa0-x22b.google.com (mail-pa0-x22b.google.com. [2607:f8b0:400e:c03::22b]) by gmr-mx.google.com with ESMTPS id 190si2692045pfb.1.2016.01.18.17.17.46 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 18 Jan 2016 17:17:46 -0800 (PST) Received-SPF: pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:400e:c03::22b as permitted sender) client-ip=2607:f8b0:400e:c03::22b; Original-Received: by mail-pa0-x22b.google.com with SMTP id yy13so349280678pab.3 for ; Mon, 18 Jan 2016 17:17:46 -0800 (PST) X-Received: by 10.67.6.233 with SMTP id cx9mr40315048pad.54.1453166266534; Mon, 18 Jan 2016 17:17:46 -0800 (PST) Original-Received: from johnmacfarlane.net (li55-134.members.linode.com. [74.82.3.134]) by smtp.gmail.com with ESMTPSA id v71sm36657880pfi.91.2016.01.18.17.17.41 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 18 Jan 2016 17:17:42 -0800 (PST) Original-Received: by johnmacfarlane.net (Postfix, from userid 1000) id A3F4AA633; Mon, 18 Jan 2016 20:17:30 -0500 (EST) Content-Disposition: inline In-Reply-To: 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::22b 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:14316 Archived-At: 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=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/20160119011730.GA30578%40D25Q40BGFY13.berkeley.edu. For more options, visit https://groups.google.com/d/optout.