From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/5071 Path: news.gmane.org!not-for-mail From: andrea rossato Newsgroups: gmane.text.pandoc Subject: Re: error on building the windows installer Date: Thu, 08 Nov 2012 12:39:08 +0100 Message-ID: <87sj8kxr1f.fsf@eeepc.nowhere.net> References: <20121105023034.GB15169@Johns-MacBook-Pro.local> <20121106161118.GB50342@Johns-MacBook-Pro.local> <20121107171059.GA66573@Johns-MacBook-Pro.local> <20121107194845.GA21903@protagoras.phil.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=ISO-8859-1 X-Trace: ger.gmane.org 1352374756 3087 80.91.229.3 (8 Nov 2012 11:39:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 8 Nov 2012 11:39:16 +0000 (UTC) To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBDOOV56RQQFBBYNT52CAKGQECK4FWCY-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Thu Nov 08 12:39:26 2012 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-bk0-f58.google.com ([209.85.214.58]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TWQSA-0004q5-Sf for gtp-pandoc-discuss@m.gmane.org; Thu, 08 Nov 2012 12:39:22 +0100 Original-Received: by mail-bk0-f58.google.com with SMTP id j10sf942117bkw.3 for ; Thu, 08 Nov 2012 03:39:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20120806; h=x-beenthere:received-spf:x-authentication-warning:from:to:subject :references:date:in-reply-to:message-id:user-agent:mime-version :x-greylist:x-original-sender:x-original-authentication-results :reply-to:precedence:mailing-list:list-id:x-google-group-id :list-post:list-help:list-archive:sender:list-subscribe :list-unsubscribe:content-type; bh=LaKnNqbaWcRMGk5w2jZAX+I1ziUax3+PLulCM+BF5KU=; b=KRO4Wx6LWLln44aCl8M4hhKlHULOp5bfh19Wk7FM7M77ZOSLxThaza4tH5py1FXrLR PSYuB87+1Ew9dRvx3ZDbqSvIx/LJognX6DieoV1WbMNrDydcjN1KoLwClM6mvXhVzDIz zeL7Q/jAfsaNCWG94+p26fiMtFU6Ljh8p5V1dqzkFZC+Fwrtp+82P7yXAnPcohXRaP9g WyQsDGvXtmN2fIULm3e9m6d07f+8G9jXEKQjhyEao4nsJ7CdGo2XsrvD3+GDpRTxjb4d FbEkReaGYLts+I6flCwwVm1gEMauvBnv Original-Received: by 10.181.13.131 with SMTP id ey3mr34870wid.2.1352374753829; Thu, 08 Nov 2012 03:39:13 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 10.14.173.67 with SMTP id u43ls1862858eel.8.gmail; Thu, 08 Nov 2012 03:39:13 -0800 (PST) Original-Received: by 10.14.216.197 with SMTP id g45mr8374906eep.3.1352374753428; Thu, 08 Nov 2012 03:39:13 -0800 (PST) Original-Received: by 10.14.216.197 with SMTP id g45mr8374905eep.3.1352374753417; Thu, 08 Nov 2012 03:39:13 -0800 (PST) Original-Received: from gorgias.mine.nu (host118-2-static.225-95-b.business.telecomitalia.it. [95.225.2.118]) by gmr-mx.google.com with ESMTPS id u8si5396044een.1.2012.11.08.03.39.13 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 08 Nov 2012 03:39:13 -0800 (PST) Received-SPF: neutral (google.com: 95.225.2.118 is neither permitted nor denied by domain of andrea.rossato-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org) client-ip=95.225.2.118; Original-Received: from eeepc.nowhere.net (localhost [127.0.0.1]) by gorgias.mine.nu (8.14.3/8.14.3) with ESMTP id qA8BdBfb023212 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 8 Nov 2012 12:39:12 +0100 Original-Received: from eeepc.nowhere.net (localhost [127.0.0.1]) by eeepc.nowhere.net (8.14.4/8.14.4) with ESMTP id qA8Bd93W029801 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 8 Nov 2012 12:39:09 +0100 Original-Received: (from andrea@localhost) by eeepc.nowhere.net (8.14.4/8.14.4/Submit) id qA8Bd9gA029795; Thu, 8 Nov 2012 12:39:09 +0100 X-Authentication-Warning: eeepc.nowhere.net: andrea set sender to andrea.rossato-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org using -f In-Reply-To: <20121107194845.GA21903-nFAEphtLEs+AA6luYCgp0U1S2cYJDpTV9nwVQlTi/Pw@public.gmane.org> (John MacFarlane's message of "Wed, 7 Nov 2012 11:48:45 -0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) X-Greylist: Sender succeeded STARTTLS authentication, not delayed by milter-greylist-4.2.7 (gorgias.mine.nu [0.0.0.0]); Thu, 08 Nov 2012 12:39:12 +0100 (CET) X-Original-Sender: andrea.rossato-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 95.225.2.118 is neither permitted nor denied by domain of andrea.rossato-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org) smtp.mail=andrea.rossato-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-Google-Group-Id: 1007024079513 List-Post: , List-Help: , List-Archive: Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org List-Subscribe: , List-Unsubscribe: , Xref: news.gmane.org gmane.text.pandoc:5071 Archived-At: John MacFarlane writes: > +++ Cesar Romani [Nov 07 12 14:40 ]: > >> If I follow these steps on the batch file: >> 1. cabal-dev install --disable-library-for-ghci highlighting-kate >> 2. cabal-dev add-source pandoc-types >> 3. cabal-dev install --reinstall --force-reinstalls pandoc-types >> 4. cabal-dev install --flags="embed_data_files" citeproc-hs >> 5. cabal-dev install --flags="executable -library blaze_html_0_5" >> --datasubdir= >> ... >> >> I always get the same error on the 5. line: >> >> [...] >> Linking dist\build\pandoc\pandoc.exe ... >> Preprocessing executable 'make-pandoc-man-pages' for pandoc-1.10... >> : cannot satisfy -package-id pandoc-1.10-inplace >> (use -v for more information) >> cabal.exe: Error: some packages failed to install: >> pandoc-1.10 failed during the building phase. The exception was: >> ExitFailure 1 > > Ah. I see what is going on. > > To build make-pandoc-man-pages, we need the library installed. > But we disabled that with the '-library' flag, in order to make > the executable relocatable. > > Well, the man pages aren't really needed for Windows anyway, > so maybe I'll add a cabal flag that turns off 'make-pandoc-man-pages'; > I can then use this in the windows package creation script. > > Thanks. In citeproc-hs there also seems to be a bug which shows up when building with the "embed_data_files" flags. I'm going to fix it later this afternoon. Andrea