From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/32339 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jim Pryor Newsgroups: gmane.text.pandoc Subject: Custom cabal builds for pandoc 3.*? Date: Wed, 15 Mar 2023 09:11:13 -0700 (PDT) Message-ID: <76e8af61-df27-472a-986d-030a883998fan@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_588_1986725562.1678896673532" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28045"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBCG4J36OQ4OBBI64Y6QAMGQEQK5FTTQ-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Wed Mar 15 17:11:19 2023 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-qv1-f55.google.com ([209.85.219.55]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1pcTig-00076a-Pl for gtp-pandoc-discuss@m.gmane-mx.org; Wed, 15 Mar 2023 17:11:18 +0100 Original-Received: by mail-qv1-f55.google.com with SMTP id f8-20020a0cbec8000000b005b14a30945csf854170qvj.8 for ; Wed, 15 Mar 2023 09:11:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; t=1678896678; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:x-original-sender :mime-version:subject:message-id:to:from:date:sender:from:to:cc :subject:date:message-id:reply-to; bh=oWTS2PR4mRH6Mpd2xxkJ26MbsM269mE2Sbziyl01IrE=; b=M9hwuXLfkCpQtbkFQKGmDanaBL3MFNtlKqnDZuytIPs0AcXk7UkCfnRiEeKyZXgvy1 COr8qbq/kb6BLnkTOsrPhhe6ZhmTl8p8PaYYMF8YbjvNS7MiDEnZmhw9TfdnNKJT+0vH fTUL0sFsDnAjmpWkyIx56TzHq50yayhIfk3Bv6I5DQ0RZe+1+D4EhmFhYE9JekNemWc+ 5f9+dY6M7G0xo8V0DkhPlLrmq3M7vYmHUxSTVqLmU4Y4Yhm3OC12/vMYcZMnyCCYGeFG pqwTHEiMBOnHEolhVMQxmv/B9bFWGyesXRATrofpIs2+2WO/1Q7MtwA6XZ4/sWl7vNeA aOSA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1678896678; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:x-original-sender :mime-version:subject:message-id:to:from:date:from:to:cc:subject :date:message-id:reply-to; bh=oWTS2PR4mRH6Mpd2xxkJ26MbsM269mE2Sbziyl01IrE=; b=TJnm+bPAa6Ox8aA9kNiLo7NIrbe6qiq+z3w8syt2fvpddO0xrfZAzcET7qvdIs5Vlg utKOtYEr2tv2zx2INbqfid/s5Kp0KfAUbFHF8an0VMVCju7okQH59oUj/IWIiBZ2p9SO y3nj8x5ribsJ+uegvPkuiq/SvTeahGDlaqywBgW+w9w8wGv6o6n/clr/LjW2c4UVGrvq zCYL3t1qIs5YdOwFmF9CLf5SwkOlVLTLPYR5hcBBXmlHs5dNHurn5KaJnabj4koTeQvL O47s1jkAhSDnu6t9vE8diqNzDtg6XpGNoEEAISODJRZiXU+/65VEs8sR/Bh3U8a6Eiwl M2JQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678896678; 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-sender:mime-version:subject:message-id:to:from:date :x-gm-message-state:sender:from:to:cc:subject:date:message-id :reply-to; bh=oWTS2PR4mRH6Mpd2xxkJ26MbsM269mE2Sbziyl01IrE=; b=OPSOTq8ma4t2tPYk0JCiB/8BoOejpNt2DKOmZsKG+rK+foL4rb+q5HvIEltW/H09qn c29YM3XPXbs8kqSNQDuDoOB2mNRjX71qboHQQ6aYq/vlZOG3r948UG9Q+rAjlkNkDkCS eQgXi9Pzm4zCnFdE+pGeONhmwEYLTtLNV1UY39UVvyMEDPe5azAo+rO+ljXWNcRnn+Ne TVYT9hNvehxLsf1hEmeRQxkzrVqLwolLndCX4XQ+zBOt+PrnszN8nXNc4HX/8TyIZ2lc hRIreb7HV7PgryvX+VordI+ZImGROohCHdLjkstc3ptiZro2rScH0dP4q6V7Foj9lWSK Fwuw== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AO0yUKVSggy0TRRJVDZ4e4odukoK9826w5QwgGSoMY4papOWGT72xoFu wzTcWQzHrX1FTwEcYdiJkrE= X-Google-Smtp-Source: AK7set8JWmiOcyT6FeOWhf52zfc3C/c8o0pcT0GuSWonTp3/fxtMEXsMMK5SVGmbKJw8yS7DnrQ/3A== X-Received: by 2002:ad4:56f2:0:b0:56e:952e:23ec with SMTP id cr18-20020ad456f2000000b0056e952e23ecmr3861051qvb.2.1678896677828; Wed, 15 Mar 2023 09:11:17 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:620a:278a:b0:745:d075:7ed3 with SMTP id g10-20020a05620a278a00b00745d0757ed3ls1382149qkp.3.-pod-prod-gmail; Wed, 15 Mar 2023 09:11:14 -0700 (PDT) X-Received: by 2002:a37:e307:0:b0:745:d4b9:76bd with SMTP id y7-20020a37e307000000b00745d4b976bdmr1589770qki.11.1678896674303; Wed, 15 Mar 2023 09:11:14 -0700 (PDT) X-Original-Sender: jim.pryor.nyu-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: , List-Unsubscribe: , Xref: news.gmane.io gmane.text.pandoc:32339 Archived-At: ------=_Part_588_1986725562.1678896673532 Content-Type: multipart/alternative; boundary="----=_Part_589_581667956.1678896673532" ------=_Part_589_581667956.1678896673532 Content-Type: text/plain; charset="UTF-8" I used to follow the instructions at to build pandoc with the cabal configure `--flags="embed_data_files lua53"`. 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. Is it still possible to build all the components with custom cabal configure flags? How do I go about it? Can I just cd to the `pandoc-cli` subdirectory and do the following there: ``` cabal update cabal install --only-dependencies cabal configure --prefix=/usr/local --flags="embed_data_files lua53" cabal build ./dist-newstyle/build/x86_64-osx/ghc-*/pandoc-*/x/pandoc/build/pandoc/pandoc --version ``` 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 than one built using my custom configure flags. Is the option to build using the Lua 5.3 engine still available? I've been fiddling around and it seems like however I do the build, I end up with a pandoc executable that says it uses the Lua 5.4 engine. -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/76e8af61-df27-472a-986d-030a883998fan%40googlegroups.com. ------=_Part_589_581667956.1678896673532 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I used to follow the instructions at <https://pandoc.org/installing.html= #custom-cabal-method> to build pandoc with the cabal configure `--flags= =3D"embed_data_files lua53"`.

Since `git pull`ing to t= he 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 so= me ways.

Is it still possible to build all the c= omponents with custom cabal configure flags? How do I go about it? Can I ju= st cd to the `pandoc-cli` subdirectory and do the following there:

```
cabal update

cabal install --only-dependencies

cabal configure --prefix=3D/usr/local --flags=3D"embed_data_files lua53"=

cabal build

./dist-newstyle/build/x86_64-osx/ghc-*/pandoc-*/x/pandoc/build/pandoc/pa= ndoc --version

```

Or do I have to first run those steps = in the top-level directory, then do `cabal install`, then repeat them in th= e `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` lib= rary is being downloaded, rather than one built using my custom configure f= lags.

Is the option to build using the Lua 5.3 engine still available= ? I've been fiddling around and it seems like however I do the build, I end= up with a pandoc executable that says it uses the Lua 5.4 engine.

--
You received this message because you are subscribed to the Google Groups &= quot;pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to pand= oc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d= /msgid/pandoc-discuss/76e8af61-df27-472a-986d-030a883998fan%40googlegroups.= com.
------=_Part_589_581667956.1678896673532-- ------=_Part_588_1986725562.1678896673532--