Comment 44 for bug 236170

Revision history for this message
Zooko Wilcox-O'Hearn (zooko) wrote :

Okay, when I uninstall the openssl-0.9.8h that I compiled myself, and add the following stanza to pyOpenSSL's setup.cfg file, then it compiles and passes tests:

--- old-dw/setup.cfg 2008-06-20 09:26:42.000000000 -0700
+++ new-dw/setup.cfg 2008-06-20 09:26:42.000000000 -0700
@@ -8,3 +8,6 @@
 group = Development/Libraries
 build_script = rpm/build_script
 doc-files = doc/pyOpenSSL.txt doc/pyOpenSSL.ps doc/html
+
+[build_ext]
+include-dirs = /Developer/SDKs/MacOSX10.4u.sdk/usr/include/

So the openssl that comes with Mac OS 10.4 works, and openssl-0.9.8h works on other platforms, but openssl-0.9.8h, as I compiled it, yields these errors. For reference, here is the command that I used to configure and compile openssl-0.9.8h:

./config -shared --prefix=/usr/local/stow/openssl-0.9.8h && make && make check && make install