Re: [Python-Dev] Wrong OSX platform in sysconfig.py causing installation problems

2016年5月07日 23:56:48 -0700

On Sat, May 7, 2016 at 10:59 PM, Chris Barker <[email protected]> wrote:
>
> .... Trying to decide if I want to go through the hassle of installing an
> old XCode to see if i can replicate the bug the OP is reporting....
>
OK, I found this gitHub repo with all the old SDKs:
https://github.com/phracker/MacOSX-SDKs
I put a copy of the 10.6 SDk in it's old location:
/Developer/SDKs/MacOSX10.6.sdk/
/before I did that, I did a pip install of zodb in a virtualenv, and all
seemed to go fine. THe extensions rae linked against :
$ otool -L cPersistence.cpython-35m-darwin.so
cPersistence.cpython-35m-darwin.so:
 /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
version 1197年1月1日)
where that comes from -- who knows??
then I tried again, after putting the sdk in place:
[note: serious pain the $%^# to get pip to stop using it's cache! ]
and everything seemed to build fine, and at least one simple test of zodb
works fine. And this is how the extensions are linked:
$ otool -L cPersistence.cpython-35m-darwin.so
cPersistence.cpython-35m-darwin.so:
 /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
version 125.2.11)
which is the same as above, but the "current version" is much older -- so
does that mean it used the 10.6 SDK????
Anyway, I can't reproduce the OP's bug.....
-CHB
-- 
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/OR&R (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
[email protected]
_______________________________________________
Python-Dev mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to