INSTALL 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185
  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.9T.tgz | tar xf -
  9. cd scheme48-1.9T
  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. Attached to this file is generic information about the 'configure'
  23. script. The 'configure' script that ships with Scheme 48 has some
  24. specific options, however:
  25. --enable-gc=<gc>
  26. configures Scheme 48 with a specific garbage collector (GC). Two GCs
  27. ship with the system "twospace" and "bibop"---the default is "bibop":
  28. The twospace GC is simple, but has inferior performance and requires a
  29. fixed limit on the heap size. The bibop GC is much more sophisticated
  30. and faster, and it allows specifying "-h 0" on the command line,
  31. meaning that the heap will expand as necessary to accomodate the
  32. program. Note that this means that a program with, say, infinite
  33. non-tail recursion will grow the heap indefinitely.
  34. --enable-universal-binary
  35. works only on Apple Macs and means that Scheme 48 will be built as a
  36. Universal Binary that can run on both PowerPC and Intel Macs.
  37. --enable-force-32bit
  38. forces configuration for a 32-bit executable on a 64-bit system.
  39. --enable-glib
  40. configures Scheme 48 to use the glib event loop.
  41. For more information on how to customize an installation of Scheme 48,
  42. see doc/install.txt.
  43. ----------------
  44. This is a generic INSTALL file for utilities distributions.
  45. If this package does not come with, e.g., installable documentation or
  46. data files, please ignore the references to them below.
  47. The `configure' shell script attempts to guess correct values for
  48. various system-dependent variables used during compilation, and
  49. creates the Makefile(s) (one in each subdirectory of the source
  50. directory). In some packages it creates a C header file containing
  51. system-dependent definitions. It also creates a file `config.status'
  52. that you can run in the future to recreate the current configuration.
  53. To compile this package:
  54. 1. Configure the package for your system.
  55. Normally, you just `cd' to the directory containing the package's
  56. source code and type `./configure'. If you're using `csh' on an old
  57. version of System V, you might need to type `sh configure' instead to
  58. prevent `csh' from trying to execute `configure' itself.
  59. Running `configure' takes a minute or two. While it is running, it
  60. prints some messages that tell what it is doing. If you don't want to
  61. see the messages, run `configure' with its standard output redirected
  62. to `/dev/null'; for example, `./configure >/dev/null'.
  63. To compile the package in a different directory from the one
  64. containing the source code, you must use a version of `make' that
  65. supports the `VPATH' variable, such as GNU `make'. `cd' to the
  66. directory where you want the object files and executables to go and run
  67. the `configure' script. `configure' automatically checks for the
  68. source code in the directory that `configure' is in and in `..'. If
  69. for some reason `configure' is not in the source code directory that
  70. you are configuring, then it will report that it can't find the source
  71. code. In that case, run `configure' with the option `--srcdir=DIR',
  72. where DIR is the directory that contains the source code.
  73. By default, `make install' will install the package's files in
  74. `/usr/local/bin', `/usr/local/man', etc. You can specify an
  75. installation prefix other than `/usr/local' by giving `configure' the
  76. option `--prefix=PATH'. Alternately, you can do so by consistently
  77. giving a value for the `prefix' variable when you run `make', e.g.,
  78. make prefix=/usr/gnu
  79. make prefix=/usr/gnu install
  80. You can specify separate installation prefixes for
  81. architecture-specific files and architecture-independent files. If you
  82. give `configure' the option `--exec-prefix=PATH' or set the `make'
  83. variable `exec_prefix' to PATH, the package will use PATH as the prefix
  84. for installing programs and libraries. Data files and documentation
  85. will still use the regular prefix. Normally, all files are installed
  86. using the same prefix.
  87. Some packages pay attention to `--with-PACKAGE' options to
  88. `configure', where PACKAGE is something like `gnu-as' or `x' (for the X
  89. Window System). The README should mention any `--with-' options that
  90. the package recognizes.
  91. `configure' ignores any other arguments that you give it.
  92. On systems that require unusual options for compilation or linking
  93. that the package's `configure' script does not know about, you can give
  94. `configure' initial values for variables by setting them in the
  95. environment. In Bourne-compatible shells, you can do that on the
  96. command line like this:
  97. CC='gcc -traditional' LIBS=-lposix ./configure
  98. Here are the `make' variables that you might want to override with
  99. environment variables when running `configure'.
  100. For these variables, any value given in the environment overrides the
  101. value that `configure' would choose:
  102. - Variable: CC
  103. C compiler program. The default is `cc'.
  104. - Variable: INSTALL
  105. Program to use to install files. The default is `install' if you
  106. have it, `cp' otherwise.
  107. For these variables, any value given in the environment is added to
  108. the value that `configure' chooses:
  109. - Variable: DEFS
  110. Configuration options, in the form `-Dfoo -Dbar...'. Do not use
  111. this variable in packages that create a configuration header file.
  112. - Variable: LIBS
  113. Libraries to link with, in the form `-lfoo -lbar...'.
  114. If you need to do unusual things to compile the package, we encourage
  115. you to figure out how `configure' could check whether to do them, and
  116. mail diffs or instructions to the address given in the README so we
  117. can include them in the next release.
  118. 2. Type `make' to compile the package. If you want, you can override
  119. the `make' variables CFLAGS and LDFLAGS like this:
  120. make CFLAGS=-O2 LDFLAGS=-s
  121. 3. If the package comes with self-tests and you want to run them,
  122. type `make check'. If you're not sure whether there are any, try it;
  123. if `make' responds with something like
  124. make: *** No way to make target `check'. Stop.
  125. then the package does not come with self-tests.
  126. 4. Type `make install' to install programs, data files, and
  127. documentation.
  128. 5. You can remove the program binaries and object files from the
  129. source directory by typing `make clean'. To also remove the
  130. Makefile(s), the header file containing system-dependent definitions
  131. (if the package uses one), and `config.status' (all the files that
  132. `configure' created), type `make distclean'.
  133. The file `configure.in' is used to create `configure' by a program
  134. called `autoconf'. You only need it if you want to regenerate
  135. `configure' using a newer version of `autoconf'. To do this, run:
  136. env ACLOCAL="aclocal -I m4" autoreconf -v -i