Skip to content
This repository has been archived by the owner on Feb 13, 2019. It is now read-only.

Add M2Crypto egg for 10.14 support #78

Open
Quantu opened this issue Sep 21, 2018 · 2 comments
Open

Add M2Crypto egg for 10.14 support #78

Quantu opened this issue Sep 21, 2018 · 2 comments

Comments

@Quantu
Copy link

Quantu commented Sep 21, 2018

Please add the M2Crypto egg for 10.14 to the mirror and the lines for including the 10.14 egg in the Makefile.

@jmActifio
Copy link

jmActifio commented Oct 11, 2018

I'm not with Google so I can't modify the mirror, but I can tell you how to build it simply on a 10.14 system:

  1. Install XCode and homebrew

  2. brew install swig openssl

  3. From https://pypi.org/project/M2Crypto, download and expand v0.22.3

  4. Execute 'env LDFLAGS="-L$(brew --prefix openssl)/lib" CFLAGS="-I$(brew --prefix openssl)/include" SWIG_FEATURES="-cpperraswarn -includeall -I$(brew --prefix openssl)/include" python setup.py bdist_egg'

  5. Rename the resulting egg to simian_M2Crypto-0.22.3-py2.7-macosx-10.14-intel.egg and place in root of simian

  6. Modify the Makefile to account for this, under the 'm2crypto' section AND the various 'pkg' and 'dmg' build sections.

Notes: --build-from-source may be required for installing openssl with brew if a 10.14 bottle is not available. It may also be necessary to remove the dynamic openssl libraries or tweak linker options to force static during the swig build. You do NOT want dynamic links or it will not work on client machines.

@arubdesu
Copy link

I just duplicated the 10.13 egg and renamed it 10.14. Perhaps that's the worst idea ever, but ¯_(ツ)_/¯

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants