Changes for RHEL8
This commit is contained in:
@ -2,9 +2,9 @@
|
|||||||
include /ioc/tools/driver.makefile
|
include /ioc/tools/driver.makefile
|
||||||
|
|
||||||
MODULE=pyDevSup
|
MODULE=pyDevSup
|
||||||
LIBVERSION=koennecke
|
LIBVERSION=1.2.sinq
|
||||||
BUILDCLASSES=Linux
|
BUILDCLASSES=Linux
|
||||||
ARCH_FILTER=RHEL7-x86_64
|
ARCH_FILTER=RHEL8-x86_64
|
||||||
|
|
||||||
#----------- Define python version
|
#----------- Define python version
|
||||||
PY=python3.6m
|
PY=python3.6m
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
pyDevSup is not you standard EPICS extension in that it tightly interacts with the
|
pyDevSup is not you standard EPICS extension in that it tightly interacts with the
|
||||||
python interpreter. This causes some issues with Dirk Zimochs module system which
|
python interpreter. This causes some issues with Dirk Zimochs module system which
|
||||||
allows to load support modules through the require command. Most importantly,
|
allows to load support modules through the require command. Most importantly,
|
||||||
reuire does not know about python and its modules at all.
|
require does not know about python and its modules at all.
|
||||||
|
|
||||||
|
|
||||||
The good news is that it can be made to work but requires a few manual steps.
|
The good news is that it can be made to work but requires a few manual steps.
|
||||||
@ -18,8 +18,11 @@ The good news is that it can be made to work but requires a few manual steps.
|
|||||||
4) Copy the saved devsup directory in some place into pyDevSup's module hierarchy.
|
4) Copy the saved devsup directory in some place into pyDevSup's module hierarchy.
|
||||||
For example: /ioc/modules/pyDevSup/koennecke/R3.14.12/lib/devsup
|
For example: /ioc/modules/pyDevSup/koennecke/R3.14.12/lib/devsup
|
||||||
|
|
||||||
5) In order to successfuly load pyDevSup with require the directory underneath
|
5) Copy the library /ioc/modules/pyDevSup/koennecke/R3.14.12/lib/${EPICS_HOST_ARCH}/libDevSup.so to
|
||||||
where ypu placed pydevsup needs to be on the python path. For example:
|
/ioc/modules/pyDevSup/koennecke/R3.14.12/lib/devsup/_dbapi.so
|
||||||
|
|
||||||
|
6) In order to successfuly load pyDevSup with require the directory underneath where ypu placed
|
||||||
|
pydevsup needs to be on the python path. For example:
|
||||||
/ioc/modules/pyDevSup/koennecke/R3.14.12/lib/
|
/ioc/modules/pyDevSup/koennecke/R3.14.12/lib/
|
||||||
|
|
||||||
With this, one can at least run the testmodule.cmd script and it workd at least
|
With this, one can at least run the testmodule.cmd script and it workd at least
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#! /usr/local/bin/iocsh
|
#! /usr/local/bin/iocsh
|
||||||
|
|
||||||
require pyDevSup, koennecke
|
require pyDevSup, 1.2.sinq
|
||||||
|
|
||||||
py "import logging"
|
py "import logging"
|
||||||
py "logging.basicConfig(level=logging.DEBUG)"
|
py "logging.basicConfig(level=logging.DEBUG)"
|
||||||
|
Reference in New Issue
Block a user