Skip to content

Instantly share code, notes, and snippets.

@davidthelazar
Created January 2, 2013 17:17
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 davidthelazar/4436231 to your computer and use it in GitHub Desktop.
Save davidthelazar/4436231 to your computer and use it in GitHub Desktop.
Problem building python with Homebrew
==> Downloading http://pypi.python.org/packages/source/d/distribute/distribute-0.6.32.tar.gz
Already downloaded: /Library/Caches/Homebrew/distribute-0.6.32.tar.gz
/usr/bin/tar xf /Library/Caches/Homebrew/distribute-0.6.32.tar.gz
==> /usr/local/Cellar/python/2.7.3/bin/python -s setup.py --no-user-cfg install --force --verbose --install-lib=/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages --install-scripts=/usr/local/Cellar/python/2.7.3/bin
/usr/local/Cellar/python/2.7.3/bin/python -s setup.py --no-user-cfg install --force --verbose --install-lib=/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages --install-scripts=/usr/local/Cellar/python/2.7.3/bin
Before install bootstrap.
Scanning installed packages
Setuptools installation detected at /Library/Python/2.7/site-packages/setuptools-0.6c11-py2.7.egg
Egg installation
Patching...
Renaming /Library/Python/2.7/site-packages/setuptools-0.6c11-py2.7.egg to /Library/Python/2.7/site-packages/setuptools-0.6c11-py2.7.egg.OLD.1357145182.72
Traceback (most recent call last):
File "setup.py", line 136, in <module>
_before_install()
File "/private/tmp/__UNKNOWN__-XiLq/distribute-0.6.32/distribute_setup.py", line 371, in _before_install
_fake_setuptools()
File "/private/tmp/__UNKNOWN__-XiLq/distribute-0.6.32/distribute_setup.py", line 440, in _fake_setuptools
res = _patch_egg_dir(setuptools_location)
File "/private/tmp/__UNKNOWN__-XiLq/distribute-0.6.32/distribute_setup.py", line 231, in __no_sandbox
return function(*args, **kw)
File "/private/tmp/__UNKNOWN__-XiLq/distribute-0.6.32/distribute_setup.py", line 355, in _patch_egg_dir
_rename_path(path)
File "/private/tmp/__UNKNOWN__-XiLq/distribute-0.6.32/distribute_setup.py", line 266, in _rename_path
os.rename(path, new_name)
OSError: [Errno 13] Permission denied
==> Configuration
HOMEBREW_VERSION: 0.9.3
HEAD: 1e6e443ba12bb0bdd0ba8d99c2bdf7130e83f5a9
CPU: 8-core 64-bit sandybridge
OS X: 10.7.5-x86_64
Xcode: 4.5.2
CLT: 4.5.0.0.1.1249367152
X11: 2.6.4 => /usr/X11
==> ENV
CC: cc
CXX: c++
CMAKE_PREFIX_PATH: /usr/local/opt/readline:/usr/local
CMAKE_INCLUDE_PATH: /usr/include/libxml2:/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers/
CMAKE_LIBRARY_PATH: /System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries
PKG_CONFIG_PATH: /usr/local/lib/pkgconfig
ACLOCAL_PATH: /usr/local/share/aclocal
OBJC: cc
PATH: /usr/local/Library/ENV/4.3:/usr/local/opt/pkg-config/bin:/usr/local/opt/sqlite/bin:/usr/local/opt/gdbm/bin:/usr/bin:/bin:/usr/sbin:/sbin
Error: python did not build
Logs: /Users/dlazar/Library/Logs/Homebrew/python/config.log
These open issues may also help:
https://github.com/mxcl/homebrew/issues/16303
https://github.com/mxcl/homebrew/issues/16509
https://github.com/mxcl/homebrew/issues/16574
https://github.com/mxcl/homebrew/issues/16626
https://github.com/mxcl/homebrew/issues/16646
https://github.com/mxcl/homebrew/issues/16739
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment