INSTALL 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155
  1. Scheme 48 installation instructions for Unix
  2. --------------------------------------------
  3. (for notes on Windows installation, check WINDOWS.txt)
  4. A typical installation would proceed as follows: download the .tgz
  5. file to your /tmp directory, and then issue the following shell
  6. commands:
  7. cd /usr/local/src
  8. gunzip </tmp/scheme48-1.1.tgz | tar xf -
  9. cd scheme48-1.1
  10. ./configure
  11. make install
  12. Then simply do
  13. scheme48
  14. to run it.
  15. This assumes that the logged-in user has write access to the
  16. /usr/local directory tree, and that /usr/local/bin is in the Scheme 48
  17. user's PATH. If not, replace "cd /usr/local/src" with "cd DIR" where
  18. DIR is the directory into which to extract the scheme48 source tree,
  19. issue the command "make" instead of "make install" to build it, and
  20. ./go
  21. to run it.
  22. What follows is generic information about the 'configure' script.
  23. For installation information specific to Scheme 48, see doc/install.txt.
  24. ----------------
  25. This is a generic INSTALL file for utilities distributions.
  26. If this package does not come with, e.g., installable documentation or
  27. data files, please ignore the references to them below.
  28. The `configure' shell script attempts to guess correct values for
  29. various system-dependent variables used during compilation, and
  30. creates the Makefile(s) (one in each subdirectory of the source
  31. directory). In some packages it creates a C header file containing
  32. system-dependent definitions. It also creates a file `config.status'
  33. that you can run in the future to recreate the current configuration.
  34. To compile this package:
  35. 1. Configure the package for your system.
  36. Normally, you just `cd' to the directory containing the package's
  37. source code and type `./configure'. If you're using `csh' on an old
  38. version of System V, you might need to type `sh configure' instead to
  39. prevent `csh' from trying to execute `configure' itself.
  40. Running `configure' takes a minute or two. While it is running, it
  41. prints some messages that tell what it is doing. If you don't want to
  42. see the messages, run `configure' with its standard output redirected
  43. to `/dev/null'; for example, `./configure >/dev/null'.
  44. To compile the package in a different directory from the one
  45. containing the source code, you must use a version of `make' that
  46. supports the `VPATH' variable, such as GNU `make'. `cd' to the
  47. directory where you want the object files and executables to go and run
  48. the `configure' script. `configure' automatically checks for the
  49. source code in the directory that `configure' is in and in `..'. If
  50. for some reason `configure' is not in the source code directory that
  51. you are configuring, then it will report that it can't find the source
  52. code. In that case, run `configure' with the option `--srcdir=DIR',
  53. where DIR is the directory that contains the source code.
  54. By default, `make install' will install the package's files in
  55. `/usr/local/bin', `/usr/local/man', etc. You can specify an
  56. installation prefix other than `/usr/local' by giving `configure' the
  57. option `--prefix=PATH'. Alternately, you can do so by consistently
  58. giving a value for the `prefix' variable when you run `make', e.g.,
  59. make prefix=/usr/gnu
  60. make prefix=/usr/gnu install
  61. You can specify separate installation prefixes for
  62. architecture-specific files and architecture-independent files. If you
  63. give `configure' the option `--exec-prefix=PATH' or set the `make'
  64. variable `exec_prefix' to PATH, the package will use PATH as the prefix
  65. for installing programs and libraries. Data files and documentation
  66. will still use the regular prefix. Normally, all files are installed
  67. using the same prefix.
  68. Some packages pay attention to `--with-PACKAGE' options to
  69. `configure', where PACKAGE is something like `gnu-as' or `x' (for the X
  70. Window System). The README should mention any `--with-' options that
  71. the package recognizes.
  72. `configure' ignores any other arguments that you give it.
  73. On systems that require unusual options for compilation or linking
  74. that the package's `configure' script does not know about, you can give
  75. `configure' initial values for variables by setting them in the
  76. environment. In Bourne-compatible shells, you can do that on the
  77. command line like this:
  78. CC='gcc -traditional' LIBS=-lposix ./configure
  79. Here are the `make' variables that you might want to override with
  80. environment variables when running `configure'.
  81. For these variables, any value given in the environment overrides the
  82. value that `configure' would choose:
  83. - Variable: CC
  84. C compiler program. The default is `cc'.
  85. - Variable: INSTALL
  86. Program to use to install files. The default is `install' if you
  87. have it, `cp' otherwise.
  88. For these variables, any value given in the environment is added to
  89. the value that `configure' chooses:
  90. - Variable: DEFS
  91. Configuration options, in the form `-Dfoo -Dbar...'. Do not use
  92. this variable in packages that create a configuration header file.
  93. - Variable: LIBS
  94. Libraries to link with, in the form `-lfoo -lbar...'.
  95. If you need to do unusual things to compile the package, we encourage
  96. you to figure out how `configure' could check whether to do them, and
  97. mail diffs or instructions to the address given in the README so we
  98. can include them in the next release.
  99. 2. Type `make' to compile the package. If you want, you can override
  100. the `make' variables CFLAGS and LDFLAGS like this:
  101. make CFLAGS=-O2 LDFLAGS=-s
  102. 3. If the package comes with self-tests and you want to run them,
  103. type `make check'. If you're not sure whether there are any, try it;
  104. if `make' responds with something like
  105. make: *** No way to make target `check'. Stop.
  106. then the package does not come with self-tests.
  107. 4. Type `make install' to install programs, data files, and
  108. documentation.
  109. 5. You can remove the program binaries and object files from the
  110. source directory by typing `make clean'. To also remove the
  111. Makefile(s), the header file containing system-dependent definitions
  112. (if the package uses one), and `config.status' (all the files that
  113. `configure' created), type `make distclean'.
  114. The file `configure.in' is used to create `configure' by a program
  115. called `autoconf'. You only need it if you want to regenerate
  116. `configure' using a newer version of `autoconf'.