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

Subject: Re: installing EPICS
From: Matt Newville <[email protected]>
To: James Bryant <[email protected]>
Cc: [email protected]
Date: Wed, 24 Oct 2012 09:50:36 -0500
Hi James,

On Tue, Oct 23, 2012 at 10:59 PM, James Bryant
<[email protected]> wrote:
> Ive been trying all types of ways to install EPICS on my mac OS 10.8.2 with
> no luck... I have a laundry list of problems but Ive been informed that the
> first problem to tackle is getting epics base working... every time i try to
> run 'python setup.py install' from the epics base directory it gives me this
> code :
>
> new-host:base-3.14.12.2 jamesbryant$ export
> EPICS_BASE=/Users/jamesbryant/Desktop/base-3.14.12.2
> new-host:base-3.14.12.2 jamesbryant$ python setup.py install
> python: can't open file 'setup.py': [Errno 2] No such file or directory
> new-host:base-3.14.12.2 jamesbryant$ python3 setup.py install
> /Library/Frameworks/Python.framework/Versions/3.2/Resources/Python.app/Contents/MacOS/Python:
> can't open file 'setup.py': [Errno 2] No such file or directory
> new-host:base-3.14.12.2 jamesbryant$ sudo setup.py install
> Password:
> sudo: setup.py: command not found
>
> # before this I input:
>
> new-host:base-3.14.12.2 jamesbryant$ export EPICS_HOST_ARCH=darwin-x86
> new-host:base-3.14.12.2 jamesbryant$ make
>
> # ... and it spit out a bunch of code, which ended with:
>
> mkdir ../../../lib/perl/5.12.4
> mkdir ../../../lib/perl/5.12.4/darwin-thread-multi-2level
> Installing script ../../../bin/darwin-x86/cainfo.pl
> Installing script ../../../bin/darwin-x86/caput.pl
> Installing script ../../../bin/darwin-x86/caget.pl
> Installing script ../../../bin/darwin-x86/capr.pl
> Installing script ../../../bin/darwin-x86/camonitor.pl
> rm -f CA.html
> podchecker ../CA.pm && pod2html --infile=../CA.pm --outfile=CA.html
> ../CA.pm pod syntax OK.
> Installing html ../../../html/./CA.html
> rm CA.html
>
> any ideas???

It's looks like epics base is installed in
/Users/jamesbryant/Desktop/base-3.14.12.2.   You might want to consder
moving that to a more "installed" place, say
/usr/local/epics/base-3.14.12.2/ or even
/Users/jamesbryant/local/epics/base-3.14.12.2/.

But it looks like your real question is about installing the pyepics
interface to Epics Channel Access.   For that, now that you have Epics
base installed, download
http://cars9.uchicago.edu/software/python/pyepics3/src/pyepics-3.2.1.tar.gz
  then unpack that and run python setup.py from there:
   %> tar xzf pyepics-3.2.1.tar.gz
   %> cd pyepics-3.2.1
   %> python setup.py build

If you have EPICS_BASE set to point to your Epics base-3.14.12.2
directory, the setup.py should pick that up and let you know whether
or not it found the CA library (libca.dylib on OSX).  If all goes
well, you can then install this with

   %> sudo python setup.py install

Hope that helps,

--Matt Newville <newville at cars.uchicago.edu> 630-252-0431

References:
installing EPICS James Bryant

Navigate by Date:
Prev: Re: installing EPICS J. Lewis Muir
Next: RE: Rotation image Widget Chen, Xihui
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: installing EPICS J. Lewis Muir
Next: Rotation image Widget patard
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 18 Nov 2013 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·