1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 <2024> 2025 | Index | 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 <2024> 2025 |
<== Date ==> | <== Thread ==> |
---|
Subject: | RE: Errors during building of asyn package |
From: | Yury Malevich - STFC UKRI via Tech-talk <tech-talk at aps.anl.gov> |
To: | Mark Rivers <rivers at cars.uchicago.edu>, "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov> |
Date: | Fri, 28 Jun 2024 09:40:17 +0000 |
Hi Mark, No, there is no
/home/yury/EPICS/support/configure/EPICS_BASE.linux-x86_64 file either. /home/yury/EPICS/support/ folder contains only asyn folder. In the RELEASE file I only replaced SUPPORT=/corvette/home/epics/support with SUPPORT=$(HOME)/EPICS/support -include $(TOP)/../configure/SUPPORT.$(EPICS_HOST_ARCH) and EPICS_BASE=/corvette/usr/local/epics/base-7.0.7 with EPICS_BASE=${HOME}/EPICS/epics-base -include $(TOP)/../configure/EPICS_BASE.$(EPICS_HOST_ARCH) Also I added
HOME=/home/yury line Yury
From: Mark Rivers <rivers at cars.uchicago.edu>
Hi Yury,
Ø
/home/yury/EPICS/configure/EPICS_BASE.linux-x86_64 doesn’t exist. And there is no folder called “configure” in /home/yury/EPICS/.
That was my mistake. I meant to ask if this file exists: /home/yury/EPICS/support/configure/EPICS_BASE.linux-x86_64 From: Yury Malevich - STFC UKRI <yury.malevich at stfc.ac.uk>
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 Yury
From: Mark Rivers <rivers at cars.uchicago.edu>
Hi Yuri, 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. Mark From: Mark Rivers <rivers at cars.uchicago.edu> 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? Mark From: Yury Malevich - STFC UKRI <yury.malevich at stfc.ac.uk> 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 From: Mark Rivers <rivers at cars.uchicago.edu> 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 From: Tech-talk <tech-talk-bounces at aps.anl.gov>
on behalf of Yury Malevich - STFC UKRI via Tech-talk <tech-talk at aps.anl.gov> 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 |