EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  <20232024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  <20232024 
<== Date ==> <== Thread ==>

Subject: Re: Doubts about libpcre in compilation
From: NICOLE Remi via Tech-talk <tech-talk at aps.anl.gov>
To: "marco.filho at lnls.br" <marco.filho at lnls.br>, "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Cc: "allan.borgato at lnls.br" <allan.borgato at lnls.br>
Date: Mon, 27 Mar 2023 07:04:35 +0000
Hey Marco, Rémi here (Nicole is my last name).

> It does use regex, but strangely i compiled the IOC without pcre and
> it worked fine.
> 
> Maybe it comes already compiled in most recent versions of
> streamDevice?

I don't think, so, when I compile it without PCRE, PCRE_INCLUDE, and
PCRE_LIB, and I run my tests, I get these errors:

    _main_ No converter registered for format '%/'
    _main_ simple.proto line 48: in format string:
"%.1/<title>(.*)<\x2ftitle>/"
    _main_ simple.proto line 48: in command 'in'
    _main_ simple.proto line 45: in protocol 'getregextitle'
    _main_ while compiling protocol 'getRegexTitle' for
'REGEX_TITLE:IN'
    _main_ REGEX_TITLE:IN: Protocol parse error
    _main_ REGEX_TITLE:IN: Record initialization failed

From a quick look at the StreamDevice repository, it doesn't seem to
contain the PCRE source code, nor instructions for building /
downloading the PCRE library.

Cheers!
-- 
Rémi NICOLE <remi.nicole at cea.fr>
CEA/DRF/IRFU/DIS/LDISC

References:
Doubts about libpcre in compilation Marco A. Barra Montevechi Filho via Tech-talk
Re: Doubts about libpcre in compilation NICOLE Remi via Tech-talk
Re: Doubts about libpcre in compilation Marco A. Barra Montevechi Filho via Tech-talk

Navigate by Date:
Prev: Re: Does using "Constant Link Values" require using PINI=YES? Timo Korhonen via Tech-talk
Next: Encoder Stall happens when increasing direction of motor pulses is opposite of that of encoder count Chiang, Liang-Chih [江良志] via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  <20232024 
Navigate by Thread:
Prev: Re: Doubts about libpcre in compilation Marco A. Barra Montevechi Filho via Tech-talk
Next: Phoebus Alarm Log Can't Display History Han Gao - Lotus via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  <20232024 
ANJ, 27 Mar 2023 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·