In the last few days, I have succeeded in compiling EPICS base 7.0.2-rc1
and synApps 6 (using the assemble_synApps.sh script and removing a few
modules which are not relevant to the architecture) on both Raspberry Pi
Zero and Raspberry Pi 2 Model B, using Raspbian Stretch and compilation
tools on the RPi (no cross compilers). The compilations proceeded
without error.
If you wish, we can compare which modules I have removed from the
assemble_synApps.sh
On 12/13/18 1:49 PM, Iain Marcuson via Tech-talk wrote:
> I tried installing EPICS and synApps to two different directories, and synApps failed at the same point, even on my linux-x86_64 machine. Since this approach would not work for us for other reasons, I plan to abandon this approach unless someone wants more details.
>
> Thank you,
>
> Iain.
>
>> -----Original Message-----
>> From: Jeong Han Lee <[email protected]>
>> Sent: Thursday, December 13, 2018 8:31 AM
>> To: [email protected]
>> Cc: Iain Marcuson <[email protected]>
>> Subject: Re: FW: Build failure when compiling synApps from source
>>
>> Hi Iain,
>>
>> INSTALL_LOCATION in BASE and SYNAPPS should be different. "make
>> clean or uninstall" will remove the BASE also. So it is better to use other
>> directory.
>>
>> I tested two tests on Debian 9 and Raspbian 9 as following environment
>> variables:
>>
>> * Debian 9
>> EPICS_BASE=/opt/epics
>> SUPPORT=/home/jhlee/playground/synApps/support
>>
>>
>> * Raspbian 9
>> EPICS_BASE=/opt/epics
>> SUPPORT=/home/pi/playground/synApps/support
>>
>>
>> With the enclosed instruction, I can install all on Debian 9
>> (linux_x86_64) and all except DXP and DXPSITORO on Raspbian 9
>> (linux-arm) without any issues. You may try to do this first, and switch the
>> INSTALL_LOCATION of synApps differently, for example,
>> /opt/epics/synApps-6.0.0 .
>>
>> I may try it later, since my old Raspberry Pi is not so powerful, it takes a lot
>> of time to do this.
>>
>> All what I've done is that I configured and installed with the direct compiling
>> on each architecture.
>>
>>
>> HTH,
>> Han
>>
>>
>>
>>
>> On 12/12/18 3:43 PM, Jeong Han Lee wrote:
>>> Hi Iain,
>>>
>>> I have one more question :
>>>
>>> Could you install epics through cross-compiler or on the linux-arm
>>> directly?
>>>
>>> If you do on the linux-arm directly, could you install epics through
>>>
>>> https://github.com/jeonghanlee/epics_manifest ; ?
>>>
>>> You can simply follow README to how it works. I don't recommend to
>>> use this, but I would like to see whether your OS has issues or not.
>>>
>>> It doesn't contain the synApps, but some of them with proper orders.
>>>
>>> Maybe this is not the proper way, meanwhile I am setup with synApp on
>>> my old RPi.
>>>
>>> Best,
>>> Han
>>>
>>>
>>>
>>>
>>> On 12/12/18 3:37 PM, Jeong Han Lee wrote:
>>>> Hi Iain,
>>>>
>>>> Which EPICS BASE do you use?
>>>>
>>>> Han
>>>>
>>>>
>>>> On 12/12/18 3:09 PM, Iain Marcuson via Tech-talk wrote:
>>>>> asyn/config/RELEASE does point to $(SUPPORT)/seq-2-2-5.
>>>>>
>>>>> *From:* Mark Rivers <[email protected]>
>>>>> *Sent:* Tuesday, December 11, 2018 3:24 PM
>>>>> *To:* Iain Marcuson <[email protected]>;
>> Johnson,
>>>>> Andrew N. <[email protected]>
>>>>> *Subject:* RE: FW: Build failure when compiling synApps from source
>>>>>
>>>>> Does asyn/config/RELEASE have an entry that correctly points to
>>>>> $(SUPPORT)/seq-2-2-5? If so, it should find the rule to build .st
>>>>> files.
>>>>>
>>>>> *From:* [email protected]
>>>>> <mailto:[email protected]> <tech-talk-
>> [email protected]
>>>>> <mailto:[email protected]>> *On Behalf Of *Iain
>> Marcuson
>>>>> via Tech-talk
>>>>> *Sent:* Tuesday, December 11, 2018 2:04 PM
>>>>> *To:* Johnson, Andrew N. <[email protected] <mailto:[email protected]>>
>>>>> *Cc:* [email protected] <mailto:[email protected]>
>>>>> *Subject:* RE: FW: Build failure when compiling synApps from source
>>>>>
>>>>> 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?
>>>>>
>>>>> Iain.
>>>>>
>>>>> *From:* Johnson, Andrew N. <[email protected] <mailto:[email protected]>>
>>>>> *Sent:* Tuesday, December 11, 2018 2:57 PM
>>>>> *To:* Iain Marcuson <[email protected]
>>>>> <mailto:[email protected]>>; tech-
>> [email protected]
>>>>> <mailto:[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
>>>>>
>
--
----------------------------------------------------------
Pete R. Jemian, Ph.D. <[email protected]>
Beam line Controls and Data Acquisition
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:
- 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
- RE: FW: Build failure when compiling synApps from source Iain Marcuson via Tech-talk
- Re: FW: Build failure when compiling synApps from source Jeong Han Lee via Tech-talk
- Re: FW: Build failure when compiling synApps from source Jeong Han Lee via Tech-talk
- Re: FW: Build failure when compiling synApps from source Jeong Han Lee via Tech-talk
- RE: FW: Build failure when compiling synApps from source Iain Marcuson via Tech-talk
- Navigate by Date:
- Prev:
Re: Merging store STS/MTS/LTS data from a live system with a backup Shankar, Murali via Tech-talk
- Next:
Re: FW: Build failure when compiling synApps from source Jeong Han Lee 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: FW: Build failure when compiling synApps from source Iain Marcuson via Tech-talk
- Next:
Re: FW: Build failure when compiling synApps from source Jeong Han Lee 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
|