zsh-users
 help / color / mirror / code / Atom feed
From: Norbert Lange <nolange79@gmail.com>
To: zsh-users@zsh.org
Subject: Several modules can only be used dynamically?
Date: Thu, 5 Dec 2019 16:41:27 +0100	[thread overview]
Message-ID: <CADYdroN4SoY6Yz=SrcYSnQ=O=1nvhYpwMc=hj=btV-oJxQdm+A@mail.gmail.com> (raw)

Hello,

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


Norbert

             reply	other threads:[~2019-12-05 15:42 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CGME20191205154251epcas3p392c28eb534ba991f1cf410182a7cd9a7@epcas3p3.samsung.com>
2019-12-05 15:41 ` Norbert Lange [this message]
2019-12-05 16:01   ` Peter Stephenson
2019-12-05 16:12     ` Bart Schaefer
2019-12-05 16:17       ` Peter Stephenson
2019-12-05 16:23         ` Bart Schaefer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CADYdroN4SoY6Yz=SrcYSnQ=O=1nvhYpwMc=hj=btV-oJxQdm+A@mail.gmail.com' \
    --to=nolange79@gmail.com \
    --cc=zsh-users@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).