Due to dependency issues and the need for newer NodeJS version, install
from source for all distributions, not just the ones without pre-packaged
apt sources.
Signed-off-by: Ben Shum <ben@evergreener.net>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Conflicts:
Open-ILS/src/extras/install/Makefile.debian-jessie
Open-ILS/src/extras/install/Makefile.debian-stretch
Open-ILS/src/extras/install/Makefile.ubuntu-xenial
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
# sections to support building Evergreen packages on servers
# where Evergreen and its prereqs are not installed.
-# nodejs-legacy creates a symlink for /usr/bin/node -> /usr/bin/nodejs
-# which is needed by our npm-installed packages
DEVELOPER_DEBS = \
automake \
autoconf \
- libtool \
- nodejs-legacy \
- npm
+ libtool
PACKAGER_DEBS = \
asciidoc \
# packages, use the packaged versions instead.
install_developer:
make -f $(DIR)/Makefile.debian DEBS="$(DEVELOPER_DEBS)"
- npm update
- npm install -g grunt-cli
+ make -f $(DIR)/Makefile.common install_nodejs_from_source
npm install -g bower
install_translator: install_developer
# sections to support building Evergreen packages on servers
# where Evergreen and its prereqs are not installed.
-# nodejs-legacy creates a symlink for /usr/bin/node -> /usr/bin/nodejs
-# which is needed by our npm-installed packages
DEVELOPER_DEBS = \
automake \
autoconf \
# sections to support building Evergreen packages on servers
# where Evergreen and its prereqs are not installed.
-# nodejs-legacy creates a symlink for /usr/bin/node -> /usr/bin/nodejs
-# which is needed by our npm-installed packages
DEVELOPER_DEBS = \
automake \
autoconf \
- libtool \
- nodejs-legacy \
- npm
+ libtool
PACKAGER_DEBS = \
asciidoc \
# packages, use the packaged versions instead.
install_developer:
make -f $(DIR)/Makefile.debian DEBS="$(DEVELOPER_DEBS)"
- npm update
- npm install -g grunt-cli
+ make -f $(DIR)/Makefile.common install_nodejs_from_source
npm install -g bower
install_translator: install_developer