Node.js source code build giving segmentation fault on ARM

后端 未结 2 1359
日久生厌
日久生厌 2020-12-16 17:00

tl;dr: I tried to install node.js on my ARMv7-based Cubox running Ubuntu 12.10 (quantal). When compiling node.js from source (see \"Second attempt\" below), node

2条回答
  •  悲&欢浪女
    2020-12-16 17:42

    I had trouble building on a Samsung Chromebook XE303C12I with Crouton running Unity, even with --without-snapshot and --with-arm-float-abi=hard, so I used the precompiled binaries for Linux ARM devices.

    Binaries can be found in the release directory at nodejs.org/dist/{version number}

    For example, the ARM binary for v0.10.24 can be downloaded [here].(http://nodejs.org/dist/v0.10.24/node-v0.10.24-linux-arm-pi.tar.gz)

    Here's a script to download and install a binary. Once you have node installed, make sure to add path/to/bin/node to your $PATH.

提交回复
热议问题