os x compile, install?
rob.nikander at gmail.com
Wed Apr 28 08:09:12 CEST 2010
Python on my system is behaving badly, so I want to create a new
install from source code. I have OS X 10.6.2, I downloaded the source
code (Python-2.6.5.tar.bz2) and did the usual, ./configure, make, sudo
make install. Build went fine. But on install, why is it putting
things is my home directory?
copying build/lib.macosx-10.4-x86_64-2.6/_AE.so -> /Users/rob/Library/
copying build/lib.macosx-10.4-x86_64-2.6/_AH.so -> /Users/rob/Library/
copying build/lib.macosx-10.4-x86_64-2.6/_App.so -> /Users/rob/Library/
Later, this causes imports that require those .so files to fail. For
RobsMac Python-2.6.5 $ python
Python 2.6.5 (r265:79063, Apr 28 2010, 13:40:18)
[GCC 4.2.1 (Apple Inc. build 5646) (dot 1)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import zlib
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named zlib
What is going on?
More information about the Python-list