From: Chris M. <cj...@av...> - 2003-07-06 09:48:50
|
Hi, I hope you can help, because I've exhausted my limited capabilites. I'm trying to build with mingw (as its free) on windows. OpenSSL 0.9.7b built flawlessly with mingw running the default ms\mingw32.bat script. It passes the included test scripts, so I presume it has done what it needs to. (You've probably guess I have extremely limited compiling/installing experience, which is 1 reason I chose Python). However I run into problems trying to build py-openssl. The default library build folder for openssl is out, the headers are in outinc. I copied libeay32.def and libeay32.dll into openssl-0.9.7b/out, but that didn't help. The platform is win-xp, with mingw 2.0.0.3. I know people have had it working previously, so I imagine it is me missing something obvious, but I am at the stage of going around in circles and would appreciate the help. Thanks, Chris Munchenberg cj...@av... C:\Python22\Lib\site-packages\pyOpenSSL-0.5.1>python setup.py build_ext --compiler=mingw32 -I C:\ope nssl-0.9.7b\outinc -L c:\openssl-0.9.7b\out running build_ext building 'OpenSSL.crypto' extension creating build\temp.win32-2.2 creating build\temp.win32-2.2\Release C:\MinGW\bin\gcc.exe -mno-cygwin -mdll -O -Wall -IC:\openssl-0.9.7b\outinc - IC:\Python22\include -c src/crypto/crypto.c -o build\temp.win32-2.2\Release\crypto.o src/crypto/crypto.c:20: warning: `CVSid' defined but not used C:\MinGW\bin\gcc.exe -mno-cygwin -mdll -O -Wall -IC:\openssl-0.9.7b\outinc - IC:\Python22\include -c src/crypto/x509.c -o build\temp.win32-2.2\Release\x509.o src/crypto/x509.c:15: warning: `CVSid' defined but not used C:\MinGW\bin\gcc.exe -mno-cygwin -mdll -O -Wall -IC:\openssl-0.9.7b\outinc - IC:\Python22\include -c src/crypto/x509name.c -o build\temp.win32-2.2\Release\x509name.o src/crypto/x509name.c:15: warning: `CVSid' defined but not used C:\MinGW\bin\gcc.exe -mno-cygwin -mdll -O -Wall -IC:\openssl-0.9.7b\outinc - IC:\Python22\include -c src/crypto/pkey.c -o build\temp.win32-2.2\Release\pkey.o src/crypto/pkey.c:14: warning: `CVSid' defined but not used C:\MinGW\bin\gcc.exe -mno-cygwin -mdll -O -Wall -IC:\openssl-0.9.7b\outinc - IC:\Python22\include -c src/crypto/x509store.c -o build\temp.win32-2.2\Release\x509store.o src/crypto/x509store.c:13: warning: `CVSid' defined but not used C:\MinGW\bin\gcc.exe -mno-cygwin -mdll -O -Wall -IC:\openssl-0.9.7b\outinc - IC:\Python22\include -c src/crypto/x509req.c -o build\temp.win32-2.2\Release\x509req.o src/crypto/x509req.c:13: warning: `CVSid' defined but not used C:\MinGW\bin\gcc.exe -mno-cygwin -mdll -O -Wall -IC:\openssl-0.9.7b\outinc - IC:\Python22\include -c src/crypto/x509ext.c -o build\temp.win32-2.2\Release\x509ext.o src/crypto/x509ext.c:14: warning: `CVSid' defined but not used C:\MinGW\bin\gcc.exe -mno-cygwin -mdll -O -Wall -IC:\openssl-0.9.7b\outinc - IC:\Python22\include -c src/crypto/pkcs7.c -o build\temp.win32-2.2\Release\pkcs7.o src/crypto/pkcs7.c:14: warning: `CVSid' defined but not used C:\MinGW\bin\gcc.exe -mno-cygwin -mdll -O -Wall -IC:\openssl-0.9.7b\outinc - IC:\Python22\include -c src/crypto/pkcs12.c -o build\temp.win32-2.2\Release\pkcs12.o src/crypto/pkcs12.c:17: warning: `CVSid' defined but not used C:\MinGW\bin\gcc.exe -mno-cygwin -mdll -O -Wall -IC:\openssl-0.9.7b\outinc - IC:\Python22\include -c src/util.c -o build\temp.win32-2.2\Release\util.o src/util.c:14: warning: `CVSid' defined but not used writing build\temp.win32-2.2\Release\crypto.def C:\MinGW\bin\dllwrap.exe -mno-cygwin -mdll -static --entry _DllMain@12 --output-lib build\temp.win32 -2.2\Release\libcrypto.a --def build\temp.win32-2.2\Release\crypto.def -s build\temp.win32-2.2\Relea se\crypto.o build\temp.win32-2.2\Release\x509.o build\temp.win32-2.2\Release\x509name.o build\temp.w in32-2.2\Release\pkey.o build\temp.win32-2.2\Release\x509store.o build\temp.win32-2.2\Release\x509re q.o build\temp.win32-2.2\Release\x509ext.o build\temp.win32-2.2\Release\pkcs7.o build\temp.win32-2.2 \Release\pkcs12.o build\temp.win32-2.2\Release\util.o -Lc:\openssl-0.9.7b\out -LC:\Python22\li bs -ll ibeay32 -lssleay32 -lWs2_32 -lpython22 -o build\lib.win32-2.2\OpenSSL\crypto.pyd C:\MinGW\bin\..\lib\gcc-lib\mingw32\3.2\..\..\..\..\mingw32\bin\ld.exe: cannot find -llibeay32 dllwrap: gcc exited with status 1 error: command 'dllwrap' failed with exit status 1 |