node icon indicating copy to clipboard operation
node copied to clipboard

Have error when build source io.js

Open letiennam29 opened this issue 11 years ago β€’ 4 comments

Hi every body. I take a error occurs during building

In file included from ../src/async-wrap.cc:22:0: ../src/async-wrap.h:69:29: error: expected β€˜;’ at end of member declaration ../src/async-wrap.h:69:31: error: β€˜override’ does not name a type

when build io.js form source git I have build the steps: step1: get clone https://github.com/iojs/io.js.git step2: ./configure step3: make (at error here)

letiennam29 avatar Dec 12 '14 09:12 letiennam29

I expect that your compiler is too old. If it's g++, try 4.8 or 4.9.

bnoordhuis avatar Dec 12 '14 12:12 bnoordhuis

The prerequisites, from the README:

Prerequisites (Unix only):

* `gcc` and `g++` 4.8 or newer, or
* `clang` and `clang++` 3.3 or newer
* Python 2.6 or 2.7
* GNU Make 3.81 or newer
* libexecinfo (FreeBSD and OpenBSD only)

bnoordhuis avatar Dec 12 '14 12:12 bnoordhuis

@bnoordhuis tks very much!!

letiennam29 avatar Dec 13 '14 06:12 letiennam29

No problem. :-)

bnoordhuis avatar Dec 13 '14 12:12 bnoordhuis