NEWS
-
@Jey Cee:Hi chaos,
wo hängts denn? Ubuntu passt. Bei mir läuft es seit gestern auch auf ubuntu.
Gesendet von meinem Jolla mit Tapatalk `
linuxium@LINUXIUMONE:/opt/iobroker$ npm install iobroker
/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)
linuxium@LINUXIUMONE:/opt/iobroker$
-
build essentials installiert?
apt-get install -y build-essentialGruß
Rainer
-
linuxium@LINUXIUMONE:~$ sudo apt-get install -y build-essential
[sudo] password for linuxium:
Reading package lists… Done
Building dependency tree
Reading state information... Done
build-essential is already the newest version.
The following package was automatically installed and is no longer required:
libkms1
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 25 not upgraded.
linuxium@LINUXIUMONE:~$ npm install iobroker
/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)
linuxium@LINUXIUMONE:~$
-
Ok nachdem es sich nicht um ein standard ubuntu linux handelt könnte es schwer werden.
Dir fehlen die module libstdc++.so und libc.so.6. Soweit ich weiss gehören die zum gcc compiler.
Normales vorgehen wäre jetzt gcc zu installieren oder nur die einzelnen module. Aber ich weiss nicht wie das bei dir geht.
Gesendet von meinem Jolla mit Tapatalk
-
Ich habe noch ein wenig gegoogelt. Dabei ist die Frage aufgekommen:
Welches Ubuntu hast du drauf?
64bit???
…und dann bin ich mangels Wissen raus :(
Gruß
Rainer
-
root@LINUXIUMONE:/opt/iobroker# npm install iobroker
npm http GET https://registry.npmjs.org/iobroker
npm ERR! Error: failed to fetch from registry: iobroker
npm ERR! at /usr/share/npm/lib/utils/npm-registry-client/get.js:139:12
npm ERR! at cb (/usr/share/npm/lib/utils/npm-registry-client/request.js:31:9)
npm ERR! at Request._callback (/usr/share/npm/lib/utils/npm-registry-client/request.js:136:18)
npm ERR! at Request.callback (/usr/lib/nodejs/request/main.js:119:22)
npm ERR! at Request. <anonymous>(/usr/lib/nodejs/request/main.js:212:58)
npm ERR! at Request.emit (events.js:88:20)
npm ERR! at ClientRequest. <anonymous>(/usr/lib/nodejs/request/main.js:412:12)
npm ERR! at ClientRequest.emit (events.js:67:17)
npm ERR! at HTTPParser.onIncoming (http.js:1261:11)
npm ERR! at HTTPParser.onHeadersComplete (http.js:102:31)
npm ERR! You may report this log at:
npm ERR! <http://bugs.debian.org/npm>
npm ERR! or use
npm ERR! reportbug –attach /opt/iobroker/npm-debug.log npm
npm ERR!
npm ERR! System Linux 3.0.36+
npm ERR! command "node" "/usr/bin/npm" "install" "iobroker"
npm ERR! cwd /opt/iobroker
npm ERR! node -v v0.6.12
npm ERR! npm -v 1.1.4
npm ERR! message failed to fetch from registry: iobroker
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /opt/iobroker/npm-debug.log
npm not ok
root@LINUXIUMONE:/opt/iobroker#</anonymous></anonymous>
-
was hast du für ein ubuntu???
> System Linux 3.0.36+
das ist aber nicht das neueste ;-)ebenso ist nodejs und npm nicht aktuell:
node -v v0.6.12 npm -v 1.1.4alles sehr alt.
wie hast du das installiert?
Gruß
Rainer
-
linuxium@LINUXIUMONE:/opt/iobroker$ curl -sL https://deb.nodesource.com/setup | sudo bash -
curl: command not found
linuxium@LINUXIUMONE:/opt/iobroker$
den befehl soll ich eingeben aber , es geht nicht ….
-
curl hab ich installiert, das geht jetyt auch>
inuxium@LINUXIUMONE:/opt/iobroker$ curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash -
Installing the NodeSource Node.js 6.x repo…
Populating apt-get cache...
- apt-get update
Hit http://ports.ubuntu.com precise Release.gpg
Hit http://ports.ubuntu.com precise-security Release.gpg
Hit http://ports.ubuntu.com precise-updates Release.gpg
Hit http://ports.ubuntu.com precise Release.gpg
Hit http://ports.ubuntu.com precise-security Release.gpg
Hit http://ports.ubuntu.com precise-updates Release.gpg
Hit http://ppa.launchpad.net precise Release.gpg
Hit http://ports.ubuntu.com precise Release
Hit http://ports.ubuntu.com precise-security Release
Hit http://ports.ubuntu.com precise-updates Release
Hit http://ports.ubuntu.com precise Release
Hit http://ports.ubuntu.com precise-security Release
Hit http://ppa.launchpad.net precise Release
Hit http://ports.ubuntu.com precise-updates Release
Hit http://ports.ubuntu.com precise/main armhf Packages
Hit http://ports.ubuntu.com precise/universe armhf Packages
Hit http://ports.ubuntu.com precise/main TranslationIndex
Hit http://ports.ubuntu.com precise/universe TranslationIndex
Hit http://ports.ubuntu.com precise-security/main armhf Packages
Hit http://ports.ubuntu.com precise-security/universe armhf Packages
Hit http://ports.ubuntu.com precise-security/main TranslationIndex
Hit http://ports.ubuntu.com precise-security/universe TranslationIndex
Hit http://ports.ubuntu.com precise-updates/main armhf Packages
Hit http://ports.ubuntu.com precise-updates/universe armhf Packages
Hit http://ppa.launchpad.net precise/main Sources
Hit http://ports.ubuntu.com precise-updates/main TranslationIndex
Hit http://ports.ubuntu.com precise-updates/universe TranslationIndex
Hit http://ports.ubuntu.com precise/main armhf Packages
Hit http://ports.ubuntu.com precise/universe armhf Packages
Hit http://ports.ubuntu.com precise/main TranslationIndex
Hit http://ports.ubuntu.com precise/universe TranslationIndex
Hit http://ports.ubuntu.com precise/main Translation-en
Hit http://ports.ubuntu.com precise/universe Translation-en
Hit http://ports.ubuntu.com precise-security/main armhf Packages
Hit http://ports.ubuntu.com precise-security/universe armhf Packages
Hit http://ports.ubuntu.com precise-security/main TranslationIndex
Hit http://ppa.launchpad.net precise/main armhf Packages
Hit http://ports.ubuntu.com precise-security/universe TranslationIndex
Hit http://ports.ubuntu.com precise-updates/main armhf Packages
Hit http://ports.ubuntu.com precise-updates/universe armhf Packages
Hit http://ports.ubuntu.com precise-updates/main TranslationIndex
Hit http://ppa.launchpad.net precise/main TranslationIndex
Hit http://ports.ubuntu.com precise-updates/universe TranslationIndex
Hit http://ports.ubuntu.com precise-security/main Translation-en
Hit http://ports.ubuntu.com precise-security/universe Translation-en
Hit http://ports.ubuntu.com precise-updates/main Translation-en
Hit http://ppa.launchpad.net precise/main Translation-en
Hit http://ports.ubuntu.com precise-updates/universe Translation-en
Hit http://ports.ubuntu.com precise/main Translation-en
Hit http://ports.ubuntu.com precise/universe Translation-en
Hit http://ports.ubuntu.com precise-security/main Translation-en
Hit http://ports.ubuntu.com precise-security/universe Translation-en
Hit http://ports.ubuntu.com precise-updates/main Translation-en
Hit http://ports.ubuntu.com precise-updates/universe Translation-en
Hit https://deb.nodesource.com precise Release.gpg
Hit https://deb.nodesource.com precise Release
Hit https://deb.nodesource.com precise/main Sources
Hit https://deb.nodesource.com precise/main armhf Packages
Get:1 https://deb.nodesource.com precise/main TranslationIndex [162 B]
Ign https://deb.nodesource.com precise/main TranslationIndex
Ign https://deb.nodesource.com precise/main Translation-en
Reading package lists… Done
Confirming "precise" is supported...
- curl -sLf -o /dev/null 'https://deb.nodesource.com/node_6.x/dis ... se/Release'
Adding the NodeSource signing key to your keyring...
- curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add -
OK
Creating apt sources list file for the NodeSource Node.js 6.x repo...
-
echo 'deb https://deb.nodesource.com/node_6.x precise main' > /etc/apt/sources.list.d/nodesource.list
-
echo 'deb-src https://deb.nodesource.com/node_6.x precise main' >> /etc/apt/sources.list.d/nodesource.list
Running
apt-get updatefor you...- apt-get update
Hit http://ports.ubuntu.com precise Release.gpg
Hit http://ports.ubuntu.com precise-security Release.gpg
Hit http://ports.ubuntu.com precise-updates Release.gpg
Hit http://ports.ubuntu.com precise Release.gpg
Hit http://ports.ubuntu.com precise-security Release.gpg
Hit http://ports.ubuntu.com precise-updates Release.gpg
Hit http://ppa.launchpad.net precise Release.gpg
Hit http://ports.ubuntu.com precise Release
Hit http://ports.ubuntu.com precise-security Release
Hit http://ports.ubuntu.com precise-updates Release
Hit http://ports.ubuntu.com precise Release
Hit http://ports.ubuntu.com precise-security Release
Hit http://ppa.launchpad.net precise Release
Hit http://ports.ubuntu.com precise-updates Release
Hit http://ports.ubuntu.com precise/main armhf Packages
Hit http://ports.ubuntu.com precise/universe armhf Packages
Hit http://ports.ubuntu.com precise/main TranslationIndex
Hit http://ports.ubuntu.com precise/universe TranslationIndex
Hit http://ports.ubuntu.com precise-security/main armhf Packages
Hit http://ports.ubuntu.com precise-security/universe armhf Packages
Hit http://ports.ubuntu.com precise-security/main TranslationIndex
Hit http://ports.ubuntu.com precise-security/universe TranslationIndex
Hit http://ports.ubuntu.com precise-updates/main armhf Packages
Hit http://ports.ubuntu.com precise-updates/universe armhf Packages
Hit http://ports.ubuntu.com precise-updates/main TranslationIndex
Hit http://ports.ubuntu.com precise-updates/universe TranslationIndex
Hit http://ports.ubuntu.com precise/main armhf Packages
Hit http://ppa.launchpad.net precise/main Sources
Hit http://ports.ubuntu.com precise/universe armhf Packages
Hit http://ports.ubuntu.com precise/main TranslationIndex
Hit http://ports.ubuntu.com precise/universe TranslationIndex
Hit http://ports.ubuntu.com precise-security/main armhf Packages
Hit http://ports.ubuntu.com precise-security/universe armhf Packages
Hit http://ports.ubuntu.com precise-security/main TranslationIndex
Hit http://ports.ubuntu.com precise-security/universe TranslationIndex
Hit http://ports.ubuntu.com precise/main Translation-en
Hit http://ports.ubuntu.com precise/universe Translation-en
Hit http://ports.ubuntu.com precise-security/main Translation-en
Hit http://ppa.launchpad.net precise/main armhf Packages
Hit http://ppa.launchpad.net precise/main TranslationIndex
Hit http://ports.ubuntu.com precise-security/universe Translation-en
Hit http://ports.ubuntu.com precise-updates/main armhf Packages
Hit http://ports.ubuntu.com precise-updates/universe armhf Packages
Hit http://ports.ubuntu.com precise-updates/main TranslationIndex
Hit http://ports.ubuntu.com precise-updates/universe TranslationIndex
Hit http://ports.ubuntu.com precise-updates/main Translation-en
Hit http://ports.ubuntu.com precise-updates/universe Translation-en
Hit http://ports.ubuntu.com precise/main Translation-en
Hit http://ports.ubuntu.com precise/universe Translation-en
Hit http://ports.ubuntu.com precise-security/main Translation-en
Hit http://ports.ubuntu.com precise-security/universe Translation-en
Hit http://ports.ubuntu.com precise-updates/main Translation-en
Hit http://ppa.launchpad.net precise/main Translation-en
Hit http://ports.ubuntu.com precise-updates/universe Translation-en
Get:1 https://deb.nodesource.com precise Release.gpg [860 B]
Get:2 https://deb.nodesource.com precise Release [2994 B]
Get:3 https://deb.nodesource.com precise/main Sources [763 B]
Get:4 https://deb.nodesource.com precise/main armhf Packages [20 B]
Get:5 https://deb.nodesource.com precise/main TranslationIndex [162 B]
Ign https://deb.nodesource.com precise/main TranslationIndex
Ign https://deb.nodesource.com precise/main Translation-en
Fetched 4637 B in 20s (221 B/s)
Reading package lists… Done
Run
apt-get install nodejs(as root) to install Node.js 6.x and npmlinuxium@LINUXIUMONE:/opt/iobroker$ sudo apt-get install -y nodejs
Reading package lists... Done
Building dependency tree
Reading state information... Done
nodejs is already the newest version.
The following packages were automatically installed and are no longer required:
libc-ares-dev node-node-uuid libev4 libv8-dev libv8-3.7.12.22 libc-ares2
libev-dev libkms1
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 12 not upgraded.
linuxium@LINUXIUMONE:/opt/iobroker$ node -v
v0.10.41
linuxium@LINUXIUMONE:/opt/iobroker$ sudo apt-get install -y build-essential
Reading package lists... Done
Building dependency tree
Reading state information... Done
build-essential is already the newest version.
The following packages were automatically installed and are no longer required:
libc-ares-dev node-node-uuid libev4 libv8-dev libv8-3.7.12.22 libc-ares2
libev-dev libkms1
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 12 not upgraded.
wenn ich jezt >
^Clinuxium@LINUXIUMONE:/opt/iobroker$ sudo npm install iobroker
blinkt der courser nur noch und ich musss mit strg c beenden , denn es passiert nichts