From: patrick f. <pa...@we...> - 2009-04-17 19:01:01
|
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 list > pyo...@li... > https://lists.sourceforge.net/lists/listinfo/pyopenssl-list > |