Closed hannosch closed 8 years ago
@jladage This may give you some hints.
Hi @mauritsvanrees this helps for python2.6 and up, indeed. But python2.4 has problems with clang options. Maybe we should just drop python2.4 on El Capitan, old sites need to upgrade anyways since Plone 3 support is now drop because of the Plone 5 release.
With a git pull and brew link --force openssl I now have all pythons working.
Drop Python 2.4 :+1:
Fixed by Hanno in f356afa96fb7fbda26af93eba0e562b95aeb26da.
Drop Python 2.4 :-1: (Changing my mind.) Why? Because I needed Python 2.4 just now on El Capitan and it's too hard to install without buildout.python
. I ran brew link --force openssl
as @jladage suggested.
I've added the
darwin-elcapitan
platform and things mostly work, though I'm not building Python 2.4 nor 2.5 anymore.The one problem I ran into was openssl. Python compilation couldn't find openssl in the system. It seems Homebrew had the same problem and explicitly links to the homebrew provided openssl instead.
I did the same locally by expanding the environment for each Python version:
But didn't want to commit that into the default buildout, as it depends on an outside non-standard library.
There's also another issue with "stub libraries" mentioned at https://bugs.python.org/issue25136, with a patch. This only seems to be required if the command line tools aren't installed explicitly via
xcode-select --install
.