Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ++ uname
- ++ tr '[:upper:]' '[:lower:]'
- + PLATFORM=linux
- ++ sed s/i./x/g
- +++ uname -m
- ++ echo x86_64
- + MARCH=x86_64
- + BUILDDIR=build_linux
- + NODE_MIN_VER=v0.8.15
- + main
- ++ dirname ./do
- + '[' . ']'
- ++ dirname ./do
- + cd .
- + '[' -d build_linux ']'
- + mkdir build_linux
- + getsha256sum
- + expected=4ee73c05d5158b0fdfec9f5e52cab3fa85b98d6992a221bbff28fdbd935e8afc
- + testFile=test/4ee73c05d5158b0fdfec9f5e52cab3fa85b98d6992a221bbff28fdbd935e8afc
- + for hasher in sha256sum gsha256sum ''\''shasum -a 256'\''' ''\''openssl sha256'\'''
- + sha256sum test/4ee73c05d5158b0fdfec9f5e52cab3fa85b98d6992a221bbff28fdbd935e8afc
- + grep -q 4ee73c05d5158b0fdfec9f5e52cab3fa85b98d6992a221bbff28fdbd935e8afc
- + SHA256SUM=sha256sum
- + return 0
- + hasOkNode
- ++ which node
- + NODE=
- ++ which nodejs
- + NODE=
- + '[' -f build_linux/nodejs/node/bin/node ']'
- + [[ '' == '' ]]
- + return 1
- + getNode
- + echo 'Installing node.js'
- Installing node.js
- + echo 'You can bypass this step by manually installing node.js v0.8.15 or newer'
- You can bypass this step by manually installing node.js v0.8.15 or newer
- + '[' linux-x86_64 = linux-x86_64 ']'
- + NODE_DOWNLOAD=http://nodejs.org/dist/v0.10.24/node-v0.10.24-linux-x64.tar.gz
- + NODE_SHA=6ef93f4a5b53cdd4471786dfc488ba9977cb3944285ed233f70c508b50f0cb5f
- ++ pwd
- + origDir=/tmp/buildd/cjdns-0.0.1
- + '[' -d build_linux/nodejs ']'
- + mkdir -p build_linux/nodejs
- + cd build_linux/nodejs
- ++ which wget
- + APP=/usr/bin/wget
- + '[' /usr/bin/wget = none ']'
- ++ which wget
- + '[' x/usr/bin/wget = x/usr/bin/wget ']'
- + /usr/bin/wget http://nodejs.org/dist/v0.10.24/node-v0.10.24-linux-x64.tar.gz
- --2014-01-20 18:51:50-- http://nodejs.org/dist/v0.10.24/node-v0.10.24-linux-x64.tar.gz
- Resolving nodejs.org (nodejs.org)... 165.225.133.150
- Connecting to nodejs.org (nodejs.org)|165.225.133.150|:80... connected.
- HTTP request sent, awaiting response... 200 OK
- Length: 5472950 (5.2M) [application/octet-stream]
- Saving to: `node-v0.10.24-linux-x64.tar.gz'
- 100%[==========================================================================================>] 5,472,950 2.65M/s in 2.0s
- 2014-01-20 18:51:52 (2.65 MB/s) - `node-v0.10.24-linux-x64.tar.gz' saved [5472950/5472950]
- ++ which curl
- + '[' x/usr/bin/wget = x ']'
- + grep 6ef93f4a5b53cdd4471786dfc488ba9977cb3944285ed233f70c508b50f0cb5f
- + sha256sum ./node-v0.10.24-linux-x64.tar.gz
- 6ef93f4a5b53cdd4471786dfc488ba9977cb3944285ed233f70c508b50f0cb5f ./node-v0.10.24-linux-x64.tar.gz
- + tar -xzf node-v0.10.24-linux-x64.tar.gz
- + find ./ -mindepth 1 -maxdepth 1 -type d -exec mv '{}' node ';'
- + cd /tmp/buildd/cjdns-0.0.1
- + hasOkNode
- ++ which node
- + NODE=
- ++ which nodejs
- + NODE=
- + '[' -f build_linux/nodejs/node/bin/node ']'
- ++ pwd
- + NODE=/tmp/buildd/cjdns-0.0.1/build_linux/nodejs/node/bin/node
- + [[ /tmp/buildd/cjdns-0.0.1/build_linux/nodejs/node/bin/node == '' ]]
- ++ /tmp/buildd/cjdns-0.0.1/build_linux/nodejs/node/bin/node -v
- ./do: line 28: /tmp/buildd/cjdns-0.0.1/build_linux/nodejs/node/bin/node: No such file or directory
- ++ sed 's/[^[0-9]/0000/g'
- ++ echo v0.8.15
- ++ sed 's/[^[0-9]/0000/g'
- + '[' -ge 0000000008000015 ']'
- ./do: line 28: [: -ge: unary operator expected
- + echo 'You have a version of node but it is too old'
- You have a version of node but it is too old
- + return 1
- + return 1
- + die 'could not get working nodejs impl'
- + echo 'ERROR: could not get working nodejs impl'
- ERROR: could not get working nodejs impl
- + exit 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement