From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29382 invoked by alias); 22 Jan 2015 17:38:33 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 34343 Received: (qmail 8395 invoked from network); 22 Jan 2015 17:38:31 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 MIME-version: 1.0 Content-transfer-encoding: 8BIT Content-type: text/plain; charset=UTF-8; format=flowed X-Authority-Analysis: v=2.1 cv=T/C1EZ6Q c=1 sm=1 tr=0 a=3PNjA6Kwp/rSMvuT4/nkrg==:117 a=3PNjA6Kwp/rSMvuT4/nkrg==:17 a=Hpgzp-inWqAA:10 a=IkcTkHD0fZMA:10 a=zRnIsgWAKhS7sGlAK3sA:9 a=QEXdDO2ut3YA:10 Message-id: <54C13593.9040602@eastlink.ca> Date: Thu, 22 Jan 2015 09:38:27 -0800 From: Ray Andrews User-Agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Icedove/31.3.0 To: zsh-workers@zsh.org Subject: Re: make check problem References: <54B9AA99.6080403@eastlink.ca> <150116185732.ZM30791@torch.brasslantern.com> <54B9D726.2020108@eastlink.ca> <20150119102910.18102a0b@pwslap01u.europe.root.pri> <54C045A8.10102@eastlink.ca> In-reply-to: On 01/22/2015 08:40 AM, Jun T. wrote: > 2015/01/22 09:34, Ray Andrews 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.