DIR = $(dir $(lastword $(MAKEFILE_LIST)))
+export DEB_PGSQL_COMMON_MODS = \
+ gcc \
+ libbusiness-isbn-perl \
+ libjson-xs-perl \
+ liblibrary-callnumber-lc-perl \
+ libmarc-record-perl \
+ libmarc-xml-perl \
+ librose-uri-perl \
+ libuuid-tiny-perl \
+ libxml-libxml-perl \
+ libxml-libxslt-perl
+
export DEBS = \
+ $(DEB_PGSQL_COMMON_MODS) \
apache2-prefork-dev\
aspell\
aspell-en\
libbusiness-creditcard-perl\
libbusiness-isbn-data-perl\
- libbusiness-isbn-perl\
libbusiness-issn-perl\
libbusiness-onlinepayment-authorizenet-perl\
libbusiness-onlinepayment-perl\
libemail-send-perl\
libemail-simple-perl\
libgd-graph3d-perl\
- liblibrary-callnumber-lc-perl \
liblocale-maketext-lexicon-perl\
liblog-log4perl-perl\
libmarc-charset-perl \
- libmarc-record-perl\
- libmarc-xml-perl \
libncurses5-dev\
libnet-ip-perl\
libnet-ldap-perl \
libparent-perl\
libpq5\
libpq-dev\
- librose-uri-perl\
librpc-xml-perl\
libspreadsheet-writeexcel-perl\
libsru-perl\
libtext-csv-perl\
libuniversal-require-perl\
libunix-syslog-perl\
- libuuid-tiny-perl\
libyaz-dev\
postgresql-client-9.3\
libsoap-lite-perl\
Class::DBI::Frozen::301
PGSQL_SERVER_DEBS_93 = \
+ $(DEB_PGSQL_COMMON_MODS) \
postgresql-9.3 \
postgresql-contrib-9.3 \
postgresql-plperl-9.3 \
DIR = $(dir $(lastword $(MAKEFILE_LIST)))
+export DEB_PGSQL_COMMON_MODS = \
+ gcc \
+ libbusiness-isbn-perl
+ libjson-xs-perl \
+ liblibrary-callnumber-lc-perl \
+ libmarc-record-perl \
+ libmarc-xml-perl \
+ librose-uri-perl \
+ libuuid-tiny-perl
+ libxml-libxml-perl \
+ libxml-libxslt-perl
+
export DEBS = \
+ $(DEB_PGSQL_COMMON_MODS) \
apache2-prefork-dev\
aspell\
aspell-en\
libbusiness-creditcard-perl\
libbusiness-isbn-data-perl\
- libbusiness-isbn-perl\
libbusiness-issn-perl\
libbusiness-onlinepayment-authorizenet-perl\
libbusiness-onlinepayment-perl\
libemail-send-perl\
libemail-simple-perl\
libgd-graph3d-perl\
- liblibrary-callnumber-lc-perl \
liblocale-maketext-lexicon-perl\
liblog-log4perl-perl\
libmarc-charset-perl \
- libmarc-record-perl\
- libmarc-xml-perl \
libncurses5-dev\
libnet-ip-perl\
libnet-ldap-perl \
libparent-perl\
libpq5\
libpq-dev\
- librose-uri-perl\
librpc-xml-perl\
libsru-perl\
libssh2-1-dev\
libtext-csv-perl\
libuniversal-require-perl\
libunix-syslog-perl\
- libuuid-tiny-perl\
libyaz-dev\
postgresql-client-9.1\
libsoap-lite-perl\
Class::DBI::Frozen::301
PGSQL_SERVER_DEBS_91 = \
+ $(DEB_PGSQL_COMMON_MODS) \
postgresql-9.1 \
postgresql-contrib-9.1 \
postgresql-plperl-9.1 \
# Fedora 64-bit?
FEDORA_64=$(shell uname -r | grep "\.fc[0-9][0-9]\.x86_64")
+PGSQL_COMMON_RPMS = \
+ gcc \
+ perl-Business-ISBN \
+ perl-Library-CallNumber-LC \
+ perl-MARC-Record \
+ perl-MARC-XML \
+ perl-UUID-Tiny \
+ perl-XML-LibXML \
+ perl-XML-LibXSLT
+
FEDORA_RPMS = \
+ $(PGSQL_COMMON_RPMS) \
aspell \
aspell-en \
bzip2-devel \
ncurses-libs \
perl-parent \
perl-Business-CreditCard \
- perl-Business-ISBN \
perl-Business-ISBN-Data \
perl-CPAN \
perl-Crypt-SSLeay \
perl-GDGraph3d \
perl-JSON-XS \
perl-LDAP \
- perl-Library-CallNumber-LC \
perl-Locale-Codes \
perl-Locale-Maketext-Lexicon \
perl-MARC-Charset \
- perl-MARC-Record \
- perl-MARC-XML \
perl-Module-Pluggable \
perl-Net-IP \
perl-Net-SSH2 \
perl-Text-Aspell \
perl-Text-CSV \
perl-Text-CSV_XS \
- perl-UUID-Tiny \
perl-XML-Writer \
postgresql-devel \
readline-devel \
Business::OnlinePayment::PayPal
PGSQL_FEDORA_RPMS = \
+ $(PGSQL_COMMON_RPMS) \
postgresql \
postgresql-contrib \
postgresql-libs \
DIR = $(dir $(lastword $(MAKEFILE_LIST)))
+export DEB_PGSQL_COMMON_MODS = \
+ gcc \
+ libbusiness-isbn-perl \
+ libjson-xs-perl \
+ liblibrary-callnumber-lc-perl \
+ libmarc-record-perl \
+ libmarc-xml-perl \
+ libuuid-tiny-perl \
+ libxml-libxml-perl \
+ libxml-libxslt-perl
+
export DEBS = \
+ $(DEB_PGSQL_COMMON_MODS) \
apache2-prefork-dev\
aspell\
aspell-en\
libbusiness-creditcard-perl\
libbusiness-edi-perl \
libbusiness-isbn-data-perl\
- libbusiness-isbn-perl\
libbusiness-issn-perl\
libbusiness-onlinepayment-authorizenet-perl\
libbusiness-onlinepayment-perl\
libemail-send-perl\
libemail-simple-perl\
libgd-graph3d-perl\
- liblibrary-callnumber-lc-perl \
liblocale-maketext-lexicon-perl\
liblog-log4perl-perl\
libmarc-charset-perl \
- libmarc-record-perl\
- libmarc-xml-perl \
libncurses5-dev\
libnet-https-any-perl \
libnet-ip-perl\
libtext-csv-perl\
libuniversal-require-perl\
libunix-syslog-perl\
- libuuid-tiny-perl\
libyaz-dev\
postgresql-client-9.1\
libsoap-lite-perl\
Class::DBI::Frozen::301
PGSQL_SERVER_DEBS_91 = \
+ $(DEB_PGSQL_COMMON_MODS) \
postgresql-9.1 \
postgresql-contrib-9.1 \
postgresql-plperl-9.1 \
DIR = $(dir $(lastword $(MAKEFILE_LIST)))
+export DEB_PGSQL_COMMON_MODS = \
+ gcc \
+ libbusiness-isbn-perl \
+ libjson-xs-perl \
+ liblibrary-callnumber-lc-perl \
+ libmarc-record-perl \
+ libmarc-xml-perl \
+ librose-uri-perl \
+ libuuid-tiny-perl \
+ libxml-libxml-perl \
+ libxml-libxslt-perl
+
export DEBS = \
+ $(DEB_PGSQL_COMMON_MODS) \
apache2-prefork-dev\
aspell\
aspell-en\
libbusiness-creditcard-perl\
libbusiness-edi-perl \
libbusiness-isbn-data-perl\
- libbusiness-isbn-perl\
libbusiness-issn-perl\
libbusiness-onlinepayment-authorizenet-perl\
libbusiness-onlinepayment-perl\
libemail-simple-perl\
libexcel-writer-xlsx-perl\
libgd-graph3d-perl\
- liblibrary-callnumber-lc-perl \
liblocale-maketext-lexicon-perl\
liblog-log4perl-perl\
libmarc-charset-perl \
- libmarc-record-perl\
- libmarc-xml-perl \
libncurses5-dev\
libnet-https-any-perl \
libnet-ip-perl\
libbz2-dev \
libpq5\
libpq-dev\
- librose-uri-perl\
librpc-xml-perl\
libsru-perl\
libssh2-1-dev\
libtext-csv-perl\
libuniversal-require-perl\
libunix-syslog-perl\
- libuuid-tiny-perl\
libyaz-dev\
postgresql-client-9.3\
libsoap-lite-perl\
Class::DBI::Frozen::301
PGSQL_SERVER_DEBS_93 = \
+ $(DEB_PGSQL_COMMON_MODS) \
postgresql-9.3 \
postgresql-contrib-9.3 \
postgresql-plperl-9.3 \
.(Ubuntu Precise)
[source,bash]
---------------------------------------------------------------------------------
-apt-get install gcc libxml-libxml-perl libxml-libxslt-perl libbusiness-isbn-perl
-apt-get install libjson-xs-perl liblibrary-callnumber-lc-perl libmarc-record-perl
-apt-get install libmarc-xml-perl libuuid-tiny-perl
cpan Rose::URI
---------------------------------------------------------------------------------
.(Debian "wheezy" and Ubuntu Trusty)
-standalone PostgreSQL 9 server
-[source,bash]
----------------------------------------------------------------------------------
-apt-get install gcc libxml-libxml-perl libxml-libxslt-perl libbusiness-isbn-perl
-apt-get install libjson-xs-perl liblibrary-callnumber-lc-perl libmarc-record-perl
-apt-get install libmarc-xml-perl libuuid-tiny-perl librose-uri-perl
----------------------------------------------------------------------------------
+No extra modules required for these distributions.
.(Fedora)
[source, bash]
------------------------------------------------------------------------------
-yum install gcc perl-XML-LibXML perl-XML-LibXSLT perl-Business-ISBN
-yum install perl-Library-CallNumber-LC perl-MARC-Record perl-MARC-Charset
-yum install perl-MARC-File-XML perl-UUID-Tiny
+cpan Rose::URI
------------------------------------------------------------------------------
You need to create a PostgreSQL superuser to create and access the database.