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: xsubpp moved under Sscientif Linux 7.0
From: Torsten Bögershausen <[email protected]>
To: "Pfeiffer, Götz" <[email protected]>, "[email protected]" <[email protected]>, "Johnson,Andrew N." <[email protected]>
Date: Mon, 1 Dec 2014 11:43:48 +0100
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)/%: %






Replies:
Re: xsubpp moved under Sscientif Linux 7.0 Michael Davidsaver
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

Navigate by Date:
Prev: RE: Does EPICS has defects? Dalesio, Leo
Next: Re: xsubpp moved under Sscientif Linux 7.0 Michael Davidsaver
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: catools (caget/caput/camonitor) and locale settings from the environment Torsten Bögershausen
Next: Re: xsubpp moved under Sscientif Linux 7.0 Michael Davidsaver
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 ·