Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: pcre module help



> I tried this under zsh-4.2.0 on FreeBSD with the zsh module statically
> linked in.
["pcre module" is meant]

Is the zsh binary actually linked against libpcre?
Does configure detect the existence of pcre_compile() and pcre_exec()?
You shouldn't get the "not available on this system" message unless it
didn't find one of them.

>    pcre_compile: not available on this system
> 
>    pcre_match: not available on this system

> 
>    # if [[ $PATH -pcre-match '^/.*local' ]]; then echo "matched"; fi
> 
>    zsh: unrecognized condition: `$PATH'
> 
>    # pcre_compile "^/.*local"
> 
>    pcre_compile: not available on this system
> 
>    # if [[ $PATH -pcre-match '^/.*local' ]]; then echo "matched"; fi
> 
>    -- shell crashes leaving a core file --
> 
> The shell crashing is consistent when I try to use -pcre-match after
> attempting to run pcre_compile.  Also, the -pcre-match method is not
> mentioned in the zshmodules manual.

Could you send a gdb backtrace to zsh-workers?



Messages sorted by: Reverse Date, Date, Thread, Author