#
# Makefile to install prerequisites for OpenSRF and Evergreen
#
-# Currently supports Debian (squeeze), Ubuntu (lucid), and Fedora (15).
+# Currently supports Debian (squeeze), Ubuntu (lucid), and Fedora (16).
# Working towards support of CentOS 5 / RHEL 5.
# Installs Perl prereqs, libjs with Perl wrapper, libdbi, libdbi-drivers, and libyaz
#
# - or -
# make -f Makefile.install ubuntu-lucid
# - or -
-# make -f Makefile.install fedora15
+# make -f Makefile.install fedora16
# - or -
# make -f Makefile.install centos
# - or -
perl-Email-Send \
perl-Email-Simple \
perl-GDGraph3d \
+ perl-JSON-XS \
perl-Net-IP \
perl-Net-SSH2 \
perl-OLE-Storage_Lite \
postgresql90-plperl \
postgresql90-server
+PGSQL_FEDORA_RPMS = \
+ postgresql \
+ postgresql-contrib \
+ postgresql-libs \
+ postgresql-plperl \
+ postgresql-server
+
PGSQL_CLIENT_DEBS_90 = \
libpq5 \
libpq-dev \
rhel: install_redhat_pgsql centos_like
centos_like: install_centos_rpms install_yaz install_cpan_marc install install_centos_perl create_ld_local install_cpan_safe install_cpan_force
-fedora15: install_fedora_rpms install_cpan install_cpan_fedora install_cpan_marc install_js_sm install_cpan_force
+fedora16: install_fedora_rpms install_cpan install_cpan_fedora install_cpan_marc install_js_sm install_cpan_force
debian-squeeze: squeeze generic_debian
squeeze: install_pgsql_client_debs_90 install_extra_debs_squeeze
yum -y install $(FEDORA_RPMS)
install_fedora_pgsql_server:
- yum -y install $(PGSQL_90_RPMS)
+ yum -y install $(PGSQL_FEDORA_RPMS)
# CENTOS
install_centos_rpms:
add-apt-repository ppa:pitti/postgresql
------------------------------------------------------------------------------
+
- * Fedora 15 comes with PostgreSQL 9, so no additional steps are required.
+ * 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
retrieve the new packages from the backports repository.
4. Issue the following commands as the *root* Linux account to install
prerequisites using the `Makefile.install` prerequisite installer,
- substituting `debian-squeeze`, `fedora15`, `ubuntu-lucid`, `centos`, or
+ substituting `debian-squeeze`, `fedora16`, `ubuntu-lucid`, `centos`, or
`rhel` for <osname> below:
+
[source, bash]
You can install the packages required by Fedora on the machine of your choice
using the following commands as the *root* Linux account:
-.(Fedora 15) Installing PostgreSQL 9.0 server packages
+.(Fedora 16) Installing PostgreSQL server packages
[source, bash]
------------------------------------------------------------------------------
make -f Open-ILS/src/extras/Makefile.install install_fedora_pgsql_server
cpan UUID::Tiny
------------------------------------------------------------------------------
-.(Fedora 15) Installing additional Perl modules on a standalone PostgreSQL 9 server
+.(Fedora 16) Installing additional Perl modules on a standalone PostgreSQL 9 server
[source, bash]
------------------------------------------------------------------------------
yum install gcc perl-XML-LibXML perl-XML-LibXSLT perl-Business-ISBN
-cpan JSON::XS
cpan Library::CallNumber::LC
cpan MARC::Record
cpan MARC::File::XML