Skip to content
This repository has been archived by the owner on Jan 12, 2021. It is now read-only.

require db template cannot be loaded properly #6

Closed
jeonghanlee opened this issue Oct 19, 2017 · 1 comment
Closed

require db template cannot be loaded properly #6

jeonghanlee opened this issue Oct 19, 2017 · 1 comment
Assignees
Labels

Comments

@jeonghanlee
Copy link
Contributor

Some prequirements are expected in require.c

IOC should define in the first, and the following errors

dbLoadTemplate(moduleversion.template, "IOC=E3Test")
dbLoadTemplate: error opening sub file moduleversion.template: No such file or directory
dbLoadTemplate(iocAdminSoft.substitutions, "IOC=E3Test:IocStat")
dbl > ".//E3Test_PVs.list"
iocInit
Starting iocInit
############################################################################
## EPICS R3.15.4-EEE-3.15.4 $$Date$$
## EPICS Base built Oct 19 2017
############################################################################
require: record E3Test:MODULES not found
require: record E3Test:VERSIONS not found
require: record E3Test:MOD_VER not found

If I set the absolute path in....

dbLoadTemplate(/epics/modules/require/0.0.1/R3.15.4/db/moduleversion.template, "IOC=E3Test")
Substitution file error: syntax error
line 1: 'record'

Here is dbl output:

(null):iocStats_VER
(null):require_VER
(null):MODULES
(null):MOD_VER
(null):VERSIONS
@jeonghanlee
Copy link
Contributor Author

It was hard-coded in require.c. In order to give users to choose its own IOC variable, REQUIRE_IOC was introduced. implemented at f007423 and icshwi/require-ess@239a996

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant