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 <2023> 2024 2025 | 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 <2023> 2024 2025 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Re: Doubts about libpcre in compilation |
From: | "Marco A. Barra Montevechi Filho via Tech-talk" <tech-talk at aps.anl.gov> |
To: | NICOLE Remi <remi.nicole at cea.fr>, "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov> |
Cc: | Allan Borgato <allan.borgato at lnls.br> |
Date: | Fri, 24 Mar 2023 19:01:15 +0000 |
Thanks, Nicole!
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? Thanks, Marco From: NICOLE Remi <remi.nicole at cea.fr>
Sent: 24 March 2023 05:13 To: Marco A. Barra Montevechi Filho <marco.filho at lnls.br>; tech-talk at aps.anl.gov <tech-talk at aps.anl.gov> Cc: Allan Borgato <allan.borgato at lnls.br> Subject: Re: Doubts about libpcre in compilation [You don't often get email from remi.nicole at cea.fr. Learn why this is important at
https://aka.ms/LearnAboutSenderIdentification ]
As I understand it, the PCRE library is used if your protocol file uses regular _expression_ for parsing input: getRegexTitle { out "REGEX_TITLE"; in "%.1/<title>(.*)<\/title>/" } So, if your protocol files don't use this feature, you should be fine. This is documented here: - https://github.com/paulscherrerinstitute/StreamDevice/blob/e6b2944c/streamApp/regexp.README - https://paulscherrerinstitute.github.io/StreamDevice/setup.html Cheers -- Rémi NICOLE <remi.nicole at cea.fr> CEA/DRF/IRFU/DIS/LDISC On Wed, 2023-03-22 at 22:12 +0000, Marco A. Barra Montevechi Filho via Tech-talk wrote: > Hello all, i have an areaDetector IOC which im cross-compiling for > aarch64. The ioc also uses streamDevice 2.8.22 and is being compiled > in an ubuntu 16.04 container. > > I have another ubuntu 16.04 old container in which i compiled it in > the past, but he configuration of the container is kinda messy and im > improving things. > > I remember i did something ugly in the old container and it has lpcre > somewhere, but i couldnt find it, although i can recompile the ioc in > it. I also couldnt solve the compilation issue in the new container > withapt install libpcre3 libpcre3-dev or anything similar. > > So in the new container i just found PROD_SYS_LIBS_DEFAULT += pcre in > a makefile, commented it and it compiled nicely. > > I understand its a lib for regex in perl and streamDevice might use > it but might already have it out-of-the-box. > > My question is: am i breaking my IOC in ways im going to regret? Or > just getting rid of old dependencies that are not needed anymore? > > Thanks for any help, > > Marco > > Aviso Legal: Esta mensagem e seus anexos podem conter informações > confidenciais e/ou de uso restrito. Observe atentamente seu conteúdo > e considere eventual consulta ao remetente antes de copiá-la, > divulgá-la ou distribuí-la. Se você recebeu esta mensagem por engano, > por favor avise o remetente e apague-a imediatamente. > Disclaimer: This email and its attachments may contain confidential > and/or privileged information. Observe its content carefully and > consider possible querying to the sender before copying, disclosing > or distributing it. If you have received this email by mistake, > please notify the sender and delete it immediately. |