From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/7877 Path: news.gmane.org!not-for-mail From: John MacFarlane Newsgroups: gmane.text.pandoc Subject: Re: ANN: pandoc 1.12.1, pandoc-citeproc 0.1.2.1 Date: Mon, 21 Oct 2013 10:53:47 -0700 Message-ID: <20131021175347.GB68215@Johns-MacBook-Pro.local> References: <20131020230933.GA42612@Johns-MacBook-Pro.local> <87sivutvaw.fsf@fastmail.fm> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1382378042 21865 80.91.229.3 (21 Oct 2013 17:54:02 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2013 17:54:02 +0000 (UTC) To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBDW7ZIEHTIIBBOGUSWJQKGQEE65ECCI-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mon Oct 21 19:54:07 2013 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-ie0-f188.google.com ([209.85.223.188]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VYJg1-0005eu-PJ for gtp-pandoc-discuss@m.gmane.org; Mon, 21 Oct 2013 19:54:02 +0200 Original-Received: by mail-ie0-f188.google.com with SMTP id to1sf1393592ieb.5 for ; Mon, 21 Oct 2013 10:54:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20120806; h=date:from:to:subject:message-id:references:mime-version:in-reply-to :user-agent:x-original-sender:x-original-authentication-results :reply-to:precedence:mailing-list:list-id:list-post:list-help :list-archive:sender:list-subscribe:list-unsubscribe:content-type :content-disposition; bh=kWKGjD6f4F63S2iF1VxKDP45YF7bHq9Zw0EK1wjGlDo=; b=T89I7MXqoBtHKtHYX6NuvcsdwlU8XSy5rpBLptddaRLZaJUK0IVc1PoeGy/84gM7d2 /DIppARCfYd2THPW9WqG9zoFWwQqVB4K5j0Ul3WE2Qyp3XHWJpWEIv/AxwyrBFSv9nlM 0nnwUEbowrfqLx6Z8Y9bXidJibl27N50iIj+4VmTcQNFJZU3nPvoH42/lo5Qu9IfjpfD 0OoEJdFdUho8Qr+Jcu6ftXAuPO3ynVZeqMa7XjoHmlV4Z+LBPG/QJx535wGu9v5wXT4z 7KXlnt9B+WMTLPlSP6U8BqXfxEoOleSEFvSjPhT0gq27C1Z0FEt60XeEk+K+3sktrtdB MGKA== X-Received: by 10.182.135.227 with SMTP id pv3mr41726obb.26.1382378040811; Mon, 21 Oct 2013 10:54:00 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 10.182.65.138 with SMTP id x10ls963133obs.62.gmail; Mon, 21 Oct 2013 10:54:00 -0700 (PDT) X-Received: by 10.182.95.68 with SMTP id di4mr7163668obb.4.1382378039953; Mon, 21 Oct 2013 10:53:59 -0700 (PDT) Original-Received: from cm04fe.IST.Berkeley.EDU (cm04fe.IST.Berkeley.EDU. [169.229.218.145]) by gmr-mx.google.com with ESMTPS id zg4si3189665pbc.1.2013.10.21.10.53.59 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Mon, 21 Oct 2013 10:53:59 -0700 (PDT) Received-SPF: neutral (google.com: 169.229.218.145 is neither permitted nor denied by best guess record for domain of jgm-pgq/RBwaQ+zq8tPRBa0AtqxOck334EZe@public.gmane.org) client-ip=169.229.218.145; Original-Received: from li55-134.members.linode.com ([74.82.3.134] helo=johnmacfarlane.net) by cm04fe.ist.berkeley.edu with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.76) (auth plain:jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org) (envelope-from ) id 1VYJfy-0002cP-E3 for pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org; Mon, 21 Oct 2013 10:53:59 -0700 Original-Received: by johnmacfarlane.net (Postfix, from userid 1000) id 466C5BBBE5; Mon, 21 Oct 2013 13:57:30 -0400 (EDT) In-Reply-To: <87sivutvaw.fsf-97jfqw80gc6171pxa8y+qA@public.gmane.org> X-PGP-Key: http://johnmacfarlane.net/jgm.asc User-Agent: Mutt/1.5.21 (2010-09-15) X-Original-Sender: fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 169.229.218.145 is neither permitted nor denied by best guess record for domain of jgm-pgq/RBwaQ+zq8tPRBa0AtqxOck334EZe@public.gmane.org) smtp.mail=jgm-pgq/RBwaQ+zq8tPRBa0AtqxOck334EZe@public.gmane.org; dmarc=fail (p=NONE dis=NONE) header.from=gmail.com Precedence: list Mailing-list: list pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org; contact pandoc-discuss+owners-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org List-ID: X-Google-Group-Id: 1007024079513 List-Post: , List-Help: , List-Archive: Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org List-Subscribe: , List-Unsubscribe: , Content-Disposition: inline Xref: news.gmane.org gmane.text.pandoc:7877 Archived-At: I use OSX 10.7, cabal 1.18, and the same GHC version as you. I suspect the problem you're having has to do with cpp -- those look like cpp errors. That's why I asked about cpp --version. Did you install ghc via the Haskell Platform? +++ Joost Kremers [Oct 21 13 18:58 ]: > I upgraded pandoc & pandoc-citeproc on a Linux machine and there > compilation proceeds without errors or warnings. So I assume it's a > problem with my setup. I have the same GHC but a newer cabal on the > Linux machine, could that be the cause of the problem? > > I'd appreciate any hints or suggestions. > > TIA > > Joost > > > > On Mon, Oct 21 2013, joostkremers-97jfqw80gc6171pxa8y+qA@public.gmane.org wrote: > > On Mon, Oct 21 2013, John MacFarlane wrote: > >> cabal update > >> cabal install pandoc pandoc-citeproc > > > > I just did this on my OS X (10.8.5) machine and got a slew of errors: > > > > ==================== > > > > Resolving dependencies... > > In order, the following will be installed: > > pandoc-1.12.1 (reinstall) changes: old-time-1.1.0.1 added > > pandoc-citeproc-0.1.2.1 (reinstall) changes: attoparsec-0.10.4.0 added > > Warning: Note that reinstalls are always dangerous. Continuing anyway... > > [1 of 1] Compiling Main ( /var/folders/0g/s1f0gw7j04523_1jvbpl6c3r0000gn/T/pandoc-1.12.1-17755/pandoc-1.12.1/Setup.hs, /var/folders/0g/s1f0gw7j04523_1jvbpl6c3r0000gn/T/pandoc-1.12.1-17755/pandoc-1.12.1/dist/setup/Main.o ) > > Linking /var/folders/0g/s1f0gw7j04523_1jvbpl6c3r0000gn/T/pandoc-1.12.1-17755/pandoc-1.12.1/dist/setup/setup ... > > Configuring pandoc-1.12.1... > > > > /var/folders/0g/s1f0gw7j04523_1jvbpl6c3r0000gn/T/17797.c:1:12: > > warning: control reaches end of non-void function [-Wreturn-type] > > int foo() {} > > ^ > > 1 warning generated. > > Building pandoc-1.12.1... > > Preprocessing library pandoc-1.12.1... > > unused terminals: 1 > > > > src/Text/Pandoc/Pretty.hs:191:27: > > warning: missing terminating ' character [-Winvalid-pp-token] > > chomp d = Doc (fromList dl') > > ^ > > > > src/Text/Pandoc/Pretty.hs:193:11: > > warning: missing terminating ' character [-Winvalid-pp-token] > > dl' = reverse $ go $ reverse dl > > ^ > > > > ==================== > > > > and on and on (I can send the entire output). > > > > Software versions: > > > > ==================== > > > > joost@pc201:~ $ ghc --version > > The Glorious Glasgow Haskell Compilation System, version 7.6.3 > > > > joost@pc201:~ $ cabal --version > > cabal-install version 1.16.0.2 > > using version 1.16.0 of the Cabal library > > > > ==================== > > > > Although I get warnings, pandoc and pandoc-citeproc do get installed. > > But trying to run pandoc on a file with a bibliography results in an > > error saying that pandoc-citeproc is not in the path, even though it is > > in ~/.cabal/bin/ (where pandoc also resides). `which pandoc-citeproc` > > produces `/Users/joost/.cabal/bin/pandoc-citeproc`, so there doesn't > > seem to be anything wrong with the path. > > > > Any ideas on what's going on? Could the second problem have to do with > > the first? Did I mess something up? > > > > TIA > > > > Joost > > > > > > -- > > Joost Kremers > > Life has its moments > > > -- > Joost Kremers > Life has its moments > > -- > 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/87sivutvaw.fsf%40fastmail.fm. > For more options, visit https://groups.google.com/groups/opt_out.