My understanding is that the build process uses the configure/RELEASE files to dynamically build the dependencies so they are not hard-coded into the Makefile.
I did not have the problem you describe when using assemble_synApps.sh recently.
Mark
Sent from my iPhone
On Oct 27, 2019, at 9:04 AM, Siddons, David <[email protected]<mailto:[email protected]>> wrote:
Hi Mark,
The assemble_synApps script itself calls "make release" as its final command. So the make knows where to look, but there's nothing there to find because that module hasn't yet been built. For example, areaDetector depends on busy and calc, but the makefile tries to build them in alphabetical order. The script needs to know about dependencies, or at least take them into account when it creates the makefile.
Pete.
________________________________
From: Mark Rivers <[email protected]<mailto:[email protected]>>
Sent: Saturday, October 26, 2019 2:47 PM
To: Siddons, David <[email protected]<mailto:[email protected]>>
Cc: tech-talk <[email protected]<mailto:[email protected]>>
Subject: Re: building synApps from Git
Hi Pete,
You should not need to edit the Makefile.
After you ran assemble_synApps.sh and edited support/configure/RELEASE did you run this command:
make release
You need to do that before then running
make
Mark
________________________________
From: Tech-talk <[email protected]<mailto:[email protected]>> on behalf of Siddons, David via Tech-talk <[email protected]<mailto:[email protected]>>
Sent: Saturday, October 26, 2019 1:20 PM
To: EPICS Tech Talk
Subject: building synApps from Git
I just downloaded the latest synApps collection according to the instructions on its site, using the command:
bash ./assemble_synApps.sh
followed, after setting some variables, "make".
It seems that the build works through the modules in alphabetical order, without regard to dependencies. In particular, it tries to build areaDetector very early, which fails because a bunch of libraries from other modules don't exist yet. I edited the Makefile to move the areaDetector reference later in the list, and everything built OK.
Is this how it's supposed to be? Did I do something wrong?
Pete.
- References:
- building synApps from Git Siddons, David via Tech-talk
- Re: building synApps from Git Mark Rivers via Tech-talk
- Re: building synApps from Git Siddons, David via Tech-talk
- Navigate by Date:
- Prev:
Re: building synApps from Git Siddons, David via Tech-talk
- Next:
RE: building synApps from Git Mark Rivers 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: building synApps from Git Siddons, David via Tech-talk
- Next:
RE: building synApps from Git Mark Rivers 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
|