RazortoothRTC / epochedu-webrtc

EpochEDU-WebRTC is an EDU oriented toolbox for managing classrooms in realtime
Other
1 stars 0 forks source link

Need an armv7 tuned Node.js v0.8.26 build for ArchLinux ARM #22

Closed truedat101 closed 3 weeks ago

truedat101 commented 10 years ago

Wondering if we can resurrect the old 0.8.x package and build directly on device?

Need this to go into the final firmware.

truedat101 commented 10 years ago

Any 0.8.x node is fine, though would prefer to use anything above 0.8.20 , since I've been testing heavily with that.

truedat101 commented 10 years ago

Per Kevin: I just added the package nodejs-0.8 to the repo based off our last 0.8 package and upgraded to 0.8.26, which was released in October 2013. See if that works for you. You can install it with pacman -Sy nodejs-0.8.

truedat101 commented 10 years ago

Resolved:

[root@SMILEplug ~]# pacman -S nodejs-0.8 resolving dependencies... looking for inter-conflicts...

Packages (3): python2-2.7.6-1 sqlite-3.8.2-1 nodejs-0.8-0.8.26-1

Total Download Size: 12.14 MiB Total Installed Size: 76.54 MiB

:: Proceed with installation? [Y/n] Y :: Retrieving packages ... python2-2.7.6-1-armv7h 8.6 MiB 2.07M/s 00:04 [######################] 100% nodejs-0.8-0.8.26-1... 3.6 MiB 2.31M/s 00:02 [######################] 100% (3/3) checking keys in keyring [######################] 100% (3/3) checking package integrity [######################] 100% (3/3) loading package files [######################] 100% (3/3) checking for file conflicts [######################] 100% (3/3) checking available disk space [######################] 100% (1/3) installing sqlite [######################] 100% (2/3) installing python2 [######################] 100% Optional dependencies for python2 tk: for IDLE (3/3) installing nodejs-0.8 [######################] 100%

truedat101 commented 10 years ago

Hmm, seeing a lot of problems during the smile install:

npm http GET https://registry.npmjs.org/deferred-leveldown/-/deferred-leveldown-0.1.0.tgz gyp: /root/.node-gyp/0.8.26/common.gypi not found (cwd: /root/dist/epochedu-webrtc/epoch-smile/node_modules/pouchdb/node_modules/level/node_modules/leveldown) while reading includes of binding.gyp while trying to load binding.gyp gyp ERR! configure error gyp ERR! stack Error: gyp failed with exit code: 1 gyp ERR! stack at ChildProcess.onCpExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:415:16) gyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:99:17) gyp ERR! stack at Process._handle.onexit (child_process.js:686:10) gyp ERR! System Linux 3.12.1-1-ARCH gyp ERR! command "node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /root/dist/epochedu-webrtc/epoch-smile/node_modules/pouchdb/node_modules/level/node_modules/leveldown gyp ERR! node -v v0.8.26 gyp ERR! node-gyp -v v0.10.0 gyp ERR! not ok npm ERR! weird error 1 npm http 200 https://registry.npmjs.org/semver npm http GET https://registry.npmjs.org/semver/-/semver-2.2.1.tgz

truedat101 commented 10 years ago

Another one:

gyp: /root/.node-gyp/0.8.26/common.gypi not found (cwd: /root/dist/epochedu-webrtc/epoch-smile/node_modules/pouchdb/node_modules/level/node_modules/leveldown) while reading includes of binding.gyp while trying to load binding.gyp npm http 304 https://registry.npmjs.org/prr npm http 304 https://registry.npmjs.org/semver npm http 304 https://registry.npmjs.org/xtend gyp ERR! configure error gyp ERR! stack Error: gyp failed with exit code: 1 gyp ERR! stack at ChildProcess.onCpExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:415:16) gyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:99:17) gyp ERR! stack at Process._handle.onexit (child_process.js:686:10) npm http 200 https://registry.npmjs.org/hoek gyp ERR! System Linux 3.12.1-1-ARCH gyp ERR! command "node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /root/dist/epochedu-webrtc/epoch-smile/node_modules/pouchdb/node_modules/level/node_modules/leveldown gyp ERR! node -v v0.8.26 gyp ERR! node-gyp -v v0.10.0 gyp ERR! not ok npm http GET https://registry.npmjs.org/hoek/-/hoek-0.7.6.tgz

truedat101 commented 10 years ago

npm is so slow sometimes. I don't understand why this is so difficult to install the smile software, for example.

truedat101 commented 3 weeks ago

Closing.