From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/32340 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: John MacFarlane Newsgroups: gmane.text.pandoc Subject: Re: Custom cabal builds for pandoc 3.*? Date: Wed, 15 Mar 2023 09:31:11 -0700 Message-ID: <2242AE1C-C331-4335-8764-5D16C0F925D9@gmail.com> References: <76e8af61-df27-472a-986d-030a883998fan@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.120.41.1.2\)) Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21635"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBDW7ZIEHTIIBBU7FY6QAMGQEYITVGMQ-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Wed Mar 15 17:31:18 2023 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-il1-f190.google.com ([209.85.166.190]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1pcU22-0005RK-FL for gtp-pandoc-discuss@m.gmane-mx.org; Wed, 15 Mar 2023 17:31:18 +0100 Original-Received: by mail-il1-f190.google.com with SMTP id d6-20020a92d786000000b00316f1737173sf10372070iln.16 for ; Wed, 15 Mar 2023 09:31:18 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1678897877; cv=pass; d=google.com; s=arc-20160816; b=mtTlHE4FOvppaB8gHJXNANtFI3RmhkYlNMImJkoNE1WIJU3tXRJDjzYm8WjPip3oTD N6g8NupATYaz6VciXSwN15SXh7BvbIzsjyWSKqDLPrhY6ljnb3KPYGNg8YBVmwytxyPN wieWUUK3W4KLldEV3KENzy/yqVwHNnXio6Bec2LbxWPfWEfnl4GFLoFaYQimbIH1v00m FaPDw6/RdA7nZSEPmwMcIdsNHJ74/1Cb3d2Kzb2MSIdqN8baFiwq4B0OfF2jDbaksPjs BvDIAjumxb5Ftn+Q9JgbVitmKNieP1EZcxt9MRMs6NTwYbWwgvltt/z+7SBU1WIeldgp p5Xg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:message-id:in-reply-to:to :references:date:subject:mime-version:content-transfer-encoding:from :sender:dkim-signature:dkim-signature; bh=U5pdRDVrBzCge25Z4g3RFT6FAPlz6YIlXIBdi+mQQmg=; b=AGtl7HXaHkwIoW6t56CLtZjXnVu6FhIkoulvWqWaSRgJkPh8A2RnB1CGwW5vAgmPep XuE6QPAQIb37r8DXwfVlesaTjshNV9kBe/94jUNlRv94XmZ778jNhWsmjAWsXh5gHNFT EPN7euQPMFT4HG3d4sa9SodxqMCjnmlddR77GJXZdNXR+aW4IqpdYuL8UhLjCCuob5Te drN/sUkfe6rQMn+JEt6ycG5NYfZ/rLUNCF3RGMciwyPV2tfHwWOuouRIyElsLrLE1cn+ KZRbaNKi2Yu88kCiB48nU1Llud7Fqsu0VDjRMZd9GpcahSb9muqsBcLPu8Irj0ceKimk evlQ== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b="LN5aY/d3"; spf=pass (google.com: domain of fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::52e as permitted sender) smtp.mailfrom=fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; t=1678897877; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:message-id :in-reply-to:to:references:date:subject:mime-version :content-transfer-encoding:from:sender:from:to:cc:subject:date :message-id:reply-to; bh=U5pdRDVrBzCge25Z4g3RFT6FAPlz6YIlXIBdi+mQQmg=; b=lqKY3AhRJeE1p/nenC8nYmgOqbLTB4JfWbEgHjkmMhl3eysNrsxPx4YKTkqBA1RoX0 6wWpINnw+ZzxCqgRgqwRRz22ijBCIPtZ9bo+uauoOKRkp9NBC9iJM0huQi7tccxVPuBs KcivBXpPstxSd2L1noCY4aHIWprmEUbeFNUCn/Geo+x9918fUog5+uTamoqR+qVBPZPS UkqLD4HW7HXvGojrh5IFIeo1yrx6CAghGvllCJs+CKRRCSsN7mfxgUW5vrximA2NPw18 7mGPei4s2HYqAnNxVZxiWp5ZUWFnacQwnmCj7+JesFsBRq7qKV4 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1678897877; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:message-id :in-reply-to:to:references:date:subject:mime-version :content-transfer-encoding:from:from:to:cc:subject:date:message-id :reply-to; bh=U5pdRDVrBzCge25Z4g3RFT6FAPlz6YIlXIBdi+mQQmg=; b=h3vCa1NmSABtTS60o9vPqwMftY7dcZZcvRRILZOCVey/Ff09pKjYk/DNbTkVMt/jaA 8c1u2cuT5wd3fblijpzl/m39WBCQzzLoJ6WA+PPNFhMxs5CF0iFImEz4ND78JZy62PG5 UxKNw9OpDsxwDobjNKojkpXtQqpIbon278BdSpFsulQOFBpS1lyNPw1qd9M9ZUHUWWnO CZ1DsA+HFVLEbICQaleJ6S8U0vMdcSW1I5yUj9vXffYXw8OWq3fWlDyIPUYwKvO0KWZ5 GRzIupXOe8ZVltPefwz4VHvN4gJAy/+F52cy6aUZXvXPxLdcOxb9TKAgrU+p7YXfo X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678897877; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:message-id :in-reply-to:to:references:date:subject:mime-version :content-transfer-encoding:from:x-gm-message-state:sender:from:to:cc :subject:date:message-id:reply-to; bh=U5pdRDVrBzCge25Z4g3RFT6FAPlz6YIlXIBdi+mQQmg=; b=VqrPI86I4x33VqQuQTCyU/6QLZVR52thygjc23f+xW3Imwqlgu+VtG/twMAvA9IRMO IZipNKevOOrw1pD+uUO5r+DJz1tOCOJ6EFDuHd6QKZnjCW7BGlZT9Tvof5VAg35+FLIk 1ejUoIWZ9zXVkJ8oeinFtzGuyoMWyto+WQUE8Fpq+Rs2SK68hjOxKxe/kCfplF6AN/md PG9r7Gg42o89oMXLNmgqQwsqXAFDGtGV3pIlPA49auE5PAoFR4/kxJW7fqIGJk790gJr rvNqBw Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AO0yUKU2B4MI9iaiGkHEmFZMYpuxd678xzxS1YYVeXm3JiiQJNuT1b+Q cFgBaRDfBIsmv8QIdsu62+c= X-Google-Smtp-Source: AK7set/4GYweC+9dqaZm3yYcOV8aZCWqxfImRf2nt1MrI1F/Z5gv1hl6Tj+5Qt7FxvuSNYWvFz+tUg== X-Received: by 2002:a92:ce12:0:b0:310:a24c:4231 with SMTP id b18-20020a92ce12000000b00310a24c4231mr3518555ilo.6.1678897877262; Wed, 15 Mar 2023 09:31:17 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a6b:b454:0:b0:73e:138:8643 with SMTP id d81-20020a6bb454000000b0073e01388643ls966016iof.6.-pod-prod-gmail; Wed, 15 Mar 2023 09:31:14 -0700 (PDT) X-Received: by 2002:a6b:6a06:0:b0:74c:e43e:48f7 with SMTP id x6-20020a6b6a06000000b0074ce43e48f7mr23871715iog.13.1678897874551; Wed, 15 Mar 2023 09:31:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1678897874; cv=none; d=google.com; s=arc-20160816; b=mBIkZZXY/+khrNjwvlYn99wo4T1YFK+TR6hFdbjiXvhGwEz0ySdgRW5CSnuRu2vgU8 DhaVAbNyTC3CPGgF9DFjOPHv7tNW17EnQH2aBHnoJ6VXUJw8J7E7e7SoYim71OQw685a dTvS36eUELWcDtp0h3gSFXlYW0bWTzVjOedaI8WrYA2qOsGeFraZDnbplQ8aIPKtrtch NweJJAdLVIYSKve0MVWaQU59lTwgwWqrcdQZPtzivnpDLwUkvenx3b+L/exuxEPI7Huc QzbyqJdVaNzahENv8LIIXXO6ZfclJ4ygZP0YWKWPTkmfsFZUEKR5/QFJ9PLuSUlOogBF c0Fg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=message-id:in-reply-to:to:references:date:subject:mime-version :content-transfer-encoding:from:dkim-signature; bh=Oy4kYahUMw+OVd8LKT7BcptsbxO7uBtHtGKFp+Mj+kk=; b=03isPlIU8sdCzTL1ZaqJm8/jXX3euQmFqGKAINqeVhrvrjRyEiYDJWBchI2z2g4q1l 8I+ZwhtR3TOyLnJnpV0ZsmQuYhSrR2GyGlRAzv7elEgukkUT/NUDlVL4rtKpOGVBxTxm cUV4qRcFueGdyhE3u+/E1JwpIDhRZfabxQBQbhD/i8ItpioJjYcg7aiwGeyKaKGq+t37 lzzUTNZm/R9vVswnpbZ/9fXcnIvpfpOye96LxYrctpZKuIqI0DKFotLyOaU5uuubb3+7 5lX2ly8nT76lXTrhN+ITiMjs7k89dWK2nEpOl+OLwQvwiH7KLJw8Fyt41VtMkSavd2I/ jHvA== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b="LN5aY/d3"; spf=pass (google.com: domain of fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::52e as permitted sender) smtp.mailfrom=fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Original-Received: from mail-pg1-x52e.google.com (mail-pg1-x52e.google.com. [2607:f8b0:4864:20::52e]) by gmr-mx.google.com with ESMTPS id g3-20020a6be603000000b00753102db9c8si25904ioh.4.2023.03.15.09.31.14 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 15 Mar 2023 09:31:14 -0700 (PDT) Received-SPF: pass (google.com: domain of fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::52e as permitted sender) client-ip=2607:f8b0:4864:20::52e; Original-Received: by mail-pg1-x52e.google.com with SMTP id d10so11112890pgt.12 for ; Wed, 15 Mar 2023 09:31:14 -0700 (PDT) X-Received: by 2002:aa7:983c:0:b0:625:3f01:80d5 with SMTP id q28-20020aa7983c000000b006253f0180d5mr110413pfl.17.1678897873727; Wed, 15 Mar 2023 09:31:13 -0700 (PDT) Original-Received: from smtpclient.apple ([2601:644:4780:3350:8987:e2f1:c429:957a]) by smtp.gmail.com with ESMTPSA id bm1-20020a056a00320100b00593e84f2d08sm3772249pfb.52.2023.03.15.09.31.12 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 15 Mar 2023 09:31:12 -0700 (PDT) In-Reply-To: <76e8af61-df27-472a-986d-030a883998fan-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> X-Mailer: Apple Mail (2.3696.120.41.1.2) X-Original-Sender: fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b="LN5aY/d3"; spf=pass (google.com: domain of fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::52e as permitted sender) smtp.mailfrom=fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE 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: , List-Unsubscribe: , Xref: news.gmane.io gmane.text.pandoc:32340 Archived-At: > On Mar 15, 2023, at 9:11 AM, Jim Pryor wrote: >=20 > I used to follow the instructions at to build pandoc with the cabal configure `--flags=3D"e= mbed_data_files lua53"`. >=20 > Since `git pull`ing to the pandoc 3.* source tree, this no longer builds = an executable. I see from the Pandoc 3.0 announcement on this list that the= packaging has split in some ways. >=20 > Is it still possible to build all the components with custom cabal config= ure flags? How do I go about it? Can I just cd to the `pandoc-cli` subdirec= tory and do the following there: >=20 > ``` > cabal update > cabal install --only-dependencies >=20 > cabal configure --prefix=3D/usr/local --flags=3D"embed_data_files lua53" >=20 > cabal build >=20 > ./dist-newstyle/build/x86_64-osx/ghc-*/pandoc-*/x/pandoc/build/pandoc/pan= doc --version >=20 > ``` Something like this should work, but there have been changes in both pandoc= and cabal since the instructions were composed, so they may need some adju= sting. Try it? You'll want to add lua and server to your flags if you want the executable = to have Lua and server support, respectively. lua53 is no longer available= , sorry. >=20 > Or do I have to first run those steps in the top-level directory, then do= `cabal install`, then repeat them in the `pandoc-cli` subdirectory? When I= try to only do the steps in the `pandoc-cli` subdirectory, it seems like a= binary version of the main `pandoc` library is being downloaded, rather th= an one built using my custom configure flags. cabal never downloads binaries, only source. If it's happening quickly, it = could be because your global cabal store already contains a built version o= f the library. --=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 view this discussion on the web visit https://groups.google.com/d/msgid/= pandoc-discuss/2242AE1C-C331-4335-8764-5D16C0F925D9%40gmail.com.