zsh-users
 help / color / mirror / code / Atom feed
* zsh/pcre module breakage when static build enabled
@ 2018-03-19 17:33 Vadim A. Misbakh-Soloviov
  2018-03-19 23:42 ` Phil Pennock
  0 siblings, 1 reply; 13+ messages in thread
From: Vadim A. Misbakh-Soloviov @ 2018-03-19 17:33 UTC (permalink / raw)
  To: <zsh-users@zsh.org>

[-- Attachment #1: Type: text/plain, Size: 482 bytes --]

Hi there!
I faced strange issue: when I build zsh-5.4.2 as static binary and trying to 
run, for example, something like that:

> $  [[ 'foo→bar' =~ .([^[:ascii:]]). ]]; print $MATCH

I'm getting following errors:

> zsh: module `zsh/pcre' has no such feature: `C:pcre-match'
> zsh: -pcre-match not available for regex

Although, when I rebuild it as dynamically linked binary, pcre starting to 
work again

I think, it looks like a bug.

Isn't it a way to fix it?

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread
* zsh/pcre module breakage when static build enabled
@ 2018-03-19 18:13 Vadim A. Misbakh-Soloviov
  0 siblings, 0 replies; 13+ messages in thread
From: Vadim A. Misbakh-Soloviov @ 2018-03-19 18:13 UTC (permalink / raw)
  To: <zsh-users@zsh.org>

[-- Attachment #1: Type: text/plain, Size: 482 bytes --]

Hi there!
I faced strange issue: when I build zsh-5.4.2 as static binary and trying to 
run, for example, something like that:

> $  [[ 'foo→bar' =~ .([^[:ascii:]]). ]]; print $MATCH

I'm getting following errors:

> zsh: module `zsh/pcre' has no such feature: `C:pcre-match'
> zsh: -pcre-match not available for regex

Although, when I rebuild it as dynamically linked binary, pcre starting to 
work again

I think, it looks like a bug.

Isn't it a way to fix it?

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2018-03-26  9:57 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-19 17:33 zsh/pcre module breakage when static build enabled Vadim A. Misbakh-Soloviov
2018-03-19 23:42 ` Phil Pennock
2018-03-20  5:02   ` Vadim A. Misbakh-Soloviov
2018-03-20  5:16   ` Vadim A. Misbakh-Soloviov
2018-03-21  2:15     ` Phil Pennock
2018-03-25  6:04       ` Vadim A. Misbakh-Soloviov
2018-03-25  6:25         ` Vadim A. Misbakh-Soloviov
2018-03-25 19:50           ` Bart Schaefer
2018-03-26  2:53             ` Vadim A. Misbakh-Soloviov
2018-03-26  5:37             ` Phil Pennock
2018-03-26  8:16               ` Vadim A. Misbakh-Soloviov
2018-03-26  9:41                 ` Vadim A. Misbakh-Soloviov
2018-03-19 18:13 Vadim A. Misbakh-Soloviov

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).