M2Crypto 0.18 - new version, same old build bugs.

Heikki Toivonen heikki at osafoundation.org
Fri Sep 21 04:07:44 EDT 2007


John Nagle wrote:
> Back in March, I posted this:
> 
>>     Hit that with OpenSSL.  Red Hat took elliptical curve cryptography
>> out of Fedora 6 for patent reasons.  With that missing, M2Crypto won't
>> build.  It ought to; the implementor of M2Crypto thought of that, because
>> it's an optional feature.  But M2Crypto uses SWIG.  SWIG doesn't normally
>> process nested include files.  OpenSSL had changed their configuration
>> approach to use nested include files.  So SWIG didn't see the #define
>> that
>> said to turn off elliptical curve crypto support.  This resulted in
>> compile errors in the 24,000 lines of code that come out of SWIG. 
> 
>    That was for M2Crypto 0.17.
> 
>    It's still broken in M2Crypto 0.18.

This was reported as
https://bugzilla.osafoundation.org/show_bug.cgi?id=9404 and fixed, at
least according to the person who reported the bug. I'd be curious to
know why the fix does not work for you...

As an alternative, does it work if you add line 130 to setup.py:

'-DOPENSSL_NO_EC', # Uncomment if you have
trouble compiling without EC support

-- 
  Heikki Toivonen



More information about the Python-list mailing list