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  <20212022  2023  2024  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  <20212022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: PyDevice and an IOC
From: Josh Fiddler via Tech-talk <tech-talk at aps.anl.gov>
To: Florian Feldbauer <florian at ep1.ruhr-uni-bochum.de>
Cc: tech-talk at aps.anl.gov
Date: Wed, 8 Dec 2021 07:19:09 -0500
Florian, 
As I received this email, I was just wondering about that. I had set it previously in the build for PyDevice itself but checking the docs a few times, didn’t think to set it also in the ioc CONFIG_SITE file. It now builds without error and the ioc runs.

 So, the long and short is that PYTHIN_CONFIG needs to be set globally or in CONFIG_SITE for both support and any IOC builds as well. maybe it should have been obvious but oh well. 

Josh



On Wed, Dec 8, 2021 at 6:50 AM Florian Feldbauer <florian at ep1.ruhr-uni-bochum.de> wrote:
Hey Josh,

I checked once more your make output and found the line below right
before the g++ call (which I overlooked earlier):

> /bin/sh: 0: Illegal option --

I made a small test on my setup (Debian 11, EPICS_BASE 7.0.5, python3.9)
and I get this error when PYTHON_CONFIG is undefined.

Where have you defined the PYTHON_CONFIG variable? It should be defined
in configure/CONFIG_SITE of your IOC.

HTH Florian

--
Ruhr-Universität Bochum
AG der Experimentalphysik I
Dr. Florian Feldbauer
NB 2/131 / Fach 125
Universitätsstr. 150
D-44801 Bochum

Office: NB 2/134
Phone:  (+49)234 / 32-23563
Fax:    (+49)234 / 32-14170
https://paluma.ruhr-uni-bochum.de


Replies:
Re: [EXTERNAL] PyDevice and an IOC Vodopivec, Klemen via Tech-talk
References:
PyDevice and an IOC Josh Fiddler via Tech-talk
Re: PyDevice and an IOC Florian Feldbauer via Tech-talk
Re: PyDevice and an IOC Josh Fiddler via Tech-talk
Re: PyDevice and an IOC Florian Feldbauer via Tech-talk

Navigate by Date:
Prev: RE: FLIR Camera with AD Spinnaker losses ID Smith, William via Tech-talk
Next: Re: [EXTERNAL] PyDevice and an IOC Vodopivec, Klemen 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  <20212022  2023  2024 
Navigate by Thread:
Prev: Re: PyDevice and an IOC Florian Feldbauer via Tech-talk
Next: Re: [EXTERNAL] PyDevice and an IOC Vodopivec, Klemen 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  <20212022  2023  2024 
ANJ, 08 Dec 2021 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·