Difference between revisions of "Installing EPICS extensions"

From GlueXWiki
Jump to: navigation, search
(VDCT)
(Linux packages that may need to be installed)
 
(8 intermediate revisions by the same user not shown)
Line 4: Line 4:
  
 
* Download the tar-file from [http://www.aps.anl.gov/epics/extensions/configure/index.php EPICS web site], the new one.
 
* Download the tar-file from [http://www.aps.anl.gov/epics/extensions/configure/index.php EPICS web site], the new one.
* Copy it into /usr/local/epics, you will be creating a new subdirectory <i>extensions</i>. Also make sure that thats where your $EPICS_EXTENSIONS variable is pointing too.  
+
* Copy it into /usr/local/epics, you will be creating a new subdirectory <i>extensions</i>. Also make sure that thats where your $EPICS_EXTENSIONS variable is pointing to.  
 
* Simply untar the tar file with the EPICS configuration files and it will create the <i>extensions</i> directory and the required structure.
 
* Simply untar the tar file with the EPICS configuration files and it will create the <i>extensions</i> directory and the required structure.
 
* Now you are ready to populate the EPICS extensions directory and build them if needed.
 
* Now you are ready to populate the EPICS extensions directory and build them if needed.
  
 +
== Additional Linux packages that may need to be installed ==
 +
 +
* openmotif-devel
  
 
== MEDM ==  
 
== MEDM ==  
Line 13: Line 16:
 
* Download the tar-file from [http://www.aps.anl.gov/epics/extensions/medm/index.php EPICS web site].
 
* Download the tar-file from [http://www.aps.anl.gov/epics/extensions/medm/index.php EPICS web site].
 
* Copy it into <i>$EPICS_EXTENSIONS/src/</i> directory ad unzip it there.
 
* Copy it into <i>$EPICS_EXTENSIONS/src/</i> directory ad unzip it there.
* Create a symbolic link <i>medm</a> to the newly created MEDM distribution directory.  
+
* Create a symbolic link <i>medm</i> to the newly created MEDM distribution directory.  
 
* Go into <i>$EPICS_EXTENSIONS/src/medm</i> directory and type <b>make</b>.
 
* Go into <i>$EPICS_EXTENSIONS/src/medm</i> directory and type <b>make</b>.
 
* 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.  
 
* 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 <i>medm</i> executable should be installed in  <i>$EPICS_EXTENSIONS/bin/$EPICS_HOST_ARCH/</i> directory.
 
* The <i>medm</i> executable should be installed in  <i>$EPICS_EXTENSIONS/bin/$EPICS_HOST_ARCH/</i> directory.
  
 
+
== Alarm Handler (ALH) ==  
== Alarm Handler ==  
+
  
 
* Download the tar-file from [http://www.aps.anl.gov/epics/extensions/alh/index.php EPICS web site].
 
* Download the tar-file from [http://www.aps.anl.gov/epics/extensions/alh/index.php EPICS web site].
 
* Copy it into <i>$EPICS_EXTENSIONS/src/</i> directory ad unzip it there.
 
* Copy it into <i>$EPICS_EXTENSIONS/src/</i> directory ad unzip it there.
* Create a symbolic link <i>alh</a> to the newly created ALH distribution directory.  
+
* Create a symbolic link <i>alh</i> to the newly created ALH distribution directory.  
 
* Go into <i>$EPICS_EXTENSIONS/src/alh</i> directory and type <b>make</b>.
 
* Go into <i>$EPICS_EXTENSIONS/src/alh</i> directory and type <b>make</b>.
 
* 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.  
 
* 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 <i>alh</i> executable should be installed in  <i>$EPICS_EXTENSIONS/bin/$EPICS_HOST_ARCH/</i> directory.
 
* The <i>alh</i> executable should be installed in  <i>$EPICS_EXTENSIONS/bin/$EPICS_HOST_ARCH/</i> directory.
 
  
 
== StripTool ==  
 
== StripTool ==  
Line 33: Line 34:
 
* Download the tar-file from [http://www.aps.anl.gov/epics/extensions/StripTool/index.php EPICS web site].
 
* Download the tar-file from [http://www.aps.anl.gov/epics/extensions/StripTool/index.php EPICS web site].
 
* Copy it into <i>$EPICS_EXTENSIONS/src/</i> directory ad unzip it there.
 
* Copy it into <i>$EPICS_EXTENSIONS/src/</i> directory ad unzip it there.
* Create a symbolic link <i>StripTool</a> to the newly created StripTool distribution directory.  
+
* Create a symbolic link <i>StripTool</i> to the newly created StripTool distribution directory.
 +
* You will need to install <i>libxpm4</i> and <i>libxpm-dev</i> Linux packages to build the StripTool.
 
* Go into <i>$EPICS_EXTENSIONS/src/StripTool</i> directory and type <b>make</b>.
 
* Go into <i>$EPICS_EXTENSIONS/src/StripTool</i> directory and type <b>make</b>.
 
* 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.  
 
* 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 <i>StripTool</i> executable should be installed in  <i>$EPICS_EXTENSIONS/bin/$EPICS_HOST_ARCH/</i> directory.
 
* The <i>StripTool</i> executable should be installed in  <i>$EPICS_EXTENSIONS/bin/$EPICS_HOST_ARCH/</i> directory.
 
  
 
== VDCT ==  
 
== VDCT ==  

Latest revision as of 08:34, 9 June 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 to.
  • 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.

Additional Linux packages that may need to be installed

  • openmotif-devel

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 to the newly created MEDM distribution directory.
  • Go into $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 (ALH)

  • Download the tar-file from EPICS web site.
  • Copy it into $EPICS_EXTENSIONS/src/ directory ad unzip it there.
  • Create a symbolic link alh to the newly created ALH distribution directory.
  • Go into $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 to the newly created StripTool distribution directory.
  • You will need to install libxpm4 and libxpm-dev Linux packages to build the StripTool.
  • Go into $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.