Skip to content


Build failed: -> task failed (err #2) on Redhat EL 4 #1432

jangid opened this Issue · 4 comments

2 participants


I have tried this with both the versions 0.4.10 and 0.5.2.

[pankajj@lnx-opsdev node-v0.5.2]$ ./configure --prefix=/tools/nodejs/0.5.2/lnx86
Checking for program g++ or c++ : g++
Checking for program cpp : /usr/bin/cpp
Checking for program ar : /usr/bin/ar
Checking for program ranlib : /usr/bin/ranlib
Checking for g++ : ok
Checking for program gcc or cc : gcc
Checking for gcc : ok
Checking for library dl : yes
Checking for openssl : yes
Checking for library util : yes
Checking for library rt : yes
Checking for CLOCK_MONOTONIC : yes
Checking for fdatasync(2) with c++ : yes
'configure' finished successfully (0.784s)

[pankajj@lnx-opsdev node-v0.5.2]$ make
Waf: Leaving directory `/lan/ops/cdnshelp/cops/tools/confluence_work/nodejs/node-v0.5.2/build'
Build failed: -> task failed (err #2):
{task: libv8.a SConstruct -> libv8.a}
make: *** [program] Error 1


Both the builds (0.4.10 and 0.5.2) work fine on Redhat EL 5. The problem is occurring only on Redhat 4.

Node.js Foundation member

Can you post the full build log? You snipped the part that contains the actual error. Can you post the output of uname -a, g++ -v and yum list glibc too?


Earlier I ran configure on RH 5. But I just discovered that configure itself is not running on RH 4. Here is the log of configure,

[pankajj@lnx-opsdev node-v0.5.2]$ ./configure
Traceback (most recent call last):
File "/lan/ops/cdnshelp/cops/tools/confluence_work/nodejs/node-v0.5.2/tools/waf-light", line 157, in ?
import Scripting
File "/lan/ops/cdnshelp/cops/tools/confluence_work/nodejs/node-v0.5.2/tools/wafadmin/", line 9, in ?
import Utils, Configure, Build, Logs, Options, Environment, Task
File "/lan/ops/cdnshelp/cops/tools/confluence_work/nodejs/node-v0.5.2/tools/wafadmin/", line 18, in ?
import Runner, TaskGen, Node, Scripting, Utils, Environment, Task, Logs, Options
File "/lan/ops/cdnshelp/cops/tools/confluence_work/nodejs/node-v0.5.2/tools/wafadmin/", line 54, in ?
class task_gen(object):
File "/lan/ops/cdnshelp/cops/tools/confluence_work/nodejs/node-v0.5.2/tools/wafadmin/", line 87, in task_gen
traits = Utils.DefaultDict(set)
NameError: name 'set' is not defined

[pankajj@lnx-opsdev node-v0.5.2]$ uname -a
Linux lnx-opsdev 2.6.9-67.0.10.ELsmp #1 SMP Wed Mar 19 06:12:05 EDT 2008 x86_64 x86_64 x86_64 GNU/Linux

[pankajj@lnx-opsdev node-v0.5.2]$ g++ -v
Reading specs from /usr/lib/gcc/x86_64-redhat-linux/3.4.6/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-java-awt=gtk --host=x86_64-redhat-linux
Thread model: posix
gcc version 3.4.6 20060404 (Red Hat 3.4.6-9)

yup is not there on RH 4.

Node.js Foundation member

@jangid: You'll need at least python 2.5.2 to build node. Your kernel is also borderline obsolete: it should work but it won't be as performant as a 2.6.3x kernel.

@bnoordhuis bnoordhuis closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.