home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / World_Of_Computer_Software-02-385-Vol-1of3.iso / m / morpho.zip / morpho / README < prev   
Text File  |  1992-08-20  |  3KB  |  80 lines

  1.  
  2.     Hello!
  3.  
  4.     This directory contains a tar file in which is a toolbox named 
  5.     "morpho", containing routines for greyscale morphology.
  6.     In addition to the tar file containing
  7.     the toolbox is this README.  This README provides instructions for
  8.     setting up and compiling the toolbox.
  9.  
  10.     First, acquire the "morpho.tar.Z" file with "binary" mode set to 
  11.     TRUE on ftp.  ( ftp> bin ). 
  12.  
  13.     Next, create a location for toolboxes if you have not already done
  14.     so.  It doesn't matter where, but don't put it in $KHOROS_HOME/src.  
  15.     You may want to create a $KHOROS_HOME/toolboxes, or some such location.
  16.     Move the tar file to that directory.  
  17.  
  18.     Next, untar the toolbox with the command:
  19.     % zcat morpho.tar.Z | tar -xfoB -
  20.                 -OR-
  21.         % uncompress -c morpho.tar.Z | tar -xfoB -
  22.  
  23.     This will create the "morpho" toolbox for you, with the conversion
  24.     routines in it. I will refer to the path {toolbox location}/morpho
  25.     as the "top dir".
  26.  
  27.     Now, you will need to modify the "Toolboxes" file to get access to
  28.     the new toolbox.  I recommend that you copy the file 
  29.     $KHOROS_HOME/repos/Toolboxes to your own account, and add the following
  30.     line:
  31.  
  32.         MORPHO:/{your home directory}/morpho:morpho Toolbox:A toolbox for 
  33.         morphology:G. W . Donohoe:$MORPHO/.Toolbox_info
  34.  
  35.     Note that this MUST be all one long line (NO carriage returns!), and 
  36.     that you must substitute your "top dir" in the second field, according 
  37.     to where you untarred the toolbox.  DO NOT PUT ANY SPACES IN THE 
  38.     SECOND FIELD, BEFORE OR AFTER THE COLON (:).
  39.  
  40.     Set the KHOROS_TOOLBOX environment variable to this modified 
  41.     toolbox file:  
  42.     % setenv KHOROS_TOOLBOX {modified Toolbox file}
  43.     As this will need to be done every time you log in, you may want to
  44.     put it in your ".cshrc" file.
  45.  
  46.     Next, you will need to compile the routines.  If compiling a single 
  47.     architecture, you must follow the steps below.  If you are compiling
  48.     multiple architectures, please see Chapter 9 of the Khoros Programmer's
  49.     Manual, on "Configuration Management".
  50.  
  51.     1) modify the {top dir}/repos/config/src_conf/morpho file.
  52.        - substitute your user name as the KHOROS_USER on line 32.
  53.        - substitute the absolute location to the LOCAL_SRC_TOP on 
  54.          line 39.  Use "\pwd" in the toolbox/src directory to 
  55.          get the absolute path, and replace /a/rocky/research/data4/morpho/
  56.          with this path.
  57.     2) cd {top dir}/src
  58.     3) make Makefile Makefiles
  59.     4) make depend
  60.     5) make install
  61.  
  62.     Finally, you will need to add {top dir}/bin to your path so that you
  63.     will be able to execute the routines.  You may want to do this in your
  64.     ".cshrc" file, so that you will not have to remember to set the path
  65.     every time you log in.
  66.  
  67.         Good luck!
  68.  
  69.         ~ Greg Donohoe
  70.  
  71.  
  72.  
  73.        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  74.     Greg Donohoe, Assistant Professor
  75.     Electrical and Computer Engineering
  76.     University of New Mexico
  77.     Albuquerque, NM 87131 USA  Tel: 505-277-6724
  78.     donohoe@chama.eece.unm.edu
  79.        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  80.