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=-1.0 required=5.0 tests=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 c88f911f for ; Thu, 5 Dec 2019 16:02:29 +0000 (UTC) Received: (qmail 26478 invoked by alias); 5 Dec 2019 16:02:22 -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: 24494 Received: (qmail 25027 invoked by uid 1010); 5 Dec 2019 16:02:22 -0000 X-Qmail-Scanner-Diagnostics: from mailout1.w1.samsung.com by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.102.1/25653. spamassassin: 3.4.2. Clear:RC:0(210.118.77.11):SA:0(-7.0/5.0):. Processed in 2.779618 secs); 05 Dec 2019 16:02:22 -0000 X-Envelope-From: p.stephenson@samsung.com X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Received-SPF: pass (ns1.primenet.com.au: SPF record at _spf.samsung.com designates 210.118.77.11 as permitted sender) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20191205160143euoutp019100ae1d7e5cd7a55473719bdad0790c~dhQWAHTdb1878318783euoutp01G X-AuditID: cbfec7f5-a0fff7000001ed1a-41-5de929e7a950 Message-ID: <1575561702.4402.12.camel@samsung.com> Subject: Re: Several modules can only be used dynamically? From: Peter Stephenson To: Date: Thu, 5 Dec 2019 16:01:42 +0000 In-Reply-To: X-Mailer: Evolution 3.18.5.2-0ubuntu3.2 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Brightmail-Tracker: H4sIAAAAAAAAA+N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BICJhIXN61j7GLk4hASWMoo0Xd8DxNEQkbi05WPUEXC En+udbFBFHUySaw68wDKOc0o8fr9ClYI5zyjxJoN11lBWngFjCS6fm8Gs4UFrCQ+7jjPAmKz CRhKTN00mxHEFhEQl3g28xtYnEVAReLOgntgNqdAoMSuxUeZ4W662TuFDSTBLKAp0br9N9RN GhIbbh5jglgmKHFy5hMWiBp5ie1v5zBPYBSahaRlFpKyWUjKFjAyr2IUSS0tzk3PLTbSK07M LS7NS9dLzs/dxAiMgG3Hfm7Zwdj1LvgQowAHoxIP74zPL2KFWBPLiitzDzFKcDArifCm872M FeJNSaysSi3Kjy8qzUktPsRoCvTRRGYp0eR8YHTmlcQbmhqaW1gamhubG5tZKInzdggcjBES SE8sSc1OTS1ILYLpY+LglGpgFDjlxWtsf99so3KOqOv3l8WiNocDe79y3X4u9CxS+eWPmX/N ug4Inr64z2Pqzks607qnnpX3aBKYeuTCUv0nx71kOvss7jI8n+Yr9Gyn4tLozXd/Tbl8Wa5c LyRL3evwVYUbIlmT+pICjM/tmbvz3mTOhTvzRMPzfYumaJW+O/l3Tu2H1XMlbyqxFGckGmox FxUnAgAp7pgJlgIAAA== X-CMS-MailID: 20191205160142eucas1p1165c95a7cd05ca906dfee781c65737cf X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" X-RootMTR: 20191205154251epcas3p392c28eb534ba991f1cf410182a7cd9a7 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20191205154251epcas3p392c28eb534ba991f1cf410182a7cd9a7 References: On Thu, 2019-12-05 at 16:41 +0100, Norbert Lange wrote: > I use a static build (toolchain without any support for dl-open) of > zsh, and I just found out that I am missing the zsh/regex Module even > though configure found all buildtime requirements. > Looking at the source it seems that this and several other modules are > only allowed to me built dynamically. > > Is this the intention? If this is some License issue, then first I am > using musl (which should not add any issues) and second its a private > build for internal use. > The shell should be dropped into a production system for development, > so there is a desire to not touch anything or depend on anything. > > I was able to build zsh with a static zsh/regex after editing the > offending line > sed -e 's,echo dynamic,echo either,' -i zsh/Src/Modules/regex.mdd If that works for you, that's fine --- this is entirely practical. I think this is because OSes don't always provide static versions of the system libraries we need to link against, e.g. the regex support, and the variety of system libraries made this hard to test for generally. pws