Zsh Mailing List Archive
Messages sorted by:
Re: Several modules can only be used dynamically?
- X-seq: zsh-users 24494
- From: Peter Stephenson <p.stephenson@xxxxxxxxxxx>
- To: <zsh-users@xxxxxxx>
- Subject: Re: Several modules can only be used dynamically?
- Date: Thu, 5 Dec 2019 16:01:42 +0000
- Cms-type: 201P
- Dkim-filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20191205160143euoutp019100ae1d7e5cd7a55473719bdad0790c~dhQWAHTdb1878318783euoutp01G
- In-reply-to: <CADYdroN4SoY6Yz=SrcYSnQ=O=1nvhYpwMc=hj=btV-oJxQdm+A@mail.gmail.com>
- List-help: <mailto:firstname.lastname@example.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:email@example.com>
- List-unsubscribe: <mailto:firstname.lastname@example.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <CGME20191205154251epcas3p392c28eb534ba991f1cf410182a7cd9a7@epcas3p3.samsung.com> <CADYdroN4SoY6Yz=SrcYSnQ=O=1nvhYpwMc=hj=btV-oJxQdm+A@mail.gmail.com>
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.
Messages sorted by: