It’s better to start with the distributed version of that RELEASE file and make any needed local edits. The one on the Web site is now a bit out of date.
Mark
From: Yury Malevich - STFC UKRI <yury.malevich at stfc.ac.uk>
Sent: Thursday, June 27, 2024 10:04 AM
To: Mark Rivers <rivers at cars.uchicago.edu>; tech-talk at aps.anl.gov
Subject: RE: Errors during building of asyn package
Hi Mark,
Thank you for your help.
/home/yury/EPICS/configure/EPICS_BASE.linux-x86_64 doesn’t exist. And there is no folder called “configure” in /home/yury/EPICS/.
As for
asyn/configure/RELEASE file, its contains that I showed are copy-pasted from and according to the
Installation
on Linux / MacOS — EPICS Documentation documentation (epics-controls.org)
guide. I deleted all commented lines for brevity.
Here is the whole file:
# RELEASE Location of external products
# Define the following Required or Optional
# either in this file, or in a RELEASE.local
HOME=/home/yury
#SUPPORT=/corvette/home/epics/support
SUPPORT=$(HOME)/EPICS/support
-include $(TOP)/../configure/SUPPORT.$(EPICS_HOST_ARCH)
# Optional
# IPAC is only necessary if support for Greensprings IP488 is required
# IPAC release V2-7 or later is required.
# It can be obtained here:
https://github.com/epics-modules/ipac
#IPAC=$(SUPPORT)/ipac-2-16
# Optional
# SEQ is required for testIPServer
# It can be obtained here:
https://www-csr.bessy.de/control/SoftDist/sequencer/Manual.html
#SNCSEQ=$(SUPPORT)/seq-2-2-9
# Optional
# For sCalcout support in asynOctet - applications include asynCalc.dbd
# It can be obtained here:
https://github.com/epics-modules/calc
#CALC=$(SUPPORT)/calc-3-7-4
# Optional
# If CALC was built with SSCAN support then SSCAN must be defined for testEpicsApp
# It can be obtained here:
https://github.com/epics-modules/sscan
#SSCAN=$(SUPPORT)/sscan-2-11-5
# Required
# EPICS_BASE 3.14.6 or later is required
# It can be obtained here:
https://github.com/epics-base/epics-base
#EPICS_BASE=/corvette/usr/local/epics/base-7.0.7
EPICS_BASE=${HOME}/EPICS/epics-base
-include $(TOP)/../configure/EPICS_BASE.$(EPICS_HOST_ARCH)
#-include $(TOP)/../RELEASE.local
#-include $(TOP)/../RELEASE.$(EPICS_HOST_ARCH).local
#-include $(TOP)/configure/RELEASE.local
I can see from your asyn/configure/RELEASE file that you are using a very old version of asyn. The last version that contained the lines you have was
R4-36 in 2019. I suggest you update to a new version.
Does this file exist? It is optionally included in asyn/configure/RELEASE after EPICS_BASE is defined there.
/home/yury/EPICS/configure/EPICS_BASE.linux-x86_64
If so, does it correctly define EPICS_BASE?
Hi Mark,
Yes, I think I did.
My /home/yury/EPICS/support/asyn/configure/RELEASE file looks like that:
HOME=/home/yury
SUPPORT=$(HOME)/EPICS/support
-include $(TOP)/../configure/SUPPORT.$(EPICS_HOST_ARCH)
EPICS_BASE=${HOME}/EPICS/epics-base
-include $(TOP)/../configure/EPICS_BASE.$(EPICS_HOST_ARCH)
Yury
Hi Yury,
You need to edit asyn/configure/RELEASE to define the path to EPICS_BASE. This is what mine looks like:
EPICS_BASE=/corvette/usr/local/epics/base-7.0.7
Yours should probably look like this:
EPICS_BASE=/home/yury/EPICS/epics-base
Did you edit that file correctly?
Mark
Hi All,
I am using virtual machine running ubuntu-22.04.4-desktop-amd64.
I am a newbie in EPICS, trying to follow this guide:
Installation
on Linux / MacOS — EPICS Documentation documentation (epics-controls.org)
But when I am trying to build asyn package I have some errors:
make
make -C ./configure install
make[1]: Entering directory '/home/yury/EPICS/support/asyn/configure'
make -C O.linux-x86_64 -f ../Makefile TOP=../.. \
T_A=linux-x86_64 install
make[2]: Entering directory '/home/yury/EPICS/support/asyn/configure/O.linux-x86_64'
perl -CSD /home/yury/EPICS/epics-base/bin/linux-x86_64/convertRelease.pl checkRelease
EPICS_BASE must be set in a configure/RELEASE file.
make[2]: *** [/home/yury/EPICS/epics-base/configure/RULES_BUILD:208: checkRelease] Error 2
make[2]: Leaving directory '/home/yury/EPICS/support/asyn/configure/O.linux-x86_64'
make[1]: *** [/home/yury/EPICS/epics-base/configure/RULES_ARCHS:58: install.linux-x86_64] Error 2
make[1]: Leaving directory '/home/yury/EPICS/support/asyn/configure'
make: *** [/home/yury/EPICS/epics-base/configure/RULES_DIRS:85: configure.install] Error 2
Any assistance would be greatly appreciated.
Thanks.
Yury