Experimental Physics and Industrial Control System
|
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.
This version of gateway compiles fine on the beagle bone. Is there an obvious fix for this?
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:
diff --git a/configure/CONFIG_SITE b/configure/CONFIG_SITE
index 5dee672..8588491 100644
--- a/configure/CONFIG_SITE
+++ b/configure/CONFIG_SITE
@@ -13,7 +13,7 @@
#######################################################################
# Use Perl compatible regular expressions (PCRE) instead of basic regex
-#USE_PCRE=YES
+USE_PCRE=YES
# For PCRE on Linux
# requires package pcre-devel (or libpcre3-dev) for compiling
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.
|
- Replies:
- Re: error trying to compile ca-gateway on macOS mojave Vivian O'Dell via Tech-talk
- Re: error trying to compile ca-gateway on macOS mojave Vivian O'Dell via Tech-talk
- References:
- error trying to compile ca-gateway on macOS mojave Vivian O'Dell via Tech-talk
- Navigate by Date:
- Prev:
error trying to compile ca-gateway on macOS mojave Vivian O'Dell via Tech-talk
- Next:
Re: error trying to compile ca-gateway on macOS mojave Vivian O'Dell 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
2023
2024
- Navigate by Thread:
- Prev:
error trying to compile ca-gateway on macOS mojave Vivian O'Dell via Tech-talk
- Next:
Re: error trying to compile ca-gateway on macOS mojave Vivian O'Dell 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
2023
2024
|
ANJ, 28 Aug 2020 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
·
Search
·
EPICS V4
·
IRMIS
·
Talk
·
Bugs
·
Documents
·
Links
·
Licensing
·
|