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  <20142015  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  <20142015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: xsubpp moved under Sscientif Linux 7.0
From: Andrew Johnson <[email protected]>
To: <[email protected]>
Date: Mon, 1 Dec 2014 12:22:46 -0600
Thanks guys. I committed Michael's version and added a patch to the
3.14.12 Known Problems page.

In RHEL 6 /usr/share/perl5/Extutils/xsubpp exists as a soft-link to
/usr/bin/xsubpp, while earlier Perl versions have it only in Perl's
ExtUtils directory.

- Andrew


On 12/01/2014 07:23 AM, Michael Davidsaver wrote:
> A more (OS) portable way to accomplish this
> 
> XSUBPP = $(firstword $(wildcard /usr/bin/xsubpp $(EXTUTILS)/xsubpp))
> 
> 
> On 12/01/2014 05:43 AM, Torsten Bögershausen wrote:
>> Hi,
>>
>> I tried to compile EPICS under "Scientific Linux release 7.0 (Nitrogen)"
>>
>> It failed, because xsubpp is no longer here:
>> /usr/share/perl5/Extutils/xsubpp
>> but found here:
>> /usr/bin/xsubpp
>>
>> Thanks to Götz, who helped me debugging the error and finding a fix.
>>
>> For now I added a shell script to see where xsubpp is.
>> The following applies to base-3.15.1-rc1 (but the problem is in older
>> bases as well)
>>
>> Does this sound reasonable, or are there better ways ?
>>
>>
>>
>> diff --git a/src/ca/client/perl/Makefile b/src/ca/client/perl/Makefile
>> index 6ae32dd..516e494 100644
>> --- a/src/ca/client/perl/Makefile
>> +++ b/src/ca/client/perl/Makefile
>> @@ -54,10 +54,11 @@ include $(TOP)/configure/RULES
>>  
>>  ifdef T_A
>>    EXTUTILS = $(shell $(PERL) ../perlConfig.pl privlib)/ExtUtils
>> +  XSUBPP = $(shell if test -x /usr/bin/xsubpp ; then echo
>> /usr/bin/xsubpp ; else echo $(EXTUTILS)/xsubpp ; fi)
>>  
>>    %.c: ../%.xs
>>         $(RM) $@ $@_new
>> -       $(PERL) $(EXTUTILS)/xsubpp -typemap $(EXTUTILS)/typemap $< >
>> $@_new && $(MV) $@_new $@
>> +       $(PERL) $(XSUBPP) -typemap $(EXTUTILS)/typemap $< > $@_new &&
>> $(MV) $@_new $@
>>  
>>    $(INSTALL_PERL_MODULES)/$(PERL_ARCHPATH)/%: %
>>
>>
>>
>>
>>

-- 
People everywhere confuse what they read in newspapers with news.
-- A. J. Liebling

Replies:
Re: xsubpp moved under Sscientif Linux 7.0 Wang Xiaoqiang (PSI)
References:
catools (caget/caput/camonitor) and locale settings from the environment Goetz Pfeiffer
Re: catools (caget/caput/camonitor) and locale settings from the environment Torsten Bögershausen
xsubpp moved under Sscientif Linux 7.0 Torsten Bögershausen
Re: xsubpp moved under Sscientif Linux 7.0 Michael Davidsaver

Navigate by Date:
Prev: Strip Chart widget in EDM Mike Westfall
Next: CAENels TetrAMM Diego Omitto
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: xsubpp moved under Sscientif Linux 7.0 Michael Davidsaver
Next: Re: xsubpp moved under Sscientif Linux 7.0 Wang Xiaoqiang (PSI)
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 17 Dec 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·