epics-motor / motorVMC

Virtual Motor Controller
1 stars 1 forks source link

Build error: conflicting definitions of MOTOR variable in configure/RELEASE #9

Closed hellmig closed 5 years ago

hellmig commented 5 years ago

Hi,

I am having problems to build the IOC due to a conflict in the configure/RELEASE file. I am quite new to the implementation of IOCs, so I would appreciate any hint or comment to resolve the issue.

EPICS base is installed in /home/mhellm/work/epics/base und the motor record is installed with Synapps in /home/mhellm/work/epics/modules/synApps/support/motor-R6-10-1.

Console output of the build process can be found below.

Thanks in advance, best wishes, Michael

mhellm@debian:~/work/motorVMC$ git diff configure/RELEASE
diff --git a/configure/RELEASE b/configure/RELEASE
index 2f7b9bf..c1e524f 100644
--- a/configure/RELEASE
+++ b/configure/RELEASE
@@ -23,11 +23,11 @@
 # the CONFIG_SITE file.

 # Variables and paths to dependent modules:
-MOTOR = /net/s100dserv/xorApps/epics/motor-devel/support/motor
+MOTOR = /home/mhellm/work/epics/modules/synApps/support/motor-R6-10-1
 -include $(MOTOR)/configure/RELEASE

 # EPICS_BASE should appear last so earlier modules can override stuff:
-EPICS_BASE = /APSshare/epics/base-3.15.5
+EPICS_BASE = /home/mhellm/work/epics/base

 # Set RULES here if you want to use build rules from somewhere
 # other than EPICS_BASE:
mhellm@debian:~/work/motorVMC$ make
make -C ./configure install 
make[1]: Entering directory '/home/mhellm/work/motorVMC/configure'
make -C O.linux-x86_64 -f ../Makefile TOP=../.. \
    T_A=linux-x86_64 install
make[2]: Entering directory '/home/mhellm/work/motorVMC/configure/O.linux-x86_64'
perl -CSD /home/mhellm/work/epics/base/bin/linux-x86_64/convertRelease.pl checkRelease

Definition of MOTOR conflicts with SUPPORT support.
In this application a RELEASE file defines
    MOTOR = /home/mhellm/work/motorVMC
but SUPPORT at /home/mhellm/work/epics/modules/synApps/support defines
    MOTOR = /home/mhellm/work/epics/modules/synApps/support/motor-R6-10-1

/home/mhellm/work/epics/base/configure/RULES_BUILD:188: recipe for target 'checkRelease' failed
make[2]: *** [checkRelease] Error 1
make[2]: Leaving directory '/home/mhellm/work/motorVMC/configure/O.linux-x86_64'
/home/mhellm/work/epics/base/configure/RULES_ARCHS:58: recipe for target 'install.linux-x86_64' failed
make[1]: *** [install.linux-x86_64] Error 2
make[1]: Leaving directory '/home/mhellm/work/motorVMC/configure'
/home/mhellm/work/epics/base/configure/RULES_DIRS:84: recipe for target 'configure.install' failed
make: *** [configure.install] Error 2
kmpeters commented 5 years ago

MOTOR in the RELEASE file should point to the version of the motor module you want to use. In your case motorVMC's configure/RELEASE should define motor this way:

MOTOR=/home/mhellm/work/epics/modules/synApps/support/motor-R6-10-1
kmpeters commented 5 years ago

Can this issue be closed?

hellmig commented 5 years ago

Hi Kevin,

sorry for the late reply: I was able to solve the issue by reinstalling synApps R6_0 directly in the main EPICS directory.

Thanks for your help.