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: error trying to compile ca-gateway on macOS mojave |
From: | "Johnson, Andrew N. via Tech-talk" <tech-talk at aps.anl.gov> |
To: | Vivian O'Dell <odell at fnal.gov> |
Cc: | EPICS tech-talk <tech-talk at aps.anl.gov> |
Date: | Thu, 27 Aug 2020 21:40:19 +0000 |
Hi Vivian,
On Aug 27, 2020, at 1:23 PM, Vivian O'Dell via Tech-talk <tech-talk at aps.anl.gov> wrote:
I get the same error message with more recent versions of ca-gateway as well. I'm using EPICS 3.15.7.
I get the same errors as you on Mojave; after some investigation I assume there’s something in the Linux (glibc) implementation of regex.h which gateway is using that isn’t present in Apple’s version, so the header exists but doesn’t define those
structures.
A fix that works for me is to switch to using PCRE; there’s a configuration option you use to do that:
My version of pcre seems to be from homebrew. I’m not sure what installed it but there are probably a few versions available that should work if you don’t have that. There are some configuration variables that follow the USE_PCRE setting in the
above file that you might have to fiddle with, but hopefully this will get you going again.
- Andrew
--
Complexity comes for free, simplicity you have to work for.
|