From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from primenet.com.au (ns1.primenet.com.au [203.24.36.2]) by inbox.vuxu.org (OpenSMTPD) with ESMTP id a61c5b1f for ; Mon, 7 Jan 2019 19:37:45 +0000 (UTC) Received: (qmail 18537 invoked by alias); 7 Jan 2019 19:37:32 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: List-Unsubscribe: X-Seq: 23824 Received: (qmail 1582 invoked by uid 1010); 7 Jan 2019 19:37:32 -0000 X-Qmail-Scanner-Diagnostics: from mail-lj1-f173.google.com by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.100.2/25112. spamassassin: 3.4.2. Clear:RC:0(209.85.208.173):SA:0(-2.0/5.0):. Processed in 1.745576 secs); 07 Jan 2019 19:37:32 -0000 X-Envelope-From: jesper.nygards@gmail.com X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=mk/geEmiHGSX+R18JGwotYolyPV8dI3aqBo9KPeskfo=; b=K46Z5kAm3jveX7KJEKVSczwwQKvrUtlX5ifu89EDofUdHhia1sSerDPABjMHxAW05Q 3T1zlNuUdsNNr8Q/DMGOmr3zIjCqskJWGiAnbgwsqvuLJE1EneMvo0aedtsRr5mSrjfW GbuQl5kzkBMjofgRfPrlkBbAkQGGk5FGY5zoMJzfBArjIqkPu7rytmAAHmotpmtpMNdQ j7OzjqK6w2qgy/2fpb/+WLM1oro1iZgh48HHNM1vHXVHh8GVxHrKa5VggB+WKx68p0uo dtND+3YI9LZpnNvDr2iqYcOkLhLCNO0Z/pBG6MlrO/AcP8RJ+fs6pyMPxLpC351bZX10 52eA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=mk/geEmiHGSX+R18JGwotYolyPV8dI3aqBo9KPeskfo=; b=eeGvnxCO2qq5kAsPTLLrH9y2v7xAP9s9StnZyk9tn9ADUBtuZnXI7Q6GSpuQEXOn8Y mrbDwflyeC/imIgPCGlUAA2PUbXViPKY2nyfVtPnBvA7oCxzaucj4AbIgMQCAB0/JoB4 HEdKykkypgSNzN+zCsM9AXwYAW7QR73xoDW+2bIcdimvk1bNTlb7IybEDfMYBYuQg+Tg LvlmuVMbVybcIjlSh9qTxb7c4XJXeiCKryN5gCRkYTBGdcDIAfm1RCi2hxJFCF43+vcf XRSY/P7Pdf3c7NRWR9qYX8mgiCmQMd9lzmEZQDjJt3A62fd/LvZTMsRqti0XCi90D1Hw 5fDQ== X-Gm-Message-State: AJcUukcbp79b64/S6MIaGBwkBjMHoQEtNz9xkQ4VhoaD9VqIivvArCr3 V+YY7w1G1RrRRr7TwoDitL3Rx3lR1EHdbhbeQFwihCX/ X-Google-Smtp-Source: ALg8bN5+p+/00xNYvBmEzUD7BA3OmYsFdUFlJICTzq6vJLTprg9wpeMPuUi+hty72p8pYOA/GFFs8ro4eeFDL0ITuv0= X-Received: by 2002:a2e:20c3:: with SMTP id g64-v6mr38236709lji.101.1546889845606; Mon, 07 Jan 2019 11:37:25 -0800 (PST) MIME-Version: 1.0 References: <1546872301.4214.8.camel@samsung.com> <1546875714.4214.10.camel@samsung.com> In-Reply-To: <1546875714.4214.10.camel@samsung.com> From: =?UTF-8?Q?Jesper_Nyg=C3=A5rds?= Date: Mon, 7 Jan 2019 20:37:14 +0100 Message-ID: Subject: Re: Unable to build zsh with pcre on Mac Homebrew To: Zsh Users Content-Type: multipart/alternative; boundary="000000000000c10f5f057ee35b07" --000000000000c10f5f057ee35b07 Content-Type: text/plain; charset="UTF-8" On Mon, Jan 7, 2019 at 4:43 PM Peter Stephenson wrote: > That's for you to decide. You say you've done something (you haven't > told us what) that you think will make it work. Presumably that means > you think you've somewhere added in the library information for pcre? > It's not showing up in the output shown below, which suggests it's not > in the LIBS shell variable in configure at that point. > Sorry for the badly specified questions, Peter: it was more out of ignorance than lack of care: I had not figured out how the homebrew formula ran the configure script. Your help set me on the right path, however, and I have solved the problem. Thank you! For anyone else having this particular problem, a recapitulation: homebrew recently decided to not allow install options for their core packages. That means that pcre support is no longer available as an install option for zsh. One thus has to modify the zsh formula and then install zsh from source to include pcre. Here are the steps: - "brew edit zsh". Add the lines: ' depends_on "pcre" ' and ' "--enable-pcre", ' to the formula. It should be obvious where they fit. - "brew remove zsh" - "brew install --build-from-source zsh" --000000000000c10f5f057ee35b07--