Difference between revisions of "Installing EPICS hardware support"
From GlueXWiki
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 checkout the latest version of the source 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]. | + | * 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 | + | SHARE=$(EPICS_BASE)/../support |
ETHER_IP=$(SHARE)/ether_ip | ETHER_IP=$(SHARE)/ether_ip | ||
</pre> | </pre> | ||
* In 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> . |
Revision as of 16:54, 24 April 2011
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:
- 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/ .