INSTALL 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147
  1. Graphlet Installation Instructions
  2. ==================================
  3. The following document describes how to install the binary
  4. distribution and the source code distribution of Graphlet.
  5. Binary Distribution
  6. -------------------
  7. The binary distribution of Graphlet comes in a file named
  8. graphlet-version-state-compiler-os-release.tar.gz
  9. This file is packed with the UNIX utilities tar and gzip. To
  10. unpack Graphlet, proceed as follows:
  11. (1) Decompres: Type
  12. gunzip graphlet-version-state-compiler-os-release.tar.gz
  13. This will create a file named
  14. graphlet-version-state-compiler-os-release.tar
  15. (2) Unpack: type
  16. tar xf graphlet-version-state-compiler-os-release.tar
  17. This will create a directory named
  18. graphlet-version-state-compiler-os-release
  19. You may rename this directory.
  20. (3) Include the directory graphlet-version-state-compiler-os-release/bin
  21. in your path. To do this, execute
  22. PATH=path-to-graphlet/bin:$PATH
  23. export PATH
  24. to your shell profile if you are using sh, ksh or bash, and
  25. set path=(path-to-graphlet/bin $path)
  26. if you are using csh. You should add these lines to your
  27. startup file (e.g. ~/.profile, ~/.bashprofile, ~/.cshrc).
  28. (5) Optional: To use the graphscript shell in the binary
  29. distribution, you may need to set the environment variable
  30. GRAPHLE_DIR. To do this, execute
  31. GRAPHLET_DIR=path-to-graphlet
  32. export PATH
  33. to your shell profile if you are using sh, ksh or bash, and
  34. setenv GRAPHLET_DIR path-to-graphlet
  35. if you are using csh. You should add these lines to your
  36. startup file (e.g. ~/.profile, ~/.bashprofile, ~/.cshrc.
  37. Note: the path entered in step (4) is exactly $(GRAPHLET_DIR)/bin.
  38. You can now start graphlet by typing
  39. graphlet
  40. Have fun !
  41. Source Code Distribution
  42. ------------------------
  43. The source code distribution of Graphlet comes in a file named
  44. graphlet-version-state.tar.gz
  45. This file is packed with the UNIX utilities tar and gzip. To
  46. unpack Graphlet, proceed as follows:
  47. (1) Decompress: Type
  48. gunzip graphlet-version-state.tar.gz
  49. This creates a directory named "graphlet-version-state.tar".
  50. (2) Unpack: Type
  51. tar xf graphlet-version-state.tar
  52. This creates a directory named "graphlet-version-state".
  53. (3) Go to the top level directory: Type
  54. cd graphlet-version-state
  55. (4) Site specific configuration: Edit the file
  56. lib/graphlet/config/config
  57. and follow the instructions.
  58. NOTE: Never set the variable INSTALL_DIR to the
  59. directory where the source code resides. Otherwise, the
  60. installation will not run correctly.
  61. (5) Configure, generate dependencies and compile: Type
  62. make allnew
  63. in the toplevel directory.
  64. NOTE: The make command must be GNU make. This might be called
  65. differently if your system is not UNIX based. Common names are
  66. gnumake and gmake. If in doubt, contact your local guru. The
  67. error message
  68. make: Fatal error: No arguments to build
  69. indicates that you are not using GNU make.
  70. (6) Install: Type
  71. make install
  72. in the toplevel directory to install Graphlet into the directory
  73. specified as INSTALL_DIR in the GNUmakefile.
  74. (7) OPTIONAL: Include Graphlet in your shell's PATH variable.
  75. Depending on your installation, you may need to include the directory
  76. $INSTALL_DIR/bin
  77. in your $PATH variable, where INSTALL_DIR is the installation
  78. directory given in step (7).
  79. Installation is finished now. You start the graphlet graph editor
  80. by typing
  81. graphlet
  82. To start a graphscript shell, type
  83. graphscript