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=-3.5 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,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 fdaaee81 for ; Mon, 7 Jan 2019 15:42:15 +0000 (UTC) Received: (qmail 4318 invoked by alias); 7 Jan 2019 15:42:01 -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: 23823 Received: (qmail 5360 invoked by uid 1010); 7 Jan 2019 15:42:01 -0000 X-Qmail-Scanner-Diagnostics: from mailout2.w1.samsung.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(210.118.77.12):SA:0(-11.6/5.0):. Processed in 0.971826 secs); 07 Jan 2019 15:42:01 -0000 X-Envelope-From: p.stephenson@samsung.com X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20190107154156euoutp020112ffb8c29ea13af5c9adfaf676c73b~3m0TT6-wH0527505275euoutp02c DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1546875716; bh=pfqlOubxr2PrgeTdp1O3FPUyJ2gSur1GKWUCVyRCbHg=; h=Subject:From:To:Date:In-Reply-To:References:From; b=P6QA/0HAwrphFkQilRvFKR9QWlk3KKzxzhrn4GAXhHsW9nS4nSZwAtIEZtdGmwHxA A1uVus02PLXzBJeAHI2qkO7caP/Dnm4eOh5X7pKfldIbVtEs3ocfGIVoqFgProcWPV l54KESiR3F4Bs1MdBK3tSiTiu60oprR0FmlzInEg= X-AuditID: cbfec7f2-5c9ff70000001159-32-5c337344162c Message-ID: <1546875714.4214.10.camel@samsung.com> Subject: Re: Unable to build zsh with pcre on Mac Homebrew From: Peter Stephenson To: Date: Mon, 7 Jan 2019 15:41:54 +0000 In-Reply-To: X-Mailer: Evolution 3.18.5.2-0ubuntu3.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrLIsWRmVeSWpSXmKPExsWy7djP87ouxcYxBvMW8VnsOLmS0YHRY9XB D0wBjFFcNimpOZllqUX6dglcGZ9/ORZ85K3oPXmOqYFxFXcXIyeHhICJxKlbX9i6GLk4hARW MEpsnNcF5fQwSbR3v2OBcLqZJCbd28AO03Ji8ntmiMRyRonnfy8jVN240giVOc0ocaB9KSOE c55R4uusfqAyDg5eASOJZQ22IKOEBawkpk6+DzaWTcBQYuqm2YwgtoiAuMSzmd9YQGwWARWJ 0we7wVo5BQIlvu7ngbhCQ2LDzWNMIDavgKDEyZlPwMqZBeQlmrfOBrtBQuA5m8SyTQ0sEA0u Es+bFkO9ICzx6vgWKFtG4vTkHhaIhnZGiTWTXrNDOD2MEpuO3mGEqLKW6Lt9kRHkCmYBTYn1 u/Qhwo4Sq381sIGEJQT4JG68FYQ4gk9i0rbpzBBhXomONiGIajWJHU1bGSHCMhJP1yhMYFSa heSDWUg+mIWwagEj8ypG8dTS4tz01GLDvNRyveLE3OLSvHS95PzcTYzARHD63/FPOxi/Xko6 xCjAwajEwyuQYBwjxJpYVlyZe4hRgoNZSYQ356lhjBBvSmJlVWpRfnxRaU5q8SFGaQ4WJXHe aoYH0UIC6YklqdmpqQWpRTBZJg5OqQbGjUK8kT8FktUYWP7+5uN7ntp8YQqvmvOxT4t59ha/ /Z+gyuCyTcg+bmbG+WC9ORFi4odPlS7a/tLWQGm+fdGxj2ubjk4WuXLm+oIjE3cftr5eZzNz 2YndnAJKXTZr1d/s/eeevqpg//WcArcfVznj+7JEZlzLd3MXSl7vHVY68fBbpjkzA3qdlFiK MxINtZiLihMBYOuPzwADAAA= X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrPLMWRmVeSWpSXmKPExsVy+t/xe7rOxcYxBgtuS1vsOLmS0YHRY9XB D0wBjFF6NkX5pSWpChn5xSW2StGGFkZ6hpYWekYmlnqGxuaxVkamSvp2NimpOZllqUX6dgl6 GZ9/ORZ85K3oPXmOqYFxFXcXIyeHhICJxInJ75m7GLk4hASWMkpc6r7MApGQkfh05SM7hC0s 8edaFxtEUSeTxNJpi8GKhAROM0osvy4CkTjPKHFj4jKgBAcHr4CRxLIGW5AaYQEriamT74MN YhMwlJi6aTYjiC0iIC7xbOY3sDksAioSpw92g7VyCgRKfN3PAzFyGpPEw8Z/zCA1zAKaEq3b f0MdpCGx4eYxJhCbV0BQ4uTMJywQNfISzVtnM09gFJqFpGUWkrJZSMoWMDKvYhRJLS3OTc8t NtIrTswtLs1L10vOz93ECAz8bcd+btnB2PUu+BCjAAejEg/vjljjGCHWxLLiytxDjBIczEoi vDlPDWOEeFMSK6tSi/Lji0pzUosPMZoCPTSRWUo0OR8YlXkl8YamhuYWlobmxubGZhZK4rzn DSqjhATSE0tSs1NTC1KLYPqYODilGhhPnHztmrPsWxlr/g4H+ST1ead2LHF66XBpe9CdY+tF HBfc/Prb5J6cEu+EqibvlWF9z28euR4clv/t0D127YgAH9YuM6ZDm4Pf6+2ce9L16+xV5VMn /7lb/mubamS44QTNRxVXI7/3+knbCqjss7iwWk5viYz8DJ37v170vy34Nlvv28W4TwZzlViK MxINtZiLihMBng2sC5ICAAA= X-CMS-MailID: 20190107154155eucas1p296246efae3f691b677c778dd3dabedc4 X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" X-RootMTR: 20190107135447epcas1p1ef8a8e73868d1d86f95e75acc64f7a4b X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20190107135447epcas1p1ef8a8e73868d1d86f95e75acc64f7a4b References: <1546872301.4214.8.camel@samsung.com> On Mon, 2019-01-07 at 16:18 +0100, Jesper Nygårds wrote: > On Mon, Jan 7, 2019 at 3:46 PM Peter Stephenson > wrote: >  > >  > > You'll need to look in confg.log to see what it's actually compiling. > > That should show the -I and -L options being applied to the tests (if > > I've interpreted what goes to config.log correctly). > >  > I see the following, is that of any help? 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. I would expect you to end up with something along the lines of ./configure --enable-libs="-L/path/to/libs -lpcre" --enable-cppflags="-I/path/to/headers" plus whatever else you're specifying.  This is the stuff that pcre-config would add for you if it was present, but I don't think the lack of it should be a problem if you know the paths. I'm answering this from the generic configuration point of view rather than antything specific to MacOS, obviously. pws > configure:8340: checking for pcre_compile > configure:8340: clang -o conftest  -Wall -Wmissing-prototypes -O2  -Wl,-x > conftest.c -lgdbm  -liconv -ldl -lncursesw -lm  -lc >&5 > Undefined symbols for architecture x86_64: >   "_pcre_compile", referenced from: >       _main in conftest-4c943a.o > ld: symbol(s) not found for architecture x86_64 > clang: error: linker command failed with exit code 1 (use -v to see > invocation) > configure:8340: $? = 1 > configure: failed program was: >