Evergreen has a number of prerequisite packages that must be installed
before you can successfully configure, compile, and install Evergreen.
-1. Begin by installing the most recent version of OpenSRF (2.0 or later).
+1. Make sure you have the basic build prerequisites installed for your specific
+ operating system. Later in the process,
+ <<configure,+./configure+>> will fail if you haven't install these packages.
++
+ * On Debian Squeeze, you'll need to run something like the following
+ command to install some build prerequisites.
++
+[source, bash]
+------------------------------------------------------------------------------
+aptitude install gcc memecached aspell make perl libyaz-dev
+------------------------------------------------------------------------------
++
+
+A similar command with a similar list of packages will probably work fine
+on most Ubuntu versions as well. There might be minor changes to package
+names on Ubuntu.
+
+2. Begin by installing the most recent version of OpenSRF (2.0 or later).
You can download OpenSRF releases from http://evergreen-ils.org/opensrf.php
-2. On many distributions, it is necessary to install PostgreSQL 9 from external
+3. On many distributions, it is necessary to install PostgreSQL 9 from external
repositories.
+
* On Debian Squeeze, open `/etc/apt/sources.list` in a text editor as the
+
* Fedora 16 comes with PostgreSQL 9, so no additional steps are required.
+
-3. On Debian and Ubuntu, run `aptitude update` as the *root* Linux account to
+4. On Debian and Ubuntu, run `aptitude update` as the *root* Linux account to
retrieve the new packages from the backports repository.
-4. Issue the following commands as the *root* Linux account to install
+5. Issue the following commands as the *root* Linux account to install
prerequisites using the `Makefile.install` prerequisite installer,
substituting `debian-squeeze`, `fedora16`, `ubuntu-lucid`, or
`ubuntu-precise` for <osname> below:
make -f Open-ILS/src/extras/Makefile.install <osname>
------------------------------------------------------------------------------
+
-5. Add the libdbi-libdbd libraries to the system dynamic library path by
+6. Add the libdbi-libdbd libraries to the system dynamic library path by
issuing the following commands as the *root* Linux account:
+
[NOTE]
For the time being, we are still installing everything in the `/openils/`
directory. From the Evergreen source directory, issue the following commands as
the *user* Linux account to configure and build Evergreen:
+[[configure]]
[source, bash]
------------------------------------------------------------------------------