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  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  <20232024  2025 
<== Date ==> <== Thread ==>

Subject: Re: Steps for installing any EPICS Device Support module
From: Ralph Lange via Tech-talk <tech-talk at aps.anl.gov>
To: Tech Talk <tech-talk at aps.anl.gov>
Date: Fri, 22 Dec 2023 16:14:22 +0100
Hi Eusebio,

On Fri, 22 Dec 2023 at 13:42, Eusebio Naif Al-Soliman Fuentes <eunaif at correo.ugr.es> wrote:
 
First, I have started by making the sampleIOC and adding to sampleIOCApp/src/Makefile the next line:
sampleIOC_LIBS += opcua
Then, in sampleIOCApp/src/xxxSupport.dbd I have added:
 
include "opcua.dbd"
 
Finally, in configure/RELEASE.local I have included the next path:
 
OPCUA = /home/eusebio/binaryOpcuaIoc
 
However, with this first approach I'm having the next error when I try to compile with 'make'.

That is a known bug in the "binary distribution" tars:

I use the example application of the OPCUA module to create the binary distrib, and I took a shortcut that leads to the OPCUA library and .dbd not being properly installed. In the current form, the binary distrib tar works for the example IOC that it builds, but not as an independent support module.

Next time I touch the binary distribution builders, I will fix this. Sorry for the inconvenience.

Workaround 1: In the binary distribution module, copy libopcua.so.<nnn> and the softlink into the {TOP}/lib/linux-x86_64 directory and opcua.dbd into {TOP}/dbd.
At that point you should be able to use it as a support module.
If you run "make distclean" or "make uninstall" in the binary distrib, you will have to repeat this step.

Workaround 2: Don't use the binary distribution as a support module, but make a copy of it as your IOC application and extend it to add the reccaster.

Building the open62541 library and the OPCUA support module from sources would also work. Follow the instructions in the READMEs of the OPCUA module for that.
Note that you need to clone the current master to be able to do that.

Cheers,
~Ralph


References:
Steps for installing any EPICS Device Support module Eusebio Naif Al-Soliman Fuentes via Tech-talk
Re: Steps for installing any EPICS Device Support module Ralph Lange via Tech-talk
Re: Steps for installing any EPICS Device Support module Eusebio Naif Al-Soliman Fuentes via Tech-talk
Re: Steps for installing any EPICS Device Support module Ralph Lange via Tech-talk
Re: Steps for installing any EPICS Device Support module Eusebio Naif Al-Soliman Fuentes via Tech-talk
Re: Steps for installing any EPICS Device Support module Érico Nogueira Rolim via Tech-talk
Re: Steps for installing any EPICS Device Support module Eusebio Naif Al-Soliman Fuentes via Tech-talk

Navigate by Date:
Prev: StreamDevice+regex for escaping and unescaping HEX messages Sebastian Eckert via Tech-talk
Next: Re: StreamDevice+regex for escaping and unescaping HEX messages Zimoch Dirk 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  2025 
Navigate by Thread:
Prev: Re: Steps for installing any EPICS Device Support module Eusebio Naif Al-Soliman Fuentes via Tech-talk
Next: Agilent analytics devices like GCs (gas chromatography) integration into EPICS framework? Heinz Junkes 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  2025 
ANJ, 23 Dec 2023 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions ·
· Download · Search · IRMIS · Talk · Documents · Links · Licensing ·