From 4bd0874e662af1e370ea85a53b3d9c64d9a54a6d Mon Sep 17 00:00:00 2001 From: Karl G Date: Sun, 6 May 2018 11:11:45 +0200 Subject: [PATCH] use curl instead of wget (fixes cert errors); install bson-ext to prevent newer versions from complaining about missing libpthread --- SmartOS.md | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/SmartOS.md b/SmartOS.md index 71c33d9..09abf2a 100644 --- a/SmartOS.md +++ b/SmartOS.md @@ -15,8 +15,8 @@ Install prerequisites packages # pkgin install mongodb ## if this failes use # pkg_add https://pkgsrc.smartos.skylime.net/packages/SmartOS/2016Q4/x86_64/All/mongodb-3.0.11.tgz - # pkgin install nodejs # 8 - # pkgin install gmake gcc5 # build requirements + # pkgin install nodejs curl # 8 + # pkgin install gmake gcc5 git # build requirements Enable MongoDB @@ -27,8 +27,8 @@ Enable MongoDB As wekan $ cd - $ wget --no-check-certificate https://releases.wekan.team/wekan-0.89.tar.gz - $ tar -xzpf wekan-0.89.tar.gz + $ curl https://releases.wekan.team/wekan-0.89.tar.gz --output wekan-bundle.tar.gz + $ tar -xzpf wekan-bundle.tar.gz As root @@ -44,6 +44,8 @@ As wekan $ export CPPFLAGS="-I/opt/local/include" $ ln -s /opt/local/bin/node /opt/local/bin/nodejs $ npm install fibers + $ cd ~/bundle/programs/server/npm/node_modules + $ npm install bson-ext ## Run @@ -62,4 +64,4 @@ Now it can be run ## Cleanup - $ pkgin rm gmake gcc5 # remove build requirements \ No newline at end of file + $ pkgin rm gmake gcc5 git # remove build requirements \ No newline at end of file