zsh-workers
 help / color / mirror / code / Atom feed
From: Ray Andrews <rayandrews@eastlink.ca>
To: zsh-workers@zsh.org
Subject: Re: make check problem
Date: Thu, 22 Jan 2015 09:38:27 -0800	[thread overview]
Message-ID: <54C13593.9040602@eastlink.ca> (raw)
In-Reply-To: <CF871D9C-A710-421B-BFB2-A3F2488AD7CC@kba.biglobe.ne.jp>

On 01/22/2015 08:40 AM, Jun T. wrote:
> 2015/01/22 09:34, Ray Andrews <rayandrews@eastlink.ca> wrote:
>>   checking for pcre_compile... no
>>   checking for pcre_study... no
>>   checking for pcre_exec... no
> Did you use --enable-pcre with configure?
>
> $ ./configure --enable-pcre ...other options...
>
Nope.  I wonder why 'make check' indicates a fault when the test can't 
possibly succeed from the getgo without that option? Are there other 
modules that require that sort of special handling?  Why is it special? 
Do I need it anyway?

Anyway, I added that option, and now:


----------------------------------------------------
./V07pcre.ztst: starting.
Testing PCRE multibyte with locale en_US.UTF-8
*** /tmp/zsh.ztst.out.27929    2015-01-22 08:55:33.172945830 -0800
--- /tmp/zsh.ztst.tout.27929    2015-01-22 08:55:33.184945978 -0800
***************
*** 1,12 ****
! 0 o→b →b
! 1
! 1
! 0 o→† →†
! 0 o→b →b
! 1
! 0 o→b →b
! 0 o→b →b
! 0 xo→t →t
! 1
! 0 xo→t →t
! 0 Xo→t →t
--- 1,12 ----
! 127 bar 0 :pcre_compile interface testing: basic, anchored & 
case-insensitive
! 127
! 127
! 127
! 127
! 127
! 127
! 127
! 127
! 127
! 127
! 127
Test ./V07pcre.ztst failed: output differs from expected as shown above for:
   pcre_compile '.(→.)'
   pcre_match foo→bar
   print $? $MATCH $match ; unset MATCH match
   pcre_match foo.bar
   print $? $MATCH $match ; unset MATCH match
   pcre_match foo†bar
   print $? $MATCH $match ; unset MATCH match
   pcre_match foo→†ar
   print $? $MATCH $match ; unset MATCH match
   pcre_study
   pcre_match foo→bar
   print $? $MATCH $match ; unset MATCH match
   pcre_compile -a '.(→.)'
   pcre_match foo→bar
   print $? $MATCH $match ; unset MATCH match
   pcre_match o→bar
   print $? $MATCH $match ; unset MATCH match
   pcre_match o→b
   print $? $MATCH $match ; unset MATCH match
   pcre_compile 'x.(→.)'
   pcre_match xo→t
   print $? $MATCH $match ; unset MATCH match
   pcre_match Xo→t
   print $? $MATCH $match ; unset MATCH match
   pcre_compile -i 'x.(→.)'
   pcre_match xo→t
   print $? $MATCH $match ; unset MATCH match
   pcre_match Xo→t
   print $? $MATCH $match ; unset MATCH match
Error output:
(eval):1: command not found: pcre_compile
(eval):2: command not found: pcre_match
(eval):4: command not found: pcre_match
(eval):6: command not found: pcre_match
(eval):8: command not found: pcre_match
(eval):10: command not found: pcre_study
(eval):11: command not found: pcre_match
(eval):13: command not found: pcre_compile
(eval):14: command not found: pcre_match
(eval):16: command not found: pcre_match
(eval):18: command not found: pcre_match
(eval):20: command not found: pcre_compile
(eval):21: command not found: pcre_match
(eval):23: command not found: pcre_match
(eval):25: command not found: pcre_compile
(eval):26: command not found: pcre_match
(eval):28: command not found: pcre_match
Was testing: pcre_compile interface testing: basic, anchored & 
case-insensitive
./V07pcre.ztst: test failed.
-------------------------------------------------------------

... However, in config.log:

-----------------------------------------------------------
configure:8329: checking for pcre_compile
configure:8329: gcc -o conftest  -Wall -Wmissing-prototypes -O2 
conftest.c -lpcre -ldl -ltinfo -lrt -lm  -lc >&5
configure:8329: $? = 0
configure:8329: result: yes
configure:8329: checking for pcre_study
configure:8329: gcc -o conftest  -Wall -Wmissing-prototypes -O2 
conftest.c -lpcre -ldl -ltinfo -lrt -lm  -lc >&5
configure:8329: $? = 0
configure:8329: result: yes
configure:8329: checking for pcre_exec
configure:8329: gcc -o conftest  -Wall -Wmissing-prototypes -O2 
conftest.c -lpcre -ldl -ltinfo -lrt -lm  -lc >&5
configure:8329: $? = 0
configure:8329: result: yes
--------------------------------------------------------------------

... there are no failures shown anywhere.  It seems the functions are 
there but there's no matching commands available (if there are any such 
things).  However, I do have /usr/bin/pcre-config and perhaps that is 
not doing it's job? It is referred to in config.log.



  reply	other threads:[~2015-01-22 17:38 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-17  0:19 completion Ray Andrews
2015-01-17  2:57 ` Command substitution parsing issues (not really Re: completion) Bart Schaefer
2015-01-17  3:29   ` Ray Andrews
2015-01-17 13:25     ` Vin Shelton
2015-01-19 10:29     ` Peter Stephenson
2015-01-19 10:39       ` Peter Stephenson
2015-01-22  0:34       ` make check problem Ray Andrews
2015-01-22  8:49         ` Peter Stephenson
2015-01-22 16:00           ` Ray Andrews
2015-01-22 16:40         ` Jun T.
2015-01-22 17:38           ` Ray Andrews [this message]
2015-01-22 17:56             ` Bart Schaefer
2015-01-22 18:24               ` Ray Andrews
2015-01-23  4:02                 ` Bart Schaefer
2015-01-23  4:48                   ` Ray Andrews
2015-01-22 19:04               ` --enable-pcre and regex comparison (Was: make check problem) Lawrence Velázquez
2015-01-23  4:04                 ` Bart Schaefer
2015-01-18 16:36   ` Command substitution parsing issues (not really Re: completion) Peter Stephenson
2015-01-18 17:31   ` Peter Stephenson
2015-01-18 22:34     ` Peter Stephenson

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=54C13593.9040602@eastlink.ca \
    --to=rayandrews@eastlink.ca \
    --cc=zsh-workers@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).