From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/5338 Path: news.gmane.org!not-for-mail From: Cesar Romani Newsgroups: gmane.text.pandoc Subject: Re: error on building the windows installer Date: Wed, 02 Jan 2013 15:41:08 -0500 Message-ID: References: <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> <20121230033457.GA17954@Johns-MacBook-Pro.local> 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 1357159290 6743 80.91.229.3 (2 Jan 2013 20:41:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 2 Jan 2013 20:41:30 +0000 (UTC) To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBCE6PL4XWEKRB6VWSKDQKGQERATOC6Q-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Wed Jan 02 21:41:47 2013 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-ee0-f62.google.com ([74.125.83.62]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TqV8E-0003Qn-4u for gtp-pandoc-discuss@m.gmane.org; Wed, 02 Jan 2013 21:41:46 +0100 Original-Received: by mail-ee0-f62.google.com with SMTP id t10sf6855022eei.7 for ; Wed, 02 Jan 2013 12:41:31 -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=n0PJS9ZnG0QGFN7Fw0kNa1qkcBdD12/Iy8Xx9GC9g3I=; b=q7NSrooNs5WBAvrHhK44RTagkmcZog1twLkyADnAG3r5xyTLS9sFEQTMWyqdw+xblg mXKfKEwvSVRmhbiocD2xUIww1IdS7JL71fWOz3bFrrevC9Bfh2wMwYyWlJ5YaoV9qsp6 h1hj6huuxJ8jrO2jSCq9xSaoCIjSyCt1sFAYr/w0a5yaHI4o0cecEgJISrd7cN8SNvSs G4MLZiegBtQ6HwVkU8nELoLEt373PndbTp 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=n0PJS9ZnG0QGFN7Fw0kNa1qkcBdD12/Iy8Xx9GC9g3I=; b=X0k7aUDSvTCmd+tl8tix4PGnXn+j1H3+tM8ulXZK7vCYIUJTsXrAvOdVScXCUhbx2t /kiWdd+fmCFeTz7sC0RbZZek3ZLhh9iXDylGivD8/Knf81SmOxYTEn8Jpq4iS6+i5Rtt Mnu6WScFGVqoB8DSocxVz/4yRycDq9OyegySAG0JroH584ii2yGo+Sn3XHGoC8v82Npq iLLSWT5iCHbvIKCA1Y0A/7GPDVyLOY7aU30oIMVbF X-Received: by 10.180.100.228 with SMTP id fb4mr7035575wib.17.1357159291104; Wed, 02 Jan 2013 12:41:31 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 10.180.8.226 with SMTP id u2ls7480810wia.34.canary; Wed, 02 Jan 2013 12:41:30 -0800 (PST) X-Received: by 10.204.145.215 with SMTP id e23mr1706271bkv.0.1357159290405; Wed, 02 Jan 2013 12:41:30 -0800 (PST) X-Received: by 10.204.145.215 with SMTP id e23mr1706270bkv.0.1357159290389; Wed, 02 Jan 2013 12:41:30 -0800 (PST) Original-Received: from plane.gmane.org (plane.gmane.org. [80.91.229.3]) by gmr-mx.google.com with ESMTPS id v18si3380615bkw.1.2013.01.02.12.41.30 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 02 Jan 2013 12:41:30 -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 1TqV85-0003Lj-9w for pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org; Wed, 02 Jan 2013 21:41:37 +0100 Original-Received: from 190.234.176.77 ([190.234.176.77]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 02 Jan 2013 21:41:37 +0100 Original-Received: from cesar.romani by 190.234.176.77 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 02 Jan 2013 21:41:37 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 72 Original-X-Complaints-To: usenet-dbVV3NMTNubNLxjTenLetw@public.gmane.org X-Gmane-NNTP-Posting-Host: 190.234.176.77 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: <20121230033457.GA17954-9Rnp8PDaXcadBw3G0RLmbRFnWt+6NQIA@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:5338 Archived-At: On 29/12/2012 10:34 p.m., John MacFarlane wrote: > +++ Cesar Romani [Dec 22 12 10:02 ]: >> 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= > > Yes, when you tried this I hadn't yet made the change discussed above. > I have made it now but have not yet tested the windows installer. > You may do so if you wish. > > Be sure to do a 'git submodule update' after 'git pull'. I did it, but on 'make' I get: $ make cabal-dev configure --enable-tests --enable-benchmarks && cabal-dev build Configuring pandoc-1.10... setup.exe: At least the following dependencies are missing: Diff ==0.2.* Resolving dependencies... make: *** [all] Error 1 Then I did 'cabal install Diff' but I get the same result. Regards, -- Cesar