Next: Building with cmake, Previous: Configuring and compiling avldb, Up: Configuring and compiling avldb
$ cd /usr/src/avldb-build $ autoreconf ../avldb
$ ../avldb/configure ARGS...
If you want to install avldb library to /usr/lib and includes to /usr/include specify installation prefix with :
$ ../avldb/configure --prefix=/usr
Please note that even though you're building in a separate build directory, the compilation may need to create or modify files and directories in the source directory.
It may also be useful to set the CC and CFLAGS variables in the environment when running `configure'. CC selects the C compiler that will be used, and CFLAGS sets optimization options for the compiler.
The following list describes all of the available options for `configure':
`–prefix=DIRECTORY' Install machine-independent data files in sub-directories of `DIRECTORY'. The default is to install in `/usr/local'.
`–exec-prefix=DIRECTORY' Install the library and other machine-dependent files in sub-directories of `DIRECTORY'. The default is to the `–prefix' directory if that option is specified, or `/usr/local' otherwise.
`–disable-shared' Don't build shared libraries even if it is possible. Not all systems support shared libraries; you need ELF support and (currently) the GNU linker.
If you want to run a parallel make, simply pass the `-j' option with an appropriate numeric parameter to `make'. You need a recent GNU `make' version, though.
Basic test programs (located in tests sub-directory) are build as default. See chapter `Running tests' for more informations.