Difference between revisions of "Installing EPICS hardware support"

From GlueXWiki
Jump to: navigation, search
(EtherIP)
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
== EtherIP ==  
 
== EtherIP ==  
  
* Create a directory, if it does not already exist,<i>$EPICS_BASE/support/</i>.  
+
* Create a directory, if it does not already exist,<i>$EPICS_BASE/../support/</i>.  
* Go to <i>$EPICS_BASE/support/</i> and check out the EtherIP source code using <b>mercurial</b>:
+
* Go to <i>$EPICS_BASE/../support/</i> and check out the EtherIP source code using <b>mercurial</b>:
 
: <i>hg clone http://epics.hg.sourceforge.net:8000/hgroot/epics/ether_ip</i>
 
: <i>hg clone http://epics.hg.sourceforge.net:8000/hgroot/epics/ether_ip</i>
* This will install the latest version in the repository.  
+
* This will checkout  the latest version of the source in the repository.
 +
* Alternatively, you can also download a release tar file from [http://sourceforge.net/projects/epics/files/ether_ip/  sourceforge web site]. Untar it in <i>$EPICS_BASE/../support/</i> and create a soft link to <i>ether_ip</i>.
 
* Edit <i>configure/RELEASE</i> file to contain only this :
 
* Edit <i>configure/RELEASE</i> file to contain only this :
 
<pre>
 
<pre>
 
EPICS_BASE=/usr/local/epics/base
 
EPICS_BASE=/usr/local/epics/base
 +
SHARE=$(EPICS_BASE)/../support
 +
ETHER_IP=$(SHARE)/ether_ip
 
</pre>
 
</pre>
* Type <i>make</i>, and the library will be created in <i>$EPICS_BASE/support/ether_ip/lib/$EPICS_HOST_ARCH/</i> .
+
* In Type <i>make</i>, and the library will be created in <i>$EPICS_BASE/../support/ether_ip/lib/$EPICS_HOST_ARCH/</i> .
 +
 
 +
* See some more details from the [[F425962#EPICS_Support | page about the Linux and EPICS installation on a <i>gluon01</i> server]].

Latest revision as of 09:36, 16 August 2012

EtherIP

  • Create a directory, if it does not already exist,$EPICS_BASE/../support/.
  • Go to $EPICS_BASE/../support/ and check out the EtherIP source code using mercurial:
hg clone http://epics.hg.sourceforge.net:8000/hgroot/epics/ether_ip
  • This will checkout the latest version of the source in the repository.
  • Alternatively, you can also download a release tar file from sourceforge web site. Untar it in $EPICS_BASE/../support/ and create a soft link to ether_ip.
  • Edit configure/RELEASE file to contain only this :
EPICS_BASE=/usr/local/epics/base
SHARE=$(EPICS_BASE)/../support
ETHER_IP=$(SHARE)/ether_ip
  • In Type make, and the library will be created in $EPICS_BASE/../support/ether_ip/lib/$EPICS_HOST_ARCH/ .