Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. Zigbee Instanz rot nach node.js Update auf v12.18.4 [Gelöst]

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    UNSOLVED Zigbee Instanz rot nach node.js Update auf v12.18.4 [Gelöst]

    This topic has been deleted. Only users with topic management privileges can see it.
    • Thomas Braun
      Thomas Braun Most Active @birdy last edited by Thomas Braun

      @birdy
      Du stehst im falschen Verzeichnis. Du hast das jetzt in /home/pi installiert.

      cd /opt/iobroker
      npm i iobroker.zigbee@1.2.1 --force
      

      Alternativ probier mal

      iobroker install zigbee
      iobroker upload zigbee
      
      birdy 1 Reply Last reply Reply Quote 0
      • birdy
        birdy @Thomas Braun last edited by

        @Thomas-Braun said in Zigbee Instanz rot nach node.js Update auf v12.18.4:

        @birdy
        Du stehst im falschen Verzeichnis. Du hast das jetzt in /home/pi installiert.

        cd /opt/iobroker
        npm i iobroker.zigbee@1.2.1 --force
        

        Alternativ probier mal

        iobroker install zigbee
        iobroker upload zigbee
        

        So, jetzt im richtigen Pfad...

        pi@raspberrypi:/opt/iobroker $ npm i iobroker.zigbee@1.2.1 --force
        npm WARN using --force I sure hope you know what you are doing.
        
        > canvas@2.6.1 install /opt/iobroker/node_modules/canvas
        > node-pre-gyp install --fallback-to-build
        
        node-pre-gyp WARN Using request for node-pre-gyp https download
        node-pre-gyp WARN Tried to download(404): https://github.com/node-gfx/node-canvas-prebuilt/releases/download/v2.6.1/canvas-v2.6.1-node-v72-linux-glibc-arm.tar.gz
        node-pre-gyp WARN Pre-built binaries not found for canvas@2.6.1 and node@12.18.4 (node-v72 ABI, glibc) (falling back to source compile with node-gyp)
        make: Verzeichnis „/opt/iobroker/node_modules/canvas/build“ wird betreten
          SOLINK_MODULE(target) Release/obj.target/canvas-postbuild.node
          COPY Release/canvas-postbuild.node
          CXX(target) Release/obj.target/canvas/src/backend/Backend.o
          CXX(target) Release/obj.target/canvas/src/backend/ImageBackend.o
          CXX(target) Release/obj.target/canvas/src/backend/PdfBackend.o
        In file included from ../src/backend/PdfBackend.h:4:0,
                         from ../src/backend/PdfBackend.cc:1:
        ../src/backend/../closure.h:6:21: fatal error: jpeglib.h: Datei oder Verzeichnis nicht gefunden
         #include <jpeglib.h>
                             ^
        compilation terminated.
        canvas.target.mk:142: die Regel für Ziel „Release/obj.target/canvas/src/backend/PdfBackend.o“ scheiterte
        make: *** [Release/obj.target/canvas/src/backend/PdfBackend.o] Fehler 1
        make: Verzeichnis „/opt/iobroker/node_modules/canvas/build“ wird verlassen
        gyp ERR! build error
        gyp ERR! stack Error: `make` failed with exit code: 2
        gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
        gyp ERR! stack     at ChildProcess.emit (events.js:315:20)
        gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
        gyp ERR! System Linux 4.19.66-v7+
        gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/opt/iobroker/node_modules/canvas/build/Release/canvas.node" "--module_name=canvas" "--module_path=/opt/iobroker/node_modules/canvas/build/Release" "--napi_version=6" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v72"
        gyp ERR! cwd /opt/iobroker/node_modules/canvas
        gyp ERR! node -v v12.18.4
        gyp ERR! node-gyp -v v5.1.0
        gyp ERR! not ok
        node-pre-gyp ERR! build error
        node-pre-gyp ERR! stack Error: Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/opt/iobroker/node_modules/canvas/build/Release/canvas.node --module_name=canvas --module_path=/opt/iobroker/node_modules/canvas/build/Release --napi_version=6 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v72' (1)
        node-pre-gyp ERR! stack     at ChildProcess.<anonymous> (/opt/iobroker/node_modules/canvas/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
        node-pre-gyp ERR! stack     at ChildProcess.emit (events.js:315:20)
        node-pre-gyp ERR! stack     at maybeClose (internal/child_process.js:1021:16)
        node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:286:5)
        node-pre-gyp ERR! System Linux 4.19.66-v7+
        node-pre-gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/canvas/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
        node-pre-gyp ERR! cwd /opt/iobroker/node_modules/canvas
        node-pre-gyp ERR! node -v v12.18.4
        node-pre-gyp ERR! node-pre-gyp -v v0.11.0
        node-pre-gyp ERR! not ok
        Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/opt/iobroker/node_modules/canvas/build/Release/canvas.node --module_name=canvas --module_path=/opt/iobroker/node_modules/canvas/build/Release --napi_version=6 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v72' (1)
        
        > osx-temperature-sensor@1.0.7 install /opt/iobroker/node_modules/osx-temperature-sensor
        > node-gyp rebuild
        
        make: Verzeichnis „/opt/iobroker/node_modules/osx-temperature-sensor/build“ wird betreten
          SOLINK_MODULE(target) Release/obj.target/none.node
          COPY Release/none.node
        make: Verzeichnis „/opt/iobroker/node_modules/osx-temperature-sensor/build“ wird verlassen
        
        > sharp@0.25.2 install /opt/iobroker/node_modules/sharp
        > (node install/libvips && node install/dll-copy && prebuild-install --runtime=napi) || (node-gyp rebuild && node install/dll-copy)
        
        ERR! sharp Use with glibc 2.24 requires manual installation of libvips >= 8.9.1
        info sharp Attempting to build from source via node-gyp but this may fail due to the above error
        info sharp Please see https://sharp.pixelplumbing.com/install for required dependencies
        make: Verzeichnis „/opt/iobroker/node_modules/sharp/build“ wird betreten
          CC(target) Release/obj.target/nothing/../node-addon-api/src/nothing.o
          AR(target) Release/obj.target/../node-addon-api/src/nothing.a
          COPY Release/nothing.a
          TOUCH Release/obj.target/libvips-cpp.stamp
          CXX(target) Release/obj.target/sharp/src/common.o
        ../src/common.cc:23:22: fatal error: vips/vips8: Datei oder Verzeichnis nicht gefunden
         #include <vips/vips8>
                              ^
        compilation terminated.
        sharp.target.mk:138: die Regel für Ziel „Release/obj.target/sharp/src/common.o“ scheiterte
        make: *** [Release/obj.target/sharp/src/common.o] Fehler 1
        make: Verzeichnis „/opt/iobroker/node_modules/sharp/build“ wird verlassen
        gyp ERR! build error
        gyp ERR! stack Error: `make` failed with exit code: 2
        gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
        gyp ERR! stack     at ChildProcess.emit (events.js:315:20)
        gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
        gyp ERR! System Linux 4.19.66-v7+
        gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
        gyp ERR! cwd /opt/iobroker/node_modules/sharp
        gyp ERR! node -v v12.18.4
        gyp ERR! node-gyp -v v5.1.0
        gyp ERR! not ok
        
        > @serialport/bindings@9.0.1 install /opt/iobroker/node_modules/zigbee-herdsman/node_modules/@serialport/bindings
        > prebuild-install --tag-prefix @serialport/bindings@ || node-gyp rebuild
        
        prebuild-install WARN install No prebuilt binaries found (target=12.18.4 runtime=node arch=arm libc= platform=linux)
        make: Verzeichnis „/opt/iobroker/node_modules/zigbee-herdsman/node_modules/@serialport/bindings/build“ wird betreten
          CXX(target) Release/obj.target/bindings/src/serialport.o
          CXX(target) Release/obj.target/bindings/src/serialport_unix.o
          CXX(target) Release/obj.target/bindings/src/poller.o
          CXX(target) Release/obj.target/bindings/src/serialport_linux.o
          SOLINK_MODULE(target) Release/obj.target/bindings.node
          COPY Release/bindings.node
        make: Verzeichnis „/opt/iobroker/node_modules/zigbee-herdsman/node_modules/@serialport/bindings/build“ wird verlassen
        
        > serialport@9.0.1 postinstall /opt/iobroker/node_modules/zigbee-herdsman/node_modules/serialport
        > node thank-you.js
        
        Thank you for using serialport!
        If you rely on this package, please consider supporting our open collective:
        > https://opencollective.com/serialport/donate
        
        
        + iobroker.zigbee@1.2.1
        added 68 packages from 112 contributors, removed 244 packages, updated 3 packages and moved 3 packages in 128.73s
        
        20 packages are looking for funding
          run `npm fund` for details
        
        pi@raspberrypi:/opt/iobroker $
        
        
        birdy 1 Reply Last reply Reply Quote 0
        • birdy
          birdy @birdy last edited by

          @birdy

          WOW!!!

          Der Adapter ist auf 1.2.1!!!

          Thomas Braun 1 Reply Last reply Reply Quote 1
          • Thomas Braun
            Thomas Braun Most Active @birdy last edited by

            @birdy
            Fein. Willst du jetzt den canvas-Kram auch noch versuchen gerade zu ziehen?

            sudo apt install libgdcm2-dev
            
            birdy 1 Reply Last reply Reply Quote 0
            • birdy
              birdy @Thomas Braun last edited by

              @Thomas-Braun said in Zigbee Instanz rot nach node.js Update auf v12.18.4:

              @birdy
              Fein. Willst du jetzt den canvas-Kram auch noch versuchen gerade zu ziehen?

              sudo apt install libgdcm2-dev
              

              Gerne, wenn du noch die Nerven hast... 🙂

              pi@raspberrypi:/opt/iobroker $ sudo apt install libgdcm2-dev
              Paketlisten werden gelesen... Fertig
              Abhängigkeitsbaum wird aufgebaut.
              Statusinformationen werden eingelesen.... Fertig
              Das folgende Paket wurde automatisch installiert und wird nicht mehr benötigt:
                realpath
              Verwenden Sie »sudo apt autoremove«, um es zu entfernen.
              The following additional packages will be installed:
                libcharls1 libgdcm2.6 libjson-c3 libsocket++1
              Die folgenden NEUEN Pakete werden installiert:
                libcharls1 libgdcm2-dev libgdcm2.6 libjson-c3 libsocket++1
              0 aktualisiert, 5 neu installiert, 0 zu entfernen und 7 nicht aktualisiert.
              Es müssen 1.977 kB an Archiven heruntergeladen werden.
              Nach dieser Operation werden 12,5 MB Plattenplatz zusätzlich benutzt.
              Möchten Sie fortfahren? [J/n] J
              Holen:1 http://mirror.inode.at/raspbian/raspbian stretch/main armhf libsocket++1 armhf 1.12.13-8 [35,9 kB]
              Holen:2 http://mirror.inode.at/raspbian/raspbian stretch/main armhf libcharls1 armhf 1.1.0+dfsg-2 [45,1 kB]
              Holen:3 http://mirror.inode.at/raspbian/raspbian stretch/main armhf libjson-c3 armhf 0.12.1-1.1+deb9u1 [24,3 kB]
              Holen:4 http://mirror.inode.at/raspbian/raspbian stretch/main armhf libgdcm2.6 armhf 2.6.6-3 [1.613 kB]
              Holen:5 http://mirror.inode.at/raspbian/raspbian stretch/main armhf libgdcm2-dev armhf 2.6.6-3 [259 kB]
              Es wurden 1.977 kB in 1 s geholt (1.586 kB/s).
              Vormals nicht ausgewähltes Paket libsocket++1:armhf wird gewählt.
              (Lese Datenbank ... 126983 Dateien und Verzeichnisse sind derzeit installiert.)
              Vorbereitung zum Entpacken von .../libsocket++1_1.12.13-8_armhf.deb ...
              Entpacken von libsocket++1:armhf (1.12.13-8) ...
              Vormals nicht ausgewähltes Paket libcharls1:armhf wird gewählt.
              Vorbereitung zum Entpacken von .../libcharls1_1.1.0+dfsg-2_armhf.deb ...
              Entpacken von libcharls1:armhf (1.1.0+dfsg-2) ...
              Vormals nicht ausgewähltes Paket libjson-c3:armhf wird gewählt.
              Vorbereitung zum Entpacken von .../libjson-c3_0.12.1-1.1+deb9u1_armhf.deb ...
              Entpacken von libjson-c3:armhf (0.12.1-1.1+deb9u1) ...
              Vormals nicht ausgewähltes Paket libgdcm2.6:armhf wird gewählt.
              Vorbereitung zum Entpacken von .../libgdcm2.6_2.6.6-3_armhf.deb ...
              Entpacken von libgdcm2.6:armhf (2.6.6-3) ...
              Vormals nicht ausgewähltes Paket libgdcm2-dev wird gewählt.
              Vorbereitung zum Entpacken von .../libgdcm2-dev_2.6.6-3_armhf.deb ...
              Entpacken von libgdcm2-dev (2.6.6-3) ...
              libjson-c3:armhf (0.12.1-1.1+deb9u1) wird eingerichtet ...
              libcharls1:armhf (1.1.0+dfsg-2) wird eingerichtet ...
              libsocket++1:armhf (1.12.13-8) wird eingerichtet ...
              Trigger für libc-bin (2.24-11+deb9u4) werden verarbeitet ...
              libgdcm2.6:armhf (2.6.6-3) wird eingerichtet ...
              libgdcm2-dev (2.6.6-3) wird eingerichtet ...
              Trigger für libc-bin (2.24-11+deb9u4) werden verarbeitet ...
              pi@raspberrypi:/opt/iobroker $
              
              
              Thomas Braun 1 Reply Last reply Reply Quote 0
              • Thomas Braun
                Thomas Braun Most Active @birdy last edited by

                @birdy
                Da hängt aber noch mehr in der Pipeline.

                sudo apt update
                sudo apt dist-upgrade
                
                birdy 1 Reply Last reply Reply Quote 0
                • birdy
                  birdy @Thomas Braun last edited by

                  @Thomas-Braun

                  Aktuelisiert gerade...

                  Zu Zigbee noch eine Frage... Muss ich da nicht eine USB-Nummer eingeben? Ich erinnere mich da dunkel...

                  Thomas Braun 1 Reply Last reply Reply Quote 0
                  • Thomas Braun
                    Thomas Braun Most Active @birdy last edited by Thomas Braun

                    @birdy
                    Die Gerätedatei für den com-Port muss man angeben.
                    Ist meist irgendwas um /dev/ttyS0 oder /dev/ttyAMA0
                    Hängt vom Zigbee-Stick ab.
                    Nach dem apt dist-upgrade am besten mal

                    sudo reboot
                    
                    birdy 1 Reply Last reply Reply Quote 0
                    • birdy
                      birdy @Thomas Braun last edited by

                      @Thomas-Braun

                      So, reboot durchgeführt... Gibt es noch etwas, das ich tun kann?

                      Thomas Braun 1 Reply Last reply Reply Quote 0
                      • Thomas Braun
                        Thomas Braun Most Active @birdy last edited by

                        @birdy

                        sudo apt update
                        

                        sagt jetzt, dass alle Pakete aktuell seien? Oder wird da noch was zurückgehalten?

                        birdy 1 Reply Last reply Reply Quote 0
                        • birdy
                          birdy @Thomas Braun last edited by

                          @Thomas-Braun said in Zigbee Instanz rot nach node.js Update auf v12.18.4:

                          @birdy

                          sudo apt update
                          

                          sagt jetzt, dass alle Pakete aktuell seien? Oder wird da noch was zurückgehalten?

                          pi@raspberrypi:~ $ sudo apt update
                          OK:1 http://archive.raspberrypi.org/debian stretch InRelease
                          OK:2 http://raspbian.raspberrypi.org/raspbian stretch InRelease
                          OK:3 https://deb.nodesource.com/node_12.x stretch InRelease
                          Paketlisten werden gelesen... Fertig
                          Abhängigkeitsbaum wird aufgebaut.
                          Statusinformationen werden eingelesen.... Fertig
                          Alle Pakete sind aktuell.
                          
                          Thomas Braun 1 Reply Last reply Reply Quote 0
                          • Thomas Braun
                            Thomas Braun Most Active @birdy last edited by Thomas Braun

                            @birdy
                            Gut, passt.
                            Jetzt müssen wir nochmal nach 'canvas' schauen.

                            cd /opt/iobroker
                            npm i canvas
                            
                            birdy 1 Reply Last reply Reply Quote 0
                            • birdy
                              birdy @Thomas Braun last edited by

                              @Thomas-Braun said in Zigbee Instanz rot nach node.js Update auf v12.18.4:

                              @birdy
                              Gut, passt.
                              Jetzt müssen wir nochmal nach 'canvas' schauen.

                              cd /opt/iobroker
                              npm i canvas
                              

                              Da scheint noch was im Argen zu sein...

                              pi@raspberrypi:~ $ cd /opt/iobroker
                              pi@raspberrypi:/opt/iobroker $ npm i canvas
                              
                              > canvas@2.6.1 install /opt/iobroker/node_modules/canvas
                              > node-pre-gyp install --fallback-to-build
                              
                              node-pre-gyp WARN Using request for node-pre-gyp https download
                              node-pre-gyp WARN Tried to download(404): https://github.com/node-gfx/node-canvas-prebuilt/releases/download/v2.6.1/canvas-v2.6.1-node-v72-linux-glibc-arm.tar.gz
                              node-pre-gyp WARN Pre-built binaries not found for canvas@2.6.1 and node@12.18.4 (node-v72 ABI, glibc) (falling back to source compile with node-gyp)
                              make: Verzeichnis „/opt/iobroker/node_modules/canvas/build“ wird betreten
                                SOLINK_MODULE(target) Release/obj.target/canvas-postbuild.node
                                COPY Release/canvas-postbuild.node
                                CXX(target) Release/obj.target/canvas/src/backend/Backend.o
                                CXX(target) Release/obj.target/canvas/src/backend/ImageBackend.o
                                CXX(target) Release/obj.target/canvas/src/backend/PdfBackend.o
                              In file included from ../src/backend/PdfBackend.h:4:0,
                                               from ../src/backend/PdfBackend.cc:1:
                              ../src/backend/../closure.h:6:21: fatal error: jpeglib.h: Datei oder Verzeichnis nicht gefunden
                               #include <jpeglib.h>
                                                   ^
                              compilation terminated.
                              canvas.target.mk:142: die Regel für Ziel „Release/obj.target/canvas/src/backend/PdfBackend.o“ scheiterte
                              make: *** [Release/obj.target/canvas/src/backend/PdfBackend.o] Fehler 1
                              make: Verzeichnis „/opt/iobroker/node_modules/canvas/build“ wird verlassen
                              gyp ERR! build error
                              gyp ERR! stack Error: `make` failed with exit code: 2
                              gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
                              gyp ERR! stack     at ChildProcess.emit (events.js:315:20)
                              gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
                              gyp ERR! System Linux 4.19.66-v7+
                              gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/opt/iobroker/node_modules/canvas/build/Release/canvas.node" "--module_name=canvas" "--module_path=/opt/iobroker/node_modules/canvas/build/Release" "--napi_version=6" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v72"
                              gyp ERR! cwd /opt/iobroker/node_modules/canvas
                              gyp ERR! node -v v12.18.4
                              gyp ERR! node-gyp -v v5.1.0
                              gyp ERR! not ok
                              node-pre-gyp ERR! build error
                              node-pre-gyp ERR! stack Error: Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/opt/iobroker/node_modules/canvas/build/Release/canvas.node --module_name=canvas --module_path=/opt/iobroker/node_modules/canvas/build/Release --napi_version=6 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v72' (1)
                              node-pre-gyp ERR! stack     at ChildProcess.<anonymous> (/opt/iobroker/node_modules/canvas/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
                              node-pre-gyp ERR! stack     at ChildProcess.emit (events.js:315:20)
                              node-pre-gyp ERR! stack     at maybeClose (internal/child_process.js:1021:16)
                              node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:286:5)
                              node-pre-gyp ERR! System Linux 4.19.66-v7+
                              node-pre-gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/canvas/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
                              node-pre-gyp ERR! cwd /opt/iobroker/node_modules/canvas
                              node-pre-gyp ERR! node -v v12.18.4
                              node-pre-gyp ERR! node-pre-gyp -v v0.11.0
                              node-pre-gyp ERR! not ok
                              Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/opt/iobroker/node_modules/canvas/build/Release/canvas.node --module_name=canvas --module_path=/opt/iobroker/node_modules/canvas/build/Release --napi_version=6 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v72' (1)
                              npm ERR! code ELIFECYCLE
                              npm ERR! errno 1
                              npm ERR! canvas@2.6.1 install: `node-pre-gyp install --fallback-to-build`
                              npm ERR! Exit status 1
                              npm ERR!
                              npm ERR! Failed at the canvas@2.6.1 install script.
                              npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
                              
                              npm ERR! A complete log of this run can be found in:
                              npm ERR!     /home/iobroker/.npm/_logs/2020-09-20T19_00_07_883Z-debug.log
                              pi@raspberrypi:/opt/iobroker $
                              
                              
                              Thomas Braun 1 Reply Last reply Reply Quote 0
                              • Thomas Braun
                                Thomas Braun Most Active @birdy last edited by

                                @birdy sagte in Zigbee Instanz rot nach node.js Update auf v12.18.4:

                                jpeglib.h

                                apt policy libgdcm2-dev
                                
                                birdy 1 Reply Last reply Reply Quote 0
                                • birdy
                                  birdy @Thomas Braun last edited by

                                  @Thomas-Braun said in Zigbee Instanz rot nach node.js Update auf v12.18.4:

                                  @birdy sagte in Zigbee Instanz rot nach node.js Update auf v12.18.4:

                                  jpeglib.h

                                  apt policy libgdcm2-dev
                                  
                                  pi@raspberrypi:/opt/iobroker $ apt policy libgdcm2-dev
                                  libgdcm2-dev:
                                    Installiert:           2.6.6-3
                                    Installationskandidat: 2.6.6-3
                                    Versionstabelle:
                                   *** 2.6.6-3 500
                                          500 http://raspbian.raspberrypi.org/raspbian stretch/main armhf Packages
                                          100 /var/lib/dpkg/status
                                  pi@raspberrypi:/opt/iobroker $
                                  
                                  
                                  Thomas Braun 1 Reply Last reply Reply Quote 0
                                  • Thomas Braun
                                    Thomas Braun Most Active @birdy last edited by

                                    @birdy

                                    sudo apt install build-essential libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev 
                                    
                                    birdy 1 Reply Last reply Reply Quote 0
                                    • birdy
                                      birdy @Thomas Braun last edited by

                                      @Thomas-Braun said in Zigbee Instanz rot nach node.js Update auf v12.18.4:

                                      @birdy

                                      sudo apt install build-essential libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev 
                                      
                                      pi@raspberrypi:/opt/iobroker $ sudo apt install build-essential libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev
                                      Paketlisten werden gelesen... Fertig
                                      Abhängigkeitsbaum wird aufgebaut.
                                      Statusinformationen werden eingelesen.... Fertig
                                      build-essential ist schon die neueste Version (12.3).
                                      libpango1.0-dev ist schon die neueste Version (1.40.5-1).
                                      libcairo2-dev ist schon die neueste Version (1.14.8-1+rpi1).
                                      Die folgenden Pakete wurden automatisch installiert und werden nicht mehr benötigt:
                                        coinor-libipopt1v5 libmumps-seq-4.10.0 libraw15 realpath
                                      Verwenden Sie »sudo apt autoremove«, um sie zu entfernen.
                                      Vorgeschlagene Pakete:
                                        librsvg2-doc
                                      Die folgenden NEUEN Pakete werden installiert:
                                        gir1.2-rsvg-2.0 libgdk-pixbuf2.0-dev libgif-dev libjpeg-dev
                                        libjpeg62-turbo-dev librsvg2-dev
                                      0 aktualisiert, 6 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
                                      Es müssen 447 kB an Archiven heruntergeladen werden.
                                      Nach dieser Operation werden 1.409 kB Plattenplatz zusätzlich benutzt.
                                      Holen:1 http://mirror.inode.at/raspbian/raspbian stretch/main armhf gir1.2-rsvg-2.0 armhf 2.40.21-0+deb9u1 [15,3 kB]
                                      Holen:2 http://mirror.inode.at/raspbian/raspbian stretch/main armhf libgdk-pixbuf2.0-dev armhf 2.36.5-2+deb9u2 [53,8 kB]
                                      Holen:3 http://mirror.inode.at/raspbian/raspbian stretch/main armhf libgif-dev armhf 5.1.4-0.4 [43,0 kB]
                                      Holen:4 http://mirror.inode.at/raspbian/raspbian stretch/main armhf libjpeg62-turbo-dev armhf 1:1.5.1-2+deb9u1 [179 kB]
                                      Holen:5 http://mirror.inode.at/raspbian/raspbian stretch/main armhf libjpeg-dev all 1:1.5.1-2+deb9u1 [56,5 kB]
                                      Holen:6 http://mirror.inode.at/raspbian/raspbian stretch/main armhf librsvg2-dev armhf 2.40.21-0+deb9u1 [99,4 kB]
                                      Es wurden 447 kB in 1 s geholt (338 kB/s).
                                      Vormals nicht ausgewähltes Paket gir1.2-rsvg-2.0:armhf wird gewählt.
                                      (Lese Datenbank ... 133212 Dateien und Verzeichnisse sind derzeit installiert.)
                                      Vorbereitung zum Entpacken von .../0-gir1.2-rsvg-2.0_2.40.21-0+deb9u1_armhf.deb ...
                                      Entpacken von gir1.2-rsvg-2.0:armhf (2.40.21-0+deb9u1) ...
                                      Vormals nicht ausgewähltes Paket libgdk-pixbuf2.0-dev wird gewählt.
                                      Vorbereitung zum Entpacken von .../1-libgdk-pixbuf2.0-dev_2.36.5-2+deb9u2_armhf.deb ...
                                      Entpacken von libgdk-pixbuf2.0-dev (2.36.5-2+deb9u2) ...
                                      Vormals nicht ausgewähltes Paket libgif-dev wird gewählt.
                                      Vorbereitung zum Entpacken von .../2-libgif-dev_5.1.4-0.4_armhf.deb ...
                                      Entpacken von libgif-dev (5.1.4-0.4) ...
                                      Vormals nicht ausgewähltes Paket libjpeg62-turbo-dev:armhf wird gewählt.
                                      Vorbereitung zum Entpacken von .../3-libjpeg62-turbo-dev_1%3a1.5.1-2+deb9u1_armhf.deb ...
                                      Entpacken von libjpeg62-turbo-dev:armhf (1:1.5.1-2+deb9u1) ...
                                      Vormals nicht ausgewähltes Paket libjpeg-dev wird gewählt.
                                      Vorbereitung zum Entpacken von .../4-libjpeg-dev_1%3a1.5.1-2+deb9u1_all.deb ...
                                      Entpacken von libjpeg-dev (1:1.5.1-2+deb9u1) ...
                                      Vormals nicht ausgewähltes Paket librsvg2-dev:armhf wird gewählt.
                                      Vorbereitung zum Entpacken von .../5-librsvg2-dev_2.40.21-0+deb9u1_armhf.deb ...
                                      Entpacken von librsvg2-dev:armhf (2.40.21-0+deb9u1) ...
                                      libgif-dev (5.1.4-0.4) wird eingerichtet ...
                                      libgdk-pixbuf2.0-dev (2.36.5-2+deb9u2) wird eingerichtet ...
                                      gir1.2-rsvg-2.0:armhf (2.40.21-0+deb9u1) wird eingerichtet ...
                                      Trigger für man-db (2.7.6.1-2) werden verarbeitet ...
                                      libjpeg62-turbo-dev:armhf (1:1.5.1-2+deb9u1) wird eingerichtet ...
                                      librsvg2-dev:armhf (2.40.21-0+deb9u1) wird eingerichtet ...
                                      libjpeg-dev (1:1.5.1-2+deb9u1) wird eingerichtet ...
                                      pi@raspberrypi:/opt/iobroker $
                                      
                                      
                                      Thomas Braun 2 Replies Last reply Reply Quote 0
                                      • Thomas Braun
                                        Thomas Braun Most Active @birdy last edited by

                                        @birdy
                                        Dann schau nochmal, ob canvas nun baut:

                                        cd /opt/iobroker
                                        npm i canvas
                                        
                                        1 Reply Last reply Reply Quote 0
                                        • Thomas Braun
                                          Thomas Braun Most Active @birdy last edited by

                                          @birdy

                                          sudo apt autoremove
                                          

                                          haut die Meldungen über die nicht mehr benötigten Pakete weg.

                                          birdy 2 Replies Last reply Reply Quote 0
                                          • birdy
                                            birdy @Thomas Braun last edited by

                                            @Thomas-Braun said in Zigbee Instanz rot nach node.js Update auf v12.18.4:

                                            @birdy

                                            sudo apt autoremove
                                            

                                            haut die Meldungen über die nicht mehr benötigten Pakete weg.

                                            Schaut gut aus...

                                            pi@raspberrypi:/opt/iobroker $ npm i canvas
                                            
                                            > canvas@2.6.1 install /opt/iobroker/node_modules/canvas
                                            > node-pre-gyp install --fallback-to-build
                                            
                                            node-pre-gyp WARN Using request for node-pre-gyp https download
                                            node-pre-gyp WARN Tried to download(404): https://github.com/node-gfx/node-canvas-prebuilt/releases/download/v2.6.1/canvas-v2.6.1-node-v72-linux-glibc-arm.tar.gz
                                            node-pre-gyp WARN Pre-built binaries not found for canvas@2.6.1 and node@12.18.4 (node-v72 ABI, glibc) (falling back to source compile with node-gyp)
                                            make: Verzeichnis „/opt/iobroker/node_modules/canvas/build“ wird betreten
                                              SOLINK_MODULE(target) Release/obj.target/canvas-postbuild.node
                                              COPY Release/canvas-postbuild.node
                                              CXX(target) Release/obj.target/canvas/src/backend/Backend.o
                                              CXX(target) Release/obj.target/canvas/src/backend/ImageBackend.o
                                              CXX(target) Release/obj.target/canvas/src/backend/PdfBackend.o
                                              CXX(target) Release/obj.target/canvas/src/backend/SvgBackend.o
                                              CXX(target) Release/obj.target/canvas/src/bmp/BMPParser.o
                                            ../src/bmp/BMPParser.cc: In member function ‘void BMPParser::Parser::parse(uint8_t*, int, uint8_t*)’:
                                            ../src/bmp/BMPParser.cc:189:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                                               E(ptr - data > imgdOffset, "image data overlaps with another structure");
                                                 ~~~~~~~~~~~^~~
                                            ../src/bmp/BMPParser.cc:10:25: note: in definition of macro ‘E’
                                             #define E(cond, msg) if(cond) return setErr(msg)
                                                                     ^~~~
                                            ../src/bmp/BMPParser.cc:204:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                                               E(ptr - data + imgdSize > len, "not enough image data");
                                                 ~~~~~~~~~~~~~~~~~~~~~~^~~
                                            ../src/bmp/BMPParser.cc:10:25: note: in definition of macro ‘E’
                                             #define E(cond, msg) if(cond) return setErr(msg)
                                                                     ^~~~
                                              CXX(target) Release/obj.target/canvas/src/Backends.o
                                              CXX(target) Release/obj.target/canvas/src/Canvas.o
                                            ../src/Canvas.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE Canvas::ToBuffer(Nan::NAN_METHOD_ARGS_TYPE)’:
                                            ../src/Canvas.cc:415:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                                                 if (canvas->nBytes() > node::Buffer::kMaxLength) {
                                                     ~~~~~~~~~~~~~~~~~^~~~~~
                                              CXX(target) Release/obj.target/canvas/src/CanvasGradient.o
                                              CXX(target) Release/obj.target/canvas/src/CanvasPattern.o
                                              CXX(target) Release/obj.target/canvas/src/CanvasRenderingContext2d.o
                                              CXX(target) Release/obj.target/canvas/src/closure.o
                                              CXX(target) Release/obj.target/canvas/src/color.o
                                              CXX(target) Release/obj.target/canvas/src/Image.o
                                              CXX(target) Release/obj.target/canvas/src/ImageData.o
                                              CXX(target) Release/obj.target/canvas/src/init.o
                                              CXX(target) Release/obj.target/canvas/src/register_font.o
                                              SOLINK_MODULE(target) Release/obj.target/canvas.node
                                              COPY Release/canvas.node
                                            make: Verzeichnis „/opt/iobroker/node_modules/canvas/build“ wird verlassen
                                            + canvas@2.6.1
                                            added 6 packages from 15 contributors in 176.083s
                                            
                                            20 packages are looking for funding
                                              run `npm fund` for details
                                            
                                            pi@raspberrypi:/opt/iobroker $
                                            
                                            
                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            942
                                            Online

                                            31.9k
                                            Users

                                            80.2k
                                            Topics

                                            1.3m
                                            Posts

                                            zigbee
                                            5
                                            95
                                            5658
                                            Loading More Posts
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            Community
                                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                            The ioBroker Community 2014-2023
                                            logo