| 1 |
Installation |
| 2 |
============ |
| 3 |
|
| 4 |
This file contains complete installation instructions including many |
| 5 |
options that are not often used. See the README file for quick build and |
| 6 |
installation instructions. |
| 7 |
|
| 8 |
1. If you are building from a source distribution you can skip this step. |
| 9 |
If you are building direct from version control first run the following |
| 10 |
commands to generate the configure script and makefiles. |
| 11 |
|
| 12 |
aclocal |
| 13 |
automake -a |
| 14 |
autoconf |
| 15 |
|
| 16 |
I believe that these days you can just run: |
| 17 |
|
| 18 |
autoreconf -i |
| 19 |
|
| 20 |
instead of the previous three commands |
| 21 |
|
| 22 |
2. Run the configure command. |
| 23 |
|
| 24 |
./configure |
| 25 |
|
| 26 |
There are several options that can be given to configure |
| 27 |
|
| 28 |
--prefix=directory |
| 29 |
The program is installed in /usr/local/bin, if you want to, for |
| 30 |
example install in /usr/bin use the following argument to configure |
| 31 |
|
| 32 |
./configure --prefix=/usr |
| 33 |
|
| 34 |
--with-included-glib={auto|yes|no} |
| 35 |
Specifies whether to use the included glib routines, or the |
| 36 |
standard glib. Setting to auto (the default) will try to |
| 37 |
detect if you have glib installed. It is always safe |
| 38 |
to set this to yes. |
| 39 |
|
| 40 |
--with-alsa-support={auto|yes|no} |
| 41 |
ALSA support is required. Should be auto detected by default, but |
| 42 |
you may have to set this explicitly to yes if auto detection fails. |
| 43 |
|
| 44 |
--with-snd-sequencer={auto|drain|flush} |
| 45 |
This is for previous versions of ALSA that had different routine |
| 46 |
names. Unfortunately the changes are such that it can compile fine |
| 47 |
but not work correctly. Should be autodetected, but you can try |
| 48 |
setting to drain or flush explicitly; on the whole though previous |
| 49 |
versions of ALSA are not supported, you can always grab an earlier |
| 50 |
version of pmidi instead. |
| 51 |
|
| 52 |
There are numerous other configure options, use --help to display them. |
| 53 |
|
| 54 |
3. Run make. |
| 55 |
|
| 56 |
make |
| 57 |
|
| 58 |
4. If all is well the program and help files can be installed with: |
| 59 |
|
| 60 |
make install |
| 61 |
|
| 62 |
|
| 63 |
Other configure information |
| 64 |
--------------------------- |
| 65 |
|
| 66 |
- Configure creates a shell script `config.status' that |
| 67 |
you can run in the future to recreate the current configuration. |
| 68 |
|
| 69 |
- Configure also creates a file called `config.cache' that saves the |
| 70 |
results of its tests to speed up reconfiguring it is safe to remove this |
| 71 |
file. |
| 72 |
|
| 73 |
- It creates a file called `config.log' that contains a record of every |
| 74 |
thing that configure did and the results. If configure fails, you |
| 75 |
should look here to see why. |
| 76 |
|
| 77 |
|
| 78 |
Compilers and Options |
| 79 |
--------------------- |
| 80 |
|
| 81 |
Some systems require unusual options for compilation or linking that |
| 82 |
the `configure' script does not know about. You can give `configure' |
| 83 |
initial values for variables by setting them in the environment. Using |
| 84 |
a Bourne-compatible shell, you can do that on the command line like |
| 85 |
this: |
| 86 |
CC=c89 CFLAGS=-O2 LIBS=-lposix ./configure |
| 87 |
|
| 88 |
|
| 89 |
Installation Names |
| 90 |
------------------ |
| 91 |
|
| 92 |
By default, `make install' will install the package's files in |
| 93 |
`/usr/local/bin', `/usr/local/man', etc. You can specify an |
| 94 |
installation prefix other than `/usr/local' by giving `configure' the |
| 95 |
option `--prefix=PATH'. |
| 96 |
|
| 97 |
You can specify separate installation prefixes for |
| 98 |
architecture-specific files and architecture-independent files. If you |
| 99 |
give `configure' the option `--exec-prefix=PATH', the package will use |
| 100 |
PATH as the prefix for installing programs and libraries. |
| 101 |
Documentation and other data files will still use the regular prefix. |
| 102 |
|
| 103 |
In addition, if you use an unusual directory layout you can give |
| 104 |
options like `--bindir=PATH' to specify different values for particular |
| 105 |
kinds of files. Run `configure --help' for a list of the directories |
| 106 |
you can set and what kinds of files go in them. |
| 107 |
|
| 108 |
If the package supports it, you can cause programs to be installed |
| 109 |
with an extra prefix or suffix on their names by giving `configure' the |
| 110 |
option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'. |
| 111 |
|
| 112 |
Operation Controls |
| 113 |
------------------ |
| 114 |
|
| 115 |
`configure' recognises the following options to control how it |
| 116 |
operates. |
| 117 |
|
| 118 |
`--cache-file=FILE' |
| 119 |
Use and save the results of the tests in FILE instead of |
| 120 |
`./config.cache'. Set FILE to `/dev/null' to disable caching, for |
| 121 |
debugging `configure'. |
| 122 |
|
| 123 |
`--help' |
| 124 |
Print a summary of the options to `configure', and exit. |
| 125 |
|
| 126 |
`--quiet' |
| 127 |
`--silent' |
| 128 |
`-q' |
| 129 |
Do not print messages saying which checks are being made. To |
| 130 |
suppress all normal output, redirect it to `/dev/null' (any error |
| 131 |
messages will still be shown). |
| 132 |
|
| 133 |
`--srcdir=DIR' |
| 134 |
Look for the package's source code in directory DIR. Usually |
| 135 |
`configure' can determine that directory automatically. |
| 136 |
|
| 137 |
`--version' |
| 138 |
Print the version of Autoconf used to generate the `configure' |
| 139 |
script, and exit. |