From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/5319 Path: news.gmane.org!not-for-mail From: Cesar Romani Newsgroups: gmane.text.pandoc Subject: Re: error on building the windows installer Date: Sat, 22 Dec 2012 10:02:29 -0500 Message-ID: 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> <87sj8kxr1f.fsf@eeepc.nowhere.net> <20121108171447.GD94362@Johns-MacBook-Air-2.local> <87fw4kx899.fsf@eeepc.nowhere.net> 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; format=flowed X-Trace: ger.gmane.org 1356188580 8022 80.91.229.3 (22 Dec 2012 15:03:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 22 Dec 2012 15:03:00 +0000 (UTC) To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBCE6PL4XWEKRBG4X26DAKGQEBF5EM5Y-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Sat Dec 22 16:03:15 2012 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-ea0-f192.google.com ([209.85.215.192]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TmQbS-0004FL-CW for gtp-pandoc-discuss@m.gmane.org; Sat, 22 Dec 2012 16:03:06 +0100 Original-Received: by mail-ea0-f192.google.com with SMTP id a11sf1921558eaa.9 for ; Sat, 22 Dec 2012 07:02:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20120806; h=x-received:x-beenthere:x-received:x-received:received-spf :x-injected-via-gmane:to:from:subject:date:lines:message-id :references:mime-version:x-complaints-to:x-gmane-nntp-posting-host :user-agent:in-reply-to: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=6GkAUrUJdv0b165i5DdINS3wVzRCjj9HFiX5xssjQwc=; b=Ikv2i68knK9FLGb9QAnhZsLpA1dYhOq3wLdb9uohBMwTcpuAvfcqPAKNZfrRMXTxw5 i/uVViXdvVTc9pZRu2AY/CR5zmwHQCcmXNW92PM7IG8qGYAhIey8kQ+mHYYolWo9uQEh ZcAWdo+xONl8RHv2OvwHa6VlY34417cxDpH/LRqjnMz24G61CComq9QwBV6ClD/TQ9AP 05hVgKKHRF9u1jyvwzbMDGeTEvn46EenaE DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:x-beenthere:x-received:x-received:received-spf :x-injected-via-gmane:to:from:subject:date:lines:message-id :references:mime-version:x-complaints-to:x-gmane-nntp-posting-host :user-agent:in-reply-to: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=6GkAUrUJdv0b165i5DdINS3wVzRCjj9HFiX5xssjQwc=; b=uUxMbVB1x4sieCa9+FKiG+2goicVT8k3h369z3/BOnXFJton3+F99p31geAK+IASf2 tqjQFaJ0snSLsYK3QJj7QKNbVVdiJw8sx6PsREzRp1pEePdspjS2TFARQtM23iQvEsOH BsgojqV5ao63Wzqw4D/0Ma2ozBPfEHX6x6qjVNqn4dCglBa1AuFfJldyqJVfLMFPe/WV 9bSXD6YTevVqiOBIZdTuhPHQ5J54vex10FBcnlGo+ X-Received: by 10.181.11.230 with SMTP id el6mr1781549wid.15.1356188572521; Sat, 22 Dec 2012 07:02:52 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 10.180.83.231 with SMTP id t7ls2035907wiy.36.gmail; Sat, 22 Dec 2012 07:02:51 -0800 (PST) X-Received: by 10.204.4.141 with SMTP id 13mr718179bkr.6.1356188571395; Sat, 22 Dec 2012 07:02:51 -0800 (PST) X-Received: by 10.204.4.141 with SMTP id 13mr718178bkr.6.1356188571372; Sat, 22 Dec 2012 07:02:51 -0800 (PST) Original-Received: from plane.gmane.org (plane.gmane.org. [80.91.229.3]) by gmr-mx.google.com with ESMTPS id j28si1074115bkv.0.2012.12.22.07.02.51 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 22 Dec 2012 07:02:51 -0800 (PST) Received-SPF: pass (google.com: domain of gtp-pandoc-discuss@m.gmane.org designates 80.91.229.3 as permitted sender) client-ip=80.91.229.3; Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1TmQbP-00045E-A6 for pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org; Sat, 22 Dec 2012 16:03:03 +0100 Original-Received: from 190.235.71.108 ([190.235.71.108]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 22 Dec 2012 16:03:03 +0100 Original-Received: from cesar.romani by 190.235.71.108 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 22 Dec 2012 16:03:03 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 50 Original-X-Complaints-To: usenet-dbVV3NMTNubNLxjTenLetw@public.gmane.org X-Gmane-NNTP-Posting-Host: 190.235.71.108 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.12) Gecko/20080213 Thunderbird/2.0.0.12 Mnenhy/0.7.5.0 In-Reply-To: <87fw4kx899.fsf-46C4ZU908FJ9y4XLxYaG4V6hYfS7NtTn@public.gmane.org> X-Original-Sender: cesar.romani-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of gtp-pandoc-discuss@m.gmane.org designates 80.91.229.3 as permitted sender) smtp.mail=gtp-pandoc-discuss@m.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:5319 Archived-At: On 08/11/2012 01:24 p.m., andrea rossato wrote: > John MacFarlane writes: > >>> 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. >> >> My present thought is that pandoc's 'library' and 'executable' flags >> create too many problems. I'm thinking of getting rid of them, and >> adding an embed_data_files flag to embed the data files into the binary. >> (The added size is fairly insignificant since the binary is already so >> large.) This would allow you to make a relocatable executable, not just >> on Windows but on any system. And it would be fully relocatable -- >> copy the binary anywhere and it will work, without the need of >> supporting data files. >> >> This would also solve the problem with man pages noted above, as >> we would no longer need the -library flag. >> >> Anyway, I was going to use citeproc-hs as a model, so let me know what >> the problem was! > > The problem was just me: I didn't check if the code compiled with the > "embed_data_files" flag before releasing 0.3.6. > > The bug was due to the fact that when moving to hexpat I started using > lazy bytestrings for reading files, while embed-file uses strict > bytestrings, hence a type error -- easily fixed. After compiling from the newest update from the git repository, 'make' and 'make install' work fine, but I'm always getting the same error by building the windows installer make-windows-installer.bat: 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 The error occurs by the line: cabal-dev install --flags="executable -library blaze_html_0_5" --datasubdir= Regards, -- Cesar