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  <20182019  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  <20182019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: FW: Build failure when compiling synApps from source
From: "Johnson, Andrew N. via Tech-talk" <[email protected]>
To: Iain Marcuson <[email protected]>
Cc: "[email protected]" <[email protected]>
Date: Tue, 11 Dec 2018 20:25:35 +0000
On 12/11/18 2:04 PM, Iain Marcuson wrote:

The synApps RELEASE files point to $(SUPPORT)/seq-2-2-5.  That said, how would I install EPICS and synApps in a distinct directory if I need to include the source?

 

Ahh, I think I see what's happening; did you configure and build the sequencer with INSTALL_LOCATION in its configure/CONFIG_SITE file pointing to /opt/epics?

My apologies for my earlier accusation, I think you found a bug in the sequencer's build setup. Using INSTALL_LOCATION to install multiple modules into a single location hasn't been supported in EPICS for very long (it's not something we do here at all), and unfortunately I think you hit one of the remaining pot-holes.

Here's how I think you can resolve this by hand for now: Copy the RULES_BUILD file from the sequencer's configure directory into /opt/epics/cfg as a new file called RULES_SEQ (you don't really have to rename it but it's probably safest to do so; the name must start with "RULES"). This will now be included by your other modules at build-time. You might need the line
    SEQ=/opt/epics
or
    SNCSEQ=/opt/epics
in their configure/RELEASE files though for them to find the snc binary.

Please let us know if this works, we can automate it in later versions of the sequencer.

- Andrew


From: Johnson, Andrew N. <[email protected]>
Sent: Tuesday, December 11, 2018 2:57 PM
To: Iain Marcuson <[email protected]>; [email protected]
Subject: Re: FW: Build failure when compiling synApps from source

 

Hi Iain,

On 12/11/18 1:20 PM, Iain Marcuson via Tech-talk wrote:

I was able to build the standalone sequencer fine.  Yokogawa appears to build, but asyn fails with
 
make[4]: *** No rule to make target `ipSNCServer.o', needed by `libtestIPServerSupport.a'.  Stop.

The sequencer provides its own set of build rules which the EPICS build system will pull in automatically from the sncseq module when you list it in your application's configure/RELEASE file. This isn't happening for you, and I suspect you're trying to use a modified build system since you also wrote this earlier:

-snc binary in /opt/epics/bin/linux-arm

That isn't how the sequencer normally comes, GNUmake needs to see the contents of the sncseq/configure/RULES_BUILD file for any application that needs to compiler sequence programs.

- Andrew


-- 
Arguing for surveillance because you have nothing to hide is no
different than making the claim, "I don't care about freedom of
speech because I have nothing to say." -- Edward Snowdon

-- 
Arguing for surveillance because you have nothing to hide is no
different than making the claim, "I don't care about freedom of
speech because I have nothing to say." -- Edward Snowdon

Replies:
RE: FW: Build failure when compiling synApps from source Iain Marcuson via Tech-talk
References:
Build failure when compiling synApps from source Iain Marcuson via Tech-talk
Fw: Build failure when compiling synApps from source Mark Rivers via Tech-talk
FW: Build failure when compiling synApps from source Iain Marcuson via Tech-talk
Re: FW: Build failure when compiling synApps from source Johnson, Andrew N. via Tech-talk
RE: FW: Build failure when compiling synApps from source Iain Marcuson via Tech-talk

Navigate by Date:
Prev: RE: FW: Build failure when compiling synApps from source Iain Marcuson via Tech-talk
Next: RE: FW: Build failure when compiling synApps from source Iain Marcuson 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  <20182019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: RE: FW: Build failure when compiling synApps from source Iain Marcuson via Tech-talk
Next: RE: FW: Build failure when compiling synApps from source Iain Marcuson 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  <20182019  2020  2021  2022  2023  2024 
ANJ, 12 Dec 2018 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·