Skip to content

Instantly share code, notes, and snippets.

@lra
Created December 18, 2013 00:51
Show Gist options
  • Save lra/8015561 to your computer and use it in GitHub Desktop.
Save lra/8015561 to your computer and use it in GitHub Desktop.
lolo:~ laurent$ brew install -v node 2>&1
==> Downloading http://nodejs.org/dist/v0.10.23/node-v0.10.23.tar.gz
Already downloaded: /Library/Caches/Homebrew/node-0.10.23.tar.gz
==> Verifying node-0.10.23.tar.gz checksum
tar xf /Library/Caches/Homebrew/node-0.10.23.tar.gz
==> Patching
/usr/bin/patch -f -p1 -i 000-homebrew.diff
patching file tools/gyp/pylib/gyp/xcode_emulation.py
==> ./configure --prefix=/usr/local/Cellar/node/0.10.23
xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance
xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance
gyp: Error 1 running xcodebuild
Error running GYP
{ 'target_defaults': { 'cflags': [],
'default_configuration': 'Release',
'defines': [],
'include_dirs': [],
'libraries': []},
'variables': { 'clang': 1,
'host_arch': 'x64',
'node_install_npm': 'true',
'node_prefix': '/usr/local/Cellar/node/0.10.23',
'node_shared_cares': 'false',
'node_shared_http_parser': 'false',
'node_shared_libuv': 'false',
'node_shared_openssl': 'false',
'node_shared_v8': 'false',
'node_shared_zlib': 'false',
'node_tag': '',
'node_unsafe_optimizations': 0,
'node_use_dtrace': 'true',
'node_use_etw': 'false',
'node_use_openssl': 'true',
'node_use_perfctr': 'false',
'python': '/usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python',
'target_arch': 'x64',
'v8_enable_gdbjit': 0,
'v8_no_strict_aliasing': 1,
'v8_use_snapshot': 'true'}}
creating ./config.gypi
creating ./config.mk
==> make install
/Library/Developer/CommandLineTools/usr/bin/make -C out BUILDTYPE=Release V=1
make[1]: Nothing to be done for `all'.
ln -fs out/Release/node node
/usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python tools/install.py install
installing /usr/local/Cellar/node/0.10.23/bin/node
Traceback (most recent call last):
File "tools/install.py", line 156, in <module>
run(sys.argv[:])
File "tools/install.py", line 151, in run
if cmd == 'install': return files(install)
File "tools/install.py", line 122, in files
action(['out/Release/node'], 'bin/node')
File "tools/install.py", line 79, in install
def install(paths, dst): map(lambda path: try_copy(path, dst), paths)
File "tools/install.py", line 79, in <lambda>
def install(paths, dst): map(lambda path: try_copy(path, dst), paths)
File "tools/install.py", line 71, in try_copy
return shutil.copy2(source_path, target_path)
File "/usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/python2.7/shutil.py", line 130, in copy2
copyfile(src, dst)
File "/usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/python2.7/shutil.py", line 82, in copyfile
with open(src, 'rb') as fsrc:
IOError: [Errno 2] No such file or directory: 'out/Release/node'
make: *** [install] Error 1
==> Configuration
HOMEBREW_VERSION: 0.9.5
HEAD: 3c3155dfdf86e0fe03fbee075d1e61d31988d2e3
CPU: quad-core 64-bit ivybridge
OS X: 10.9.1-x86_64
CLT: 5.0.1.0.1.1382131676
X11: N/A
==> ENV
HOMEBREW_CC: clang
HOMEBREW_CXX: clang++
MAKEFLAGS: -j4
CMAKE_PREFIX_PATH: /usr/local
CMAKE_INCLUDE_PATH: /usr/include/libxml2:/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers:/usr/local/opt/python/Frameworks/Python.framework/Versions/2.7/Headers
CMAKE_LIBRARY_PATH: /System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries
PKG_CONFIG_PATH: /usr/local/opt/python/Frameworks/Python.framework/Versions/2.7/lib/pkgconfig
PKG_CONFIG_LIBDIR: /usr/lib/pkgconfig:/usr/local/Library/ENV/pkgconfig/10.9
HOMEBREW_VERBOSE: 1
ACLOCAL_PATH: /usr/local/share/aclocal
PATH: /usr/local/opt/python/bin:/usr/local/Library/ENV/4.3:/usr/bin:/bin:/usr/sbin:/sbin
Error: node did not build
Logs:
/Users/laurent/Library/Logs/Homebrew/node/01.configure
/Users/laurent/Library/Logs/Homebrew/node/01.configure.cc
/Users/laurent/Library/Logs/Homebrew/node/02.make
These open issues may also help:
https://github.com/Homebrew/homebrew/issues/25294
https://github.com/Homebrew/homebrew/pull/25218
https://github.com/Homebrew/homebrew/issues/24465
https://github.com/Homebrew/homebrew/pull/25159
https://github.com/Homebrew/homebrew/issues/17680
https://github.com/Homebrew/homebrew/issues/23360
https://github.com/Homebrew/homebrew/issues/5722
https://github.com/Homebrew/homebrew/pull/24230
https://github.com/Homebrew/homebrew/pull/25158
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment