From a051df402209cff0e44f28c52f2b20f07c7216ae Mon Sep 17 00:00:00 2001 From: "Bradley M. Kuhn" Date: Sat, 28 Apr 2012 16:48:36 -0400 Subject: [PATCH] Basic package prerequisites in README for Debian-based systems weren't listed. Renumbering of "Installing prerequisites" section was necessary once they were added. Forward link to the ./configure command added. Signed-off-by: Bradley M. Kuhn --- README | 28 +++++++++++++++++++++++----- 1 file changed, 23 insertions(+), 5 deletions(-) diff --git a/README b/README index 5888c1cb5e..905663c570 100644 --- a/README +++ b/README @@ -76,9 +76,26 @@ Installing prerequisites 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, + <> 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 @@ -105,9 +122,9 @@ add-apt-repository ppa:pitti/postgresql + * 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 below: @@ -117,7 +134,7 @@ add-apt-repository ppa:pitti/postgresql make -f Open-ILS/src/extras/Makefile.install ------------------------------------------------------------------------------ + -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] @@ -144,6 +161,7 @@ Configuration and compilation instructions 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] ------------------------------------------------------------------------------ -- 2.11.0