Skip to content

Instantly share code, notes, and snippets.

@granteagon
Created August 8, 2012 20:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save granteagon/3298450 to your computer and use it in GitHub Desktop.
Save granteagon/3298450 to your computer and use it in GitHub Desktop.
brew install node fails Lion
Grants-MacBook-Air:Time Machine grant$ brew install node
==> Downloading http://nodejs.org/dist/v0.8.6/node-v0.8.6.tar.gz
Already downloaded: /Users/grant/Library/Caches/Homebrew/node-0.8.6.tar.gz
==> ./configure --prefix=/usr/local/Cellar/node/0.8.6 --without-npm
==> make install
make -C out BUILDTYPE=Release V=1
make[1]: Nothing to be done for `all'.
ln -fs out/Release/node node
python tools/install.py install
installing /usr/local/Cellar/node/0.8.6/include/node/ares.h
installing /usr/local/Cellar/node/0.8.6/include/node/ares_version.h
installing /usr/local/Cellar/node/0.8.6/include/node/uv.h
installing /usr/local/Cellar/node/0.8.6/include/node/v8-debug.h
installing /usr/local/Cellar/node/0.8.6/include/node/v8-preparser.h
installing /usr/local/Cellar/node/0.8.6/include/node/v8-profiler.h
installing /usr/local/Cellar/node/0.8.6/include/node/v8-testing.h
installing /usr/local/Cellar/node/0.8.6/include/node/v8.h
installing /usr/local/Cellar/node/0.8.6/include/node/v8stdint.h
installing /usr/local/Cellar/node/0.8.6/include/node/eio-emul.h
installing /usr/local/Cellar/node/0.8.6/include/node/ev-emul.h
installing /usr/local/Cellar/node/0.8.6/include/node/node.h
installing /usr/local/Cellar/node/0.8.6/include/node/node_buffer.h
installing /usr/local/Cellar/node/0.8.6/include/node/node_object_wrap.h
installing /usr/local/Cellar/node/0.8.6/include/node/node_version.h
installing /usr/local/Cellar/node/0.8.6/include/node/uv-private/eio.h
installing /usr/local/Cellar/node/0.8.6/include/node/uv-private/ev.h
installing /usr/local/Cellar/node/0.8.6/include/node/uv-private/ngx-queue.h
installing /usr/local/Cellar/node/0.8.6/include/node/uv-private/tree.h
installing /usr/local/Cellar/node/0.8.6/include/node/uv-private/uv-unix.h
installing /usr/local/Cellar/node/0.8.6/include/node/uv-private/uv-win.h
installing /usr/local/Cellar/node/0.8.6/share/man/man1/node.1
installing /usr/local/Cellar/node/0.8.6/bin/node
Traceback (most recent call last):
File "tools/install.py", line 225, in <module>
run(sys.argv[:])
File "tools/install.py", line 220, in run
if cmd == 'install': return files(install)
File "tools/install.py", line 195, in files
action(['out/Release/node'], 'bin/node')
File "tools/install.py", line 74, in install
def install(paths, dst): map(lambda path: try_copy(path, dst), paths)
File "tools/install.py", line 74, in <lambda>
def install(paths, dst): map(lambda path: try_copy(path, dst), paths)
File "tools/install.py", line 66, in try_copy
return shutil.copy2(source_path, target_path)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/shutil.py", line 127, in copy2
copyfile(src, dst)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/shutil.py", line 81, in copyfile
with open(src, 'rb') as fsrc:
IOError: [Errno 2] No such file or directory: 'out/Release/node'
make: *** [install] Error 1
==> Build Environment
HOMEBREW_VERSION: 0.9.2
HEAD: a97c8174e241bce9a4ec59e3c3c0843ec06378d1
CPU: quad-core 64-bit sandybridge
OS X: 10.7.3-x86_64
Xcode: 4.3.3
CLT: 4.3.0.0.1.1249367152
X11: XQuartz in /usr/X11
CC: /usr/bin/clang
CXX: /usr/bin/clang++ => /usr/bin/clang
LD: /usr/bin/clang
CFLAGS: -Os -w -pipe -march=native -Qunused-arguments -mmacosx-version-min=10.7
CXXFLAGS: -Os -w -pipe -march=native -Qunused-arguments -mmacosx-version-min=10.7
CPPFLAGS: -isystem /usr/local/include
LDFLAGS: -L/usr/local/lib
MAKEFLAGS: -j4
MACOSX_DEPLOYMENT_TARGET: 10.7
OBJC: /usr/bin/clang
PATH: /usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/usr/local/git/bin:/usr/local/Library/Contributions/cmds
@harrigan
Copy link

Hi, I am getting the same error as above when trying to install node -- were you able to get around this?

@harrigan
Copy link

Ok, this has been solved: Homebrew/legacy-homebrew#13337

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