Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save lamnk/665173 to your computer and use it in GitHub Desktop.
Save lamnk/665173 to your computer and use it in GitHub Desktop.
Nodejs failed to built with python3 on Archlinux
[51/72] libv8.a: deps/v8/SConstruct -> build/default/libv8.a
python "/home/lamnk/builds/node/tools/scons/scons.py" -j 1 -C "/home/lamnk/builds/node/build/default/" -Y "/home/lamnk/builds/node/deps/v8" visibility=default mode=release arch=x64 library=static snapshot=on
Traceback (most recent call last):
File "/home/lamnk/builds/node/tools/scons/scons.py", line 128, in <module>
temp.extend(map(lambda x: os.path.join(x,
AttributeError: 'map' object has no attribute 'extend'
Waf: Leaving directory `/home/lamnk/builds/node/build'
Build failed: -> task failed (err #1):
{task: libv8.a SConstruct -> libv8.a}
make: *** [all] Error 1
@lamnk
Copy link
Author

lamnk commented Nov 6, 2010

Solution: link /usr/bin/python to python2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment