Build Python interpreter under OS X
I got some problems with Python's build on OS X. I want it to be copyable
at another OS X machines after (cd python_src_dir && ./configure
--prefix=/Users/user1/python26 --with-threads
--enable-universalsdk=bla-bla-bla --with-suffix=''
--enable-framework=/Users/user1/python26/lib --with-universal-archs=intel
&& make && make install) command.
After build /Users/user1/python26/bin/python -- is absolute symlink to
/Users/user1/python26/lib/Python.framework/Versions/Current/bin/python.
Then
/Users/user1/python26/lib/Python.framework/Versions/Current/bin/python is
not Python interpreter, it's just executable file which runs real
interpreter. Real interpreter are placed on this absolute path
/Users/user1/python26/lib/Python.framework/Versions/Current/Resources/Python.app/Contents/MacOS/Python-32
So if I will copy /Users/user1/python26 to another machine - it will not
works because it have 2 wrong absolute paths. I want relative paths (in
symlink bin/python and lib/Python.framework/Versions/Current/bin/python).
Please help me how to configure it right.
No comments:
Post a Comment