Difference between revisions of "Installing EPICS extensions"

From GlueXWiki
Jump to: navigation, search
(StripTool)
(VDCT)
Line 44: Line 44:
 
* Copy it to <i>$EPICS_EXTENSIONS/javalib/</i> directory. If the directory does not exist manually create it.  
 
* Copy it to <i>$EPICS_EXTENSIONS/javalib/</i> directory. If the directory does not exist manually create it.  
 
* Create an alias <b>alias vdct 'java -jar $EPICS_EXTENSIONS/javalib/VisualDCT.jar \!*'</b>.  
 
* Create an alias <b>alias vdct 'java -jar $EPICS_EXTENSIONS/javalib/VisualDCT.jar \!*'</b>.  
* Start VDCT by typing <b>vdct someFile.dbd anotherFile.db</b>
+
* Start VDCT by typing <b>vdct someFile.dbd anotherFile.db</b>. You have to make sure that the DBD-file contains the definitions of the records define in the DB-file in the command line.

Revision as of 10:31, 3 April 2011


Structure and Configuration

  • Download the tar-file from EPICS web site, the new one.
  • Copy it into /usr/local/epics, you will be creating a new subdirectory extensions. Also make sure that thats where your $EPICS_EXTENSIONS variable is pointing too.
  • Simply untar the tar file with the EPICS configuration files and it will create the extensions directory and the required structure.
  • Now you are ready to populate the EPICS extensions directory and build them if needed.


MEDM

  • Download the tar-file from EPICS web site.
  • Copy it into $EPICS_EXTENSIONS/src/ directory ad unzip it there.
  • Create a symbolic link medm</a> to the newly created MEDM distribution directory.
  • Go into <i>$EPICS_EXTENSIONS/src/medm directory and type make.
  • You may get some messages about missing libraries, in which case you need to find what is missing on your Linux system and install them. Ubuntu has all the needed packages in the repository, and I think RHEL5 has them too.
  • The medm executable should be installed in $EPICS_EXTENSIONS/bin/$EPICS_HOST_ARCH/ directory.


Alarm Handler

  • Download the tar-file from EPICS web site.
  • Copy it into $EPICS_EXTENSIONS/src/ directory ad unzip it there.
  • Create a symbolic link alh</a> to the newly created ALH distribution directory.
  • Go into <i>$EPICS_EXTENSIONS/src/alh directory and type make.
  • You may get some messages about missing libraries, in which case you need to find what is missing on your Linux system and install them. Ubuntu has all the needed packages in the repository, and I think RHEL5 has them too.
  • The alh executable should be installed in $EPICS_EXTENSIONS/bin/$EPICS_HOST_ARCH/ directory.


StripTool

  • Download the tar-file from EPICS web site.
  • Copy it into $EPICS_EXTENSIONS/src/ directory ad unzip it there.
  • Create a symbolic link StripTool</a> to the newly created StripTool distribution directory.
  • Go into <i>$EPICS_EXTENSIONS/src/StripTool directory and type make.
  • You may get some messages about missing libraries, in which case you need to find what is missing on your Linux system and install them. Ubuntu has all the needed packages in the repository, and I think RHEL5 has them too.
  • The StripTool executable should be installed in $EPICS_EXTENSIONS/bin/$EPICS_HOST_ARCH/ directory.


VDCT

  • Download the distribution jar-file from EPICS web site. You can check for a newer version of the VDCT.
  • Copy it to $EPICS_EXTENSIONS/javalib/ directory. If the directory does not exist manually create it.
  • Create an alias alias vdct 'java -jar $EPICS_EXTENSIONS/javalib/VisualDCT.jar \!*'.
  • Start VDCT by typing vdct someFile.dbd anotherFile.db. You have to make sure that the DBD-file contains the definitions of the records define in the DB-file in the command line.