Giinez
V2EX  ›  Node.js

求助 node.js 安装问题

  •  
  •   Giinez · Mar 23, 2014 · 4676 views
    This topic created in 4436 days ago, the information mentioned may be changed or developed.
    centos下,要安装的库都安装了,wget、tar zxvf之后,./configure老是提示这个问题:
    [root@me node-v0.10.26]# ./configure
    File "./configure", line 442
    fpu = 'vfpv3' if armv7 else 'vfpv2'
    ^
    SyntaxError: invalid syntax
    怎么破?有没有人遇到过?
    7 replies    1970-01-01 08:00:00 +08:00
    OrangeHat
        1
    OrangeHat  
       Mar 23, 2014
    可以参考下stackoverflow上的两个相关问题:
    1.node.js configure file syntax error line 433
    「链接」: http://stackoverflow.com/questions/14989164/node-js-configure-file-syntax-error-line-433

    2.Upgrade python without breaking yum
    「链接」: http://stackoverflow.com/questions/10624511/upgrade-python-without-breaking-yum
    sogood
        2
    sogood  
       Mar 23, 2014 via iPhone
    Node.js 用 nvm 安装就可以了,别自己编译。
    robertlyc
        3
    robertlyc  
       Mar 23, 2014
    nvm
    MingZhe
        4
    MingZhe  
       Mar 23, 2014
    楼上所说的nvm可以,或者直接用yum啊。。。多方便。。。
    rankjie
        5
    rankjie  
       Mar 23, 2014
    我现在都是用TJ大神的n,比nvm更简单好用: https://github.com/visionmedia/n
    Emory_M
        6
    Emory_M  
       Mar 23, 2014
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5538 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 168ms · UTC 07:20 · PVG 15:20 · LAX 00:20 · JFK 03:20
    ♥ Do have faith in what you're doing.