compile node.js 6.3 failed in Linux 2.6.9

43 views
Skip to first unread message

Odin Liu

unread,
Dec 28, 2011, 12:13:37 AM12/28/11
to nodejs
Hi, all

Our productive environment is Linux with Kernel 2.6.9. When I tried to
compile node.js 6.3, it reported "src/unix/linux.c:30:25: sys/
inotify.h: No such file or directory". I found that inotify is a new
library since kernel 2.6.13, so it cannot be found in 2.6.9.

So I wonder if there is a way to make node.js 6.3(or higher) work with
linux 2.6.9?

Ben Noordhuis

unread,
Dec 28, 2011, 8:35:21 AM12/28/11
to nod...@googlegroups.com

Yes. Upgrade the bundled libuv to commit d808cf9[1] or newer.

[1] https://github.com/joyent/libuv/commit/d808cf9

Egor Egorov

unread,
Dec 29, 2011, 7:42:00 AM12/29/11
to nod...@googlegroups.com
Not unless you will be using the web application in MSIE6. :-) 

Yiding Liu

unread,
Dec 30, 2011, 10:44:13 PM12/30/11
to nod...@googlegroups.com
Thanks very much. It works.


--
Job Board: http://jobs.nodejs.org/
Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to nod...@googlegroups.com
To unsubscribe from this group, send email to
nodejs+un...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en



--
Liu Yiding (Odin)
RD Engineer
Data mining, Recommender system, Vertical search

Reply all
Reply to author
Forward
0 new messages