I wonder if this had something to do with all the Jessie stuff?
here's the errors:
2015-09-17 13:51:02 (2.32 MB/s) - `node_latest_armhf.deb' saved [5465884/5465884]
(Reading database ... 61209 files and directories currently installed.)
Preparing to replace node 4.0.0-1 (using node_latest_armhf.deb) ...
Unpacking replacement node ...
Setting up node (4.0.0-1) ...
Processing triggers for man-db ...
From https://github.com/miroof/node-virtual-gamepads
* [new branch] recalbox -> origin/recalbox
* [new branch] resources -> origin/resources
/usr/local/bin/node: /usr/lib/arm-linux-gnueabihf/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by /usr/local/bin/node)
/usr/local/bin/node: /lib/arm-linux-gnueabihf/libc.so.6: version `GLIBC_2.16' not found (required by /usr/local/bin/node)
/usr/local/bin/node: /usr/lib/arm-linux-gnueabihf/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by /usr/local/bin/node)
/usr/local/bin/node: /lib/arm-linux-gnueabihf/libc.so.6: version `GLIBC_2.16' not found (required by /usr/local/bin/node)
/home/pi/RetroPie-Setup/scriptmodules/supplementary/virtualgamepad.sh: line 23: pm2: command not found
/home/pi/RetroPie-Setup/scriptmodules/supplementary/virtualgamepad.sh: line 24: pm2: command not found
/home/pi/RetroPie-Setup/scriptmodules/supplementary/virtualgamepad.sh: line 25: pm2: command not found
Possible fix but I dont have time to test it. Once I've tested it and if it works I'll submit a pull request:
#!/usr/bin/env bash
# This file is part of RetroPie.
#
# (c) Copyright 2012-2015 Florian Müller (contact@petrockblock.com)
#
# See the LICENSE.md file at the top-level directory of this distribution and
# at https://raw.githubusercontent.com/RetroPie/RetroPie-Setup/master/LICENSE.md
#
rp_module_id="virtualgamepad"
rp_module_desc="Virtual Gamepad for Smartphone"
rp_module_menus="4+"
function install_virtualgamepad() {
wget https://nodejs.org/download/release/v0.10.0/node-v0.10.0-linux-arm-pi.tar.gz
cd /usr/local
tar xzvf ~/node-v0.10.0-linux-arm-pi.tar.gz --strip=1
gitPullOrClone $md_inst https://github.com/miroof/node-virtual-gamepads.git
cd $md_inst
npm install --unsafe-perm
npm install --unsafe-perm pm2 -g
pm2 start main.js
pm2 startup
pm2 save
}
I wonder if this had something to do with all the Jessie stuff?
here's the errors:
Possible fix but I dont have time to test it. Once I've tested it and if it works I'll submit a pull request: