Changes for RHEL8

This commit is contained in:
2024-01-12 09:32:27 +01:00
parent e7ba24f4e2
commit 87d1a3999c
3 changed files with 9 additions and 6 deletions

View File

@ -2,9 +2,9 @@
include /ioc/tools/driver.makefile
MODULE=pyDevSup
LIBVERSION=koennecke
LIBVERSION=1.2.sinq
BUILDCLASSES=Linux
ARCH_FILTER=RHEL7-x86_64
ARCH_FILTER=RHEL8-x86_64
#----------- Define python version
PY=python3.6m

View File

@ -3,7 +3,7 @@
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
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.
@ -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.
For example: /ioc/modules/pyDevSup/koennecke/R3.14.12/lib/devsup
5) In order to successfuly load pyDevSup with require the directory underneath
where ypu placed pydevsup needs to be on the python path. For example:
5) Copy the library /ioc/modules/pyDevSup/koennecke/R3.14.12/lib/${EPICS_HOST_ARCH}/libDevSup.so to
/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/
With this, one can at least run the testmodule.cmd script and it workd at least

View File

@ -1,6 +1,6 @@
#! /usr/local/bin/iocsh
require pyDevSup, koennecke
require pyDevSup, 1.2.sinq
py "import logging"
py "logging.basicConfig(level=logging.DEBUG)"