Basic package prerequisites in README for Debian-based systems weren't listed.
authorBradley M. Kuhn <bkuhn@ebb.org>
Sat, 28 Apr 2012 20:48:36 +0000 (16:48 -0400)
committerBradley M. Kuhn <bkuhn@ebb.org>
Sat, 28 Apr 2012 20:48:36 +0000 (16:48 -0400)
Renumbering of "Installing prerequisites" section was necessary once they were added.
Forward link to the ./configure command added.

Signed-off-by: Bradley M. Kuhn <bkuhn@ebb.org>
README

diff --git a/README b/README
index 5888c1c..905663c 100644 (file)
--- 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,
+   <<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
@@ -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 <osname> below:
@@ -117,7 +134,7 @@ add-apt-repository ppa:pitti/postgresql
 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]
@@ -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]
 ------------------------------------------------------------------------------