您的位置:首页 > Web前端 > Node.js

Cubieboard CC-A80性能之Ubuntu Linaro编译安装Node.js

2015-11-06 13:18 781 查看
Cubieboard CC-A80性能之Ubuntu Linaro编译安装Node.js 。

作为一个喜欢后端的前端工程师,我还是主要玩儿Node.js的,所以我要给CC-A80安装Node.js。apt-get源安装的Node.js 版本太旧了,0.10.xx 。大家都知道,经过Node.js和io.js风波之后Node.js 版本号已经到了现在的5.0.0了,有很多的新特性,只能编译安装。

但是我还是想安装4.2.1,因为这个是最新的LTS版。 

安装步骤真的没啥可说的,下面粘贴一段文档吧

Prerequisites:

gcc
 and 
g++
 4.8
or newer, or

clang
 and 
clang++
 3.4
or newer

Python 2.6 or 2.7

GNU Make 3.81 or newer

libexecinfo (FreeBSD and OpenBSD only)

$ ./configure 
$ make 
$ [sudo] make install


If your Python binary is in a non-standard location or has a non-standard name, run the following instead:
$ export PYTHON=/path/to/python 
$ $PYTHON ./configure 
$ make 
$ [sudo] make install


我想说的是,安装过程真的好漫长好漫长,make过程慢的不行,和X86不是一个档次的。整个安装过程完全可以来两局Dota。

看来这个ARM架构还是比X86差很多?或许是全志的工艺不行呢?

本文首发于姜哥的墨迹技术博客(blog.mojijs.com)。

本文地址为http://blog.mojijs.com/post/161.html(blog.mojijs.com/post/161.html)。更多精彩请关注原文。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  ubuntu 性能 Cubieboard