export LIBDBI_DRIVERS=libdbi-drivers-0.8.3
export LIBDBI_HOST=http://open-ils.org/~denials/evergreen
+# some OSes require a source install of NodeJS.
+# NOTE: Deprecate me with wheezy / precise
+export NODEJS_SOURCE_VERSION=v0.10.28
+
# As this Makefile is designed to be used by a make process running as
# root, this will avoid problems on some systems when tar extracts
# files and tries to give them the same UID/GID as they have in their
postgres-server-fedora:
@make -f $(DIR)/Makefile.fedora install_postgres_server
+ubuntu-trusty-developer:
+ @make -f $(DIR)/Makefile.ubuntu-trusty install_developer
+debian-jessie-developer:
+ @make -f $(DIR)/Makefile.debian-jessie install_developer
+ubuntu-precise-developer:
+ @make -f $(DIR)/Makefile.ubuntu-precise install_developer
+debian-wheezy-developer:
+ @make -f $(DIR)/Makefile.debian-wheezy install_developer
+
+ubuntu-trusty-packager:
+ @make -f $(DIR)/Makefile.ubuntu-trusty install_packager
+debian-jessie-packager:
+ @make -f $(DIR)/Makefile.debian-jessie install_packager
+ubuntu-precise-packager:
+ @make -f $(DIR)/Makefile.ubuntu-precise install_packager
+debian-wheezy-packager:
+ @make -f $(DIR)/Makefile.debian-wheezy install_packager
+
# vim:noet:sw=4:ts=4:
cd $(LIBDBI_DRIVERS) && ./configure \
--disable-docs --with-pgsql --enable-libdbi && make all install
+# NOTE: Deprecate me with wheezy / precise
+install_nodejs_from_source:
+ git clone https://github.com/joyent/node.git
+ cd node; \
+ git checkout -b $(NODEJS_SOURCE_VERSION) $(NODEJS_SOURCE_VERSION); \
+ ./configure && make && make install
+ npm update
+ npm install -g grunt-cli
+ npm install -g bower
+
clean:
make -C $(LIBDBI) clean
make -C $(LIBDBI_DRIVERS) clean
postgresql-plperl-9.3 \
postgresql-server-dev-9.3
+# nodejs-legacy creates a symlink for /usr/bin/node -> /usr/bin/nodejs
+# which is needed by our npm-installed packages
+DEVELOPER_DEBS = \
+ nodejs-legacy \
+ npm
+
+PACKAGER_DEBS = \
+ translate-toolkit \
+ python-dev \
+ python-levenshtein \
+ python-polib \
+ python-setuptools \
+ python-simplejson \
+ python-lxml \
+ zip \
+ unzip \
+ nsis
+
all:
make -f $(DIR)/Makefile.debian install_debs
make -f $(DIR)/Makefile.debian test_for_libdbi_pkg
install_postgres_server:
make -f $(DIR)/Makefile.debian DEBS="$(PGSQL_SERVER_DEBS_93)"
+# note: if/when grunt-cli and bower are available as
+# packages, use the packaged versions instead.
+install_developer:
+ make -f $(DIR)/Makefile.debian DEBS="$(DEVELOPER_DEBS)"
+ npm update
+ npm install -g grunt-cli
+ npm install -g bower
+
+install_packager:
+ make -f $(DIR)/Makefile.debian DEBS="$(PACKAGER_DEBS)"
+
clean:
make -f $(DIR)/Makefile.common clean
make -f $(DIR)/Makefile.debian clean
postgresql-plperl-9.1 \
postgresql-server-dev-9.1
+PACKAGER_DEBS = \
+ translate-toolkit \
+ python-dev \
+ python-levenshtein \
+ python-polib \
+ python-setuptools \
+ python-simplejson \
+ python-lxml \
+ zip \
+ unzip \
+ nsis
+
all:
make -f $(DIR)/Makefile.debian install_debs
make -f $(DIR)/Makefile.debian test_for_libdbi_pkg
install_postgres_server:
make -f $(DIR)/Makefile.debian DEBS="$(PGSQL_SERVER_DEBS_91)"
+install_developer:
+ make -f $(DIR)/Makefile.common install_nodejs_from_source
+
+install_packager:
+ make -f $(DIR)/Makefile.debian DEBS="$(PACKAGER_DEBS)"
+
clean:
make -f $(DIR)/Makefile.common clean
make -f $(DIR)/Makefile.debian clean
postgresql-plperl-9.1 \
postgresql-server-dev-9.1
+PACKAGER_DEBS = \
+ translate-toolkit \
+ python-dev \
+ python-levenshtein \
+ python-polib \
+ python-setuptools \
+ python-simplejson \
+ python-lxml \
+ zip \
+ unzip \
+ nsis
+
all:
make -f $(DIR)/Makefile.debian install_debs
make -f $(DIR)/Makefile.debian test_for_libdbi_pkg
install_postgres_server:
make -f $(DIR)/Makefile.debian DEBS="$(PGSQL_SERVER_DEBS_91)"
+install_developer:
+ make -f $(DIR)/Makefile.common install_nodejs_from_source
+
+install_packager:
+ make -f $(DIR)/Makefile.debian DEBS="$(PACKAGER_DEBS)"
+
clean:
make -f $(DIR)/Makefile.common clean
make -f $(DIR)/Makefile.debian clean
postgresql-plperl-9.3 \
postgresql-server-dev-9.3
+# nodejs-legacy creates a symlink for /usr/bin/node -> /usr/bin/nodejs
+# which is needed by our npm-installed packages
+DEVELOPER_DEBS = \
+ nodejs-legacy \
+ npm
+
+PACKAGER_DEBS = \
+ translate-toolkit \
+ python-dev \
+ python-levenshtein \
+ python-polib \
+ python-setuptools \
+ python-simplejson \
+ python-lxml \
+ zip \
+ unzip \
+ nsis
+
all:
make -f $(DIR)/Makefile.debian install_debs
make -f $(DIR)/Makefile.debian test_for_libdbi_pkg
install_postgres_server:
make -f $(DIR)/Makefile.debian DEBS="$(PGSQL_SERVER_DEBS_93)"
+# note: if/when grunt-cli and bower are available as
+# packages, use the packaged versions instead.
+install_developer:
+ make -f $(DIR)/Makefile.debian DEBS="$(DEVELOPER_DEBS)"
+ npm update
+ npm install -g grunt-cli
+ npm install -g bower
+
+install_packager:
+ make -f $(DIR)/Makefile.debian DEBS="$(PACKAGER_DEBS)"
+
clean:
make -f $(DIR)/Makefile.common clean
make -f $(DIR)/Makefile.debian clean
from http://evergreen-ils.org/downloads
Developers working directly with the source code from the Git repository,
-rather than an official release tarball, must install some extra packages
-and perform one step before they can proceed with the `./configure` step.
-
-As the *root* Linux account, install the following packages:
-
- * autoconf
- * automake
- * libtool
+rather than an official release tarball, must perform one step before they
+can proceed with the `./configure` step.
As the *user* Linux account, issue the following command in the Evergreen
source directory to generate the configure script and Makefiles:
ldconfig
------------------------------------------------------------------------------
+6. OPTIONAL: Developer additions
++
+To perform certain developer tasks from a Git source code checkout,
+additional packages may be required. As the *root* Linux account:
++
+ * To install packages needed for retriving and managing web dependencies,
+ use the <osname>-developer Makefile.install target. Currently,
+ this is only needed for building and installing the (preview) browser
+ staff client.
++
+[source, bash]
+------------------------------------------------------------------------------
+make -f Open-ILS/src/extras/Makefile.install <osname>-developer
+------------------------------------------------------------------------------
++
+ * To install packages required for building Evergreen release bundles, use
+ the <osname>-packager Makefile.install target.
++
+[source, bash]
+------------------------------------------------------------------------------
+make -f Open-ILS/src/extras/Makefile.install <osname>-packager
+------------------------------------------------------------------------------
+
Configuration and compilation instructions
------------------------------------------