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  <20202021  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  <20202021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: installing synApps on Ubuntu
From: "Jemian, Pete R. via Tech-talk" <tech-talk at aps.anl.gov>
To: "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Wed, 19 Aug 2020 07:45:27 +0000
Compile of synApps on Ubuntu and other Debian systems has been 
successful in the past.  I use it for some years on Linux Mint (releases 
17-20) and on Raspberry Pi.

Since you encounter a firm, reproducible problem (and the answer is not 
obvious yet), you might consider a slightly different approach, using 
the assemble_synApps.sh shell script.

Follow this guide (for the RaspberryPi since it may work for Ubuntu as 
well):
https://cmd-response.readthedocs.io/en/latest/epics/rpi_epics.html#install-synapps

The guide was written with an install of EPICS base 7.0.3.1.  7.0.4 is 
available so use that instead.  https://epics.anl.gov/base/R7-0/4.php

You will need these libraries:

sudo apt-get install re2c
# you _might_ already have these installed, but to be sure...
sudo apt-get install libnet-dev libpcap-dev libusb-1.0-0-dev

For Area Detector, you will need:

sudo apt install libx11-dev libxext-dev

Note that for Ubuntu (and other linux OS variants), several synApps 
modules can be commented out of the build since they will not run on 
linux.  An obvious example is VME.  The guide shows a drop-down 
"Details"  icon with the pattern I use.

Hope this helps,
     Pete


On 8/19/2020 12:25 AM, Randall Cayford via Tech-talk wrote:
> Nothing is printed.
> It happens on every Ubuntu machine we try to install on.
> 
>> On Aug 18, 2020, at 6:42 PM, Michael Davidsaver <mdavidsaver at gmail.com> wrote:
>>
>> On 8/18/20 2:45 PM, Randall Cayford via Tech-talk wrote:
>>> We must be missing something obvious but synApps won’t install on Ubuntu for us.  The problem step is make release hangs forever.  Some problem with perl but we don’t know what.
>>>
>>> Steps:
>>> install ubuntu 18 LTS
>>> Install EPICS7
>>> Unzip the synApps (6_1) tar file and edit config files
>>> run “make release”
>>> Wait forever….
>>
>> What, if anything, is printed while you are waiting?
>>
>>> Exact same procedure installs fine on Centos 7.  Since there isn’t a lot of chatter about this, it seems like we’re missing a step somewhere.  Anyone know what we need to do?
>>
>> I occasionally have builds get stuck in infinite loops,
>> repeating the same set of steps until I interrupt.
>> So far this hasn't happen often or predictably enough
>> to do much troubleshooting.

-- 
----------------------------------------------------------
Pete R. Jemian, Ph.D.                 <jemian at anl.gov>
Beam line Controls and Data Acquisition (BC, aka BCDA)
Advanced Photon Source,    Argonne National Laboratory
Argonne, IL  60439                    630 - 252 - 3189
-----------------------------------------------------------
       Education is the one thing for which people
          are willing to pay yet not receive.
-----------------------------------------------------------



References:
Re: installing synApps on Ubuntu Michael Davidsaver via Tech-talk
Re: installing synApps on Ubuntu Randall Cayford via Tech-talk

Navigate by Date:
Prev: websocket connection via Streamdevice Hetz, Benjamin via Tech-talk
Next: Re: ADEiger 1.8 Yendell, Gary (DLSLtd, RAL, LSCI) 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  <20202021  2022  2023  2024 
Navigate by Thread:
Prev: Re: installing synApps on Ubuntu Randall Cayford via Tech-talk
Next: Re: installing synApps on Ubuntu Randall Cayford 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  <20202021  2022  2023  2024 
ANJ, 20 Aug 2020 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·