From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/14324 Path: news.gmane.org!not-for-mail From: Simon P Newsgroups: gmane.text.pandoc Subject: Re: Install pandoc on Raspberry Pi ARM Date: Wed, 20 Jan 2016 13:31:30 +0100 Message-ID: <569F7E22.5010201@le-huit.fr> References: <56925342.2000901@mailbox.org> <20160119011730.GA30578@D25Q40BGFY13.berkeley.edu> <20160119011858.GA30730@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 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1453293134 13287 80.91.229.3 (20 Jan 2016 12:32:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 20 Jan 2016 12:32:14 +0000 (UTC) To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBDWL3W6AXULBBPX47W2AKGQEPQV6ZSY-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Wed Jan 20 13:32:02 2016 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-lb0-f185.google.com ([209.85.217.185]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aLrvb-00008E-1C for gtp-pandoc-discuss@m.gmane.org; Wed, 20 Jan 2016 13:31:59 +0100 Original-Received: by mail-lb0-f185.google.com with SMTP id dx9sf1723868lbc.1 for ; Wed, 20 Jan 2016 04:31:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20120806; h=subject:to:references:from:openpgp:message-id:date:user-agent :mime-version:in-reply-to:content-type:content-transfer-encoding :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=WouWS5nYyCVhVSzQFm0AEkFYsnqht0Yi2gtB5AuYSDk=; b=Vye/R43FH/quzb4dirK8Jw0PsJk/m7oHM3aJCmBlVXKL7c3mAtDOUnSVNtiv43dv+G MjhslgsejMJAp7r97Xu5TimSbCtbd1THWLpzQ7bmJ5PamDIlZAwhrgZCRX+DFslqLkj0 D+foMx1+VDeRrteytjRt2L6HGcV37ZayYZIT7tb+rtvMFbLOyEYuj5hfS9/S4wFMsYH5 b32vbJnWxDS8oxCOpp2MospPNWk4viEg8lI8WV1SpogoMdMf815DJRawduE71wR31eJp DaQVxddZSUXLr/EXLyBdaSBQbXM4B5Use/QMKAVaGMGqmOlmNjfsJImvjZLTOB3 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:from:openpgp:message-id :date:user-agent:mime-version:in-reply-to:content-type :content-transfer-encoding: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=WouWS5nYyCVhVSzQFm0AEkFYsnqht0Yi2gtB5AuYSDk=; b=C1KkN6j3Ra/tvHMmF63E/Alukt/uWe6TICZCRP2eKdaU5u+kXm6v7nkLPmMXk7af0g /2YTvqUMtM9NZIAoxCI0+m+MPBxF3D2Zn6KEJArFwamcU3vVJ6svY5++KatE5yJMtB5y Z3j19n/pNsRZGuMsCCWlXW7sx11gjU7Yhit51B2pqYeW6As48ZLq7UobtAwPj3/fjwDz rQytF+vQw31gJsNsNoDwS32WV9RuYNRPAUo/nfTwZZkOLDCm/rK+VeQ8KhCPW6GQ2Pfn PX0fIXymg2WBioQUKePVaxIlKp7FmIEr X-Gm-Message-State: ALoCoQnGaT9n2GjKEcVn/lCEohylfVVGQUMFI/6WvKAjCdnds6W0tQ8pIIXyZkos+frzNKMc9o1Sr8gKSKpgtLY9L+xrcz2isw== X-Received: by 10.25.150.83 with SMTP id y80mr438364lfd.1.1453293118732; Wed, 20 Jan 2016 04:31:58 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 10.25.146.10 with SMTP id u10ls703631lfd.42.gmail; Wed, 20 Jan 2016 04:31:57 -0800 (PST) X-Received: by 10.112.157.166 with SMTP id wn6mr4584118lbb.6.1453293117869; Wed, 20 Jan 2016 04:31:57 -0800 (PST) Original-Received: from mail.gnubox.eu (mail.gnubox.eu. [212.129.16.229]) by gmr-mx.google.com with ESMTPS id q64si761115wmg.0.2016.01.20.04.31.57 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 20 Jan 2016 04:31:57 -0800 (PST) Received-SPF: pass (google.com: domain of simon-5SPO0HlndBJGWvitb5QawA@public.gmane.org designates 212.129.16.229 as permitted sender) client-ip=212.129.16.229; Original-Received: from localhost (localhost [127.0.0.1]) by mail.gnubox.eu (Postfix) with ESMTP id 580115A606C for ; Wed, 20 Jan 2016 13:31:57 +0100 (CET) X-Virus-Scanned: by amavisd-new using ClamAV at gnubox.info Original-Received: from mail.gnubox.eu ([127.0.0.1]) by localhost (mail.gnubox.eu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ODrScB5pK4VI for ; Wed, 20 Jan 2016 13:31:32 +0100 (CET) Original-Received: from [127.0.0.1] (81-65-62-213.rev.numericable.fr [81.65.62.213]) by mail.gnubox.eu (Postfix) with ESMTPSA id EACBB5A6AB2 for ; Wed, 20 Jan 2016 13:31:31 +0100 (CET) Openpgp: id=E0275791E6CB63F284093FAF1BC5D2ED8EDF838D X-Enigmail-Draft-Status: N1110 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Icedove/38.5.0 In-Reply-To: <20160119011858.GA30730-4kKid1p5UN5kRMcaKpzQXBvRwXAb8BAkh13vi7wywA4@public.gmane.org> X-Original-Sender: simon-5SPO0HlndBJGWvitb5QawA@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of simon-5SPO0HlndBJGWvitb5QawA@public.gmane.org designates 212.129.16.229 as permitted sender) smtp.mailfrom=simon-5SPO0HlndBJGWvitb5QawA@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:14324 Archived-At: 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 =C3=A9crit : > 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. >=20 > +++ 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.h= tml >> >> >> +++ 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 use= s >>> 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-bda= e-dd06e59e507a-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org?utm_medium=3Demail&utm_source=3Dfooter >>> >>> 6. https://groups.google.com/d/optout >> >=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/569F7E22.5010201%40le-huit.fr. For more options, visit https://groups.google.com/d/optout.