[pyOpenSSL] Trying to build pyOpenSSL on windows (mingw vs MS compiler).

William Heath wgheath at gmail.com
Fri Apr 17 21:04:35 CEST 2009


I would love to know the answer to this too.  Keep it up!

On Fri, Apr 17, 2009 at 12:00 PM, patrick flaherty <patf at well.com> wrote:

>
> Use the web - right?
>
> This compiled all the modules (but with a number of warnings):
>
> (from a cmd window)   setup.py build_ext -I c:\openssl\include -c mingw32
>
> But then the gcc ( gcc -mno-cygwin ) link failed with:
>
> gcc: c:\python25\libs\ssleay32.a: No such file or directory.
>
> Actually I'd looked around the web already for ssleay32.a and found lots of
> references but didn't seem to find the library as such?
>
> Sorry for all the fumbling around.
>
> pat
>
>
>
> patrick flaherty wrote:
>
> Hi,
>
> Whether I use a cmd window (DOS) or a cygwin bash shell, I seem in both
> cases to get the MS compiler.
>
> This compiles the first two modules:  crypto.obj and x509.obj.  But  it
> (the MS compiler [VS 2008]) chokes on x509name.c
> with
>
> x509name.c(16): error C2133: 'crypto_X509Name_methods' : unknown size.
>
> My guess is that what I need that I need to be using mingw instead of the
> MS compiler.
>
> But what I can't figure out is how to get setup.py to *use* mingw instead
> of the VS 2008 compiler?
>
> thanx - pat
>
> ------------------------------
> ------------------------------------------------------------------------------
> Stay on top of everything new and different, both inside and
> around Java (TM) technology - register by April 22, and save
> $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
> 300 plus technical and hands-on sessions. Register today.
> Use priority code J9JMT32. http://p.sf.net/sfu/p
>
> ------------------------------
> _______________________________________________
> pyopenssl-list mailing listpyopenssl-list at lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/pyopenssl-list
>
>
>
>
> ------------------------------------------------------------------------------
> Stay on top of everything new and different, both inside and
> around Java (TM) technology - register by April 22, and save
> $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
> 300 plus technical and hands-on sessions. Register today.
> Use priority code J9JMT32. http://p.sf.net/sfu/p
> _______________________________________________
> pyopenssl-list mailing list
> pyopenssl-list at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/pyopenssl-list
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/pyopenssl-users/attachments/20090417/fce95cad/attachment.html>


More information about the pyopenssl-users mailing list