Next: , Previous: Distributions, Up: Installing SCM


2.2 GNU configure and make

scm/configure and slib/configure are Shell scripts which create the files scm/config.status and slib/config.status on Unix and MinGW systems.

The config.status files are used (included) by the Makefile to control where the packages will be installed by make install. With GNU shell (bash) and utilities, the following commands should build and install SCM and SLIB:

     bash$ (cd slib; ./configure --prefix=/usr/local/)
     bash$ (cd scm
     > ./configure --prefix=/usr/local/
     > make scmlit
     > sudo make all
     > sudo make install)
     bash$ (cd slib; sudo make install)

If the install commands worked, skip to Testing.

If configure doesn't work on your system, make scm/config.status and slib/config.status be empty files.

For additional help on using the configure script, run ‘./configure --help.

make all’ will attempt to create a dumped executable (see Saving Executable Images), which has very small startup latency. If that fails, it will try to compile an ordinary ‘scm’ executable.

Note that the compilation output may contain error messages; be concerned only if the ‘make install’ transcripts contain errors.

sudo’ runs the command after it as user root. On recent GNU/Linux systems, dumping requires that ‘make all’ be run as user root; hence the use of ‘sudo’.

make install’ requires root privileges if you are installing to standard Unix locations as specified to (or defaulted by) ‘./configure’. Note that this is independent of whether you did ‘sudo make all or ‘make all.