EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

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 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
<== 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: Mon, 1 Jul 2024 10:31:08 +0000

Hi Mark,

 

I am not sure how to check the version of EPICS base installed. Standard epics-base –version etc. don’t work.

But I cloned it las week using:

git clone --recursive https://github.com/epics-base/epics-base.git

so seemingly it is 7.0.8

 

I cloned asyn last week as well with

git clone https://github.com/epics-modules/asyn.git

so it is seemingly 4-44-2

 

OS is ubuntu-22.04.4-desktop-amd64

 

This is an output of sudo make after sudo make clean:

 

sudo make

make -C ./configure install

make[1]: Entering directory '/home/yury/EPICS/support/asyn/configure'

perl -CSD /home/yury/EPICS/epics-base/bin/linux-x86_64/makeMakefile.pl O.linux-x86_64 ../..

mkdir -p O.Common

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

 

 

Yury

 

From: Mark Rivers <rivers at cars.uchicago.edu>
Sent: 28 June 2024 14:41
To: Malevich, Yury (STFC,RAL,CLF) <yury.malevich at stfc.ac.uk>; tech-talk at aps.anl.gov
Subject: Re: Errors during building of asyn package

 

Hi Yury,

 

What version of EPICS base are you using?

 

What version of asyn are you using?

 

What operating system are you using?

 

Please send the complete output when you run the following at the top-level of asyn:

 

make clean

make

 

Mark

 


From: Yury Malevich - STFC UKRI <yury.malevich at stfc.ac.uk>
Sent: Friday, June 28, 2024 4:40 AM
To: Mark Rivers <rivers at cars.uchicago.edu>; tech-talk at aps.anl.gov <tech-talk at aps.anl.gov>
Subject: RE: Errors during building of asyn package

 

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>
Sent: 27 June 2024 22:27
To: Malevich, Yury (STFC,RAL,CLF) <yury.malevich at stfc.ac.uk>; tech-talk at aps.anl.gov
Subject: RE: Errors during building of asyn package

 

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>
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

 

 

Yury

 

 

From: Mark Rivers <rivers at cars.uchicago.edu>
Sent: 27 June 2024 15:09
To: Malevich, Yury (STFC,RAL,CLF) <
yury.malevich at stfc.ac.uk>; tech-talk at aps.anl.gov
Subject: Re: Errors during building of asyn package

 

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>
Sent: Thursday, June 27, 2024 8:56 AM
To: Yury Malevich - STFC UKRI <
yury.malevich at stfc.ac.uk>; tech-talk at aps.anl.gov <tech-talk at aps.anl.gov>
Subject: Re: Errors during building of asyn package

 

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>
Sent: Thursday, June 27, 2024 8:31 AM
To: Mark Rivers <
rivers at cars.uchicago.edu>; tech-talk at aps.anl.gov <tech-talk at aps.anl.gov>
Subject: RE: Errors during building of asyn package

 

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>
Sent: 27 June 2024 14:18
To: 
tech-talk at aps.anl.gov; Malevich, Yury (STFC,RAL,CLF) <yury.malevich at stfc.ac.uk>
Subject: Re: Errors during building of asyn package

 

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>
Sent: Thursday, June 27, 2024 7:58 AM
To: 
tech-talk at aps.anl.gov <tech-talk at aps.anl.gov>
Subject: Errors during building of asyn package

 

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

 


Replies:
Re: Errors during building of asyn package Timo Korhonen via Tech-talk
Re: Errors during building of asyn package Mark Rivers via Tech-talk
References:
Errors during building of asyn package Yury Malevich - STFC UKRI via Tech-talk
Re: Errors during building of asyn package Mark Rivers via Tech-talk
RE: Errors during building of asyn package Yury Malevich - STFC UKRI via Tech-talk
Re: Errors during building of asyn package Mark Rivers via Tech-talk
Re: Errors during building of asyn package Mark Rivers via Tech-talk
RE: Errors during building of asyn package Yury Malevich - STFC UKRI via Tech-talk
RE: Errors during building of asyn package Mark Rivers via Tech-talk
RE: Errors during building of asyn package Yury Malevich - STFC UKRI via Tech-talk
Re: Errors during building of asyn package Mark Rivers via Tech-talk

Navigate by Date:
Prev: Re: Retrieve motor-record data from archiver appliance Timo Korhonen via Tech-talk
Next: Re: Errors during building of asyn package Timo Korhonen via Tech-talk
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
Navigate by Thread:
Prev: Re: Errors during building of asyn package Mark Rivers via Tech-talk
Next: Re: Errors during building of asyn package Timo Korhonen via Tech-talk
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
ANJ, 01 Jul 2024 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·