home *** CD-ROM | disk | FTP | other *** search
/ Photo CD Demo 1 / Demo.bin / gle / gle / install < prev    next >
Text File  |  1992-11-29  |  4KB  |  142 lines

  1. In order to install GLE on a UNIX system ftp the following files:
  2.  
  3. Be sure to use binary transfer for tar_z files.
  4.  
  5.     $ ftp wuarchive.wustl.edu 128.252.135.4
  6.     FTP> user anonymous
  7.     Password: (your Email address)
  8.     FTP> cd /graphics/graphics    (probable directory, check index)
  9.     FTP> ascii
  10.     FTP> get gle33a.txt        (this file)
  11.     FTP> binary
  12.     FTP> get gle33a.tar.Z
  13.     FTP> get gle33a.ps.tar.Z  (Optional PostScript copy of manual)
  14.     FTP> quit
  15.     
  16. .............................................................................
  17. GLE will compile under GCC or XLC (on AIX R6000's) 
  18.  
  19. It is suggested that you build GLE in a temporary directory of it's own
  20. and then use the install.com script to copy the 'required' parts
  21. of gle into the system areas, you can then delete the gle source directory
  22. tree.
  23.  
  24. Then uncompress and un-Tar the installation kit.
  25.     uncompress gle.tar.Z
  26.     tar -xvf gle.tar
  27.     cd gle
  28.  
  29. GLE needs to know where it is being built as it runs itself during
  30. the installation.  Define GLE_TOP:
  31.  
  32.     pwd        (Print working directory)
  33. /home/mydir/gle
  34.  
  35. (sh)    export GLE_TOP="/home/mydir/gle/"    (use your own directory)
  36. (csh)    setenv GLE_TOP "/home/mydir/gle/"  (don't miss off the trailing slash)
  37.  
  38. To test SURFACE you will need to define SURF_TOP too.
  39.  
  40.     export SURF_TOP="/home/mydir/gle/util/surf/"
  41.  
  42. These defines are not needed once gle is installed in the system directories.
  43.  
  44. If you are going to want to test it before copying it to /usr/local/bin
  45. then you might want to add GLE_TOP into your PATH.
  46.  
  47.     export PATH=$PATH:/home/mydir/gle
  48.  
  49. It might be worth touching the files as TAR doesn't always 
  50. get the dates right (which confuses make):
  51.     touch gle/*
  52.     touch gle/*/*
  53.     touch gle/*/*/*
  54. (if you are  building gle in a directory which already had a copy of 
  55. gle then you might have to force make to recompile by deleting the
  56. object files.
  57.     rm *.o
  58. )
  59.  
  60. Pick one of the files {config.*} which most matches
  61. your machine and copy it to {config.i}, you may want 
  62. to edit this file if you have xwindows or need to make 
  63. some other simple change.
  64.  
  65.     ls config.*
  66.     cp config.ultrix config.i
  67.  
  68. Now run make:
  69.     make
  70. Once that has completed type in:
  71.     make doutils
  72.  
  73. To test gle out:
  74.   Create yourself a gle directory to play in:
  75.     mkdir gletest
  76.     cd gletest
  77.     cp ../demo/*  ( or /usr/local/gle/demo/*   to copy the examples)
  78.     
  79.   Then try it out (note: the command is gle, not cgle):
  80.     ../gle test.gle         (For dumb terminals)
  81.     ../gle test.gle -dX    (For xwindows)
  82.     ../gle test.gle -dtek    (Tektronix 4010 terminals)
  83.     ../gle test.gle -dregis     (Regis, vt240, vt340)
  84.     ../gle test.gle -dhpgl      (HP plotters)
  85.     ../gle test.gle -dps    (To produce PostScript output)
  86.  
  87. (NOTE: if you already have gle installed in a system path then
  88. the old version of gle will be picked up rather than the new version
  89.  (even using gle_path).  To avoid this problem you should temporarily 
  90. remove gle from your path variable, you can also run specific
  91. gle drivers using:
  92.     ../gle_ps  (PostScript)
  93.     ../gle_vt  (terminal)
  94.  
  95.  
  96.     (You must replace ../ with the path to where the gle executables
  97.     were created)
  98.  
  99.     (To load a different example press ^F 3, then ^F 0 to draw it)
  100.  
  101. To install gle executables in /usr/bin and the gle help,font and example
  102. files into /usr/local/gle enter the command:
  103.     install.com
  104.  
  105. If you wish to install gle in a different directory permenently 
  106. then you can modify the file {glepath.h} and then recompile or 
  107. you can use the environment variable GLE_TOP
  108.  
  109. After checking that gle is working correctly you can delete
  110. the source files to save a lot of space:
  111.     cd ..
  112.     rm gle -r        
  113.  
  114. Once gle has been installed the commands that are added are:
  115.  
  116.     gle        Graphics Language Editor, graphs and slides.
  117.     surface        Plots hidden line wire mesh 3d plots
  118.     fitls        Fit's best fit least squares line to any equation
  119.     fitz        Creating even grid data from random xyz data
  120.     letz        Creating grid of values from expression
  121.     manip        Data manipulation
  122.  
  123. There is a postscript and text only copy of the manual in the directory
  124.     gle/manual/
  125.         gle.ps
  126.         gle.txt
  127.         util.ps
  128.  
  129.  
  130. If you have to make changes to install GLE on your machine please
  131. send them to me.
  132.  
  133.                 Thanks,  Chris.  (srghcxp@grv.dsir.govt.nz)
  134.  
  135.  
  136.  
  137.  
  138.  
  139.  
  140.  
  141.  
  142.