I'm back messing around, trying to get PyPy going on Solaris.  I
worked around one issue to get it to use the -std=c99 flag with GCC.
I stumbled on a bug in ctypes/util.py and found a patch which solves
that problem:

http://bugs.python.org/issue5289

My latest issue is slightly deeper in translation:

[translation:WARNING] The module '_hashlib' is disabled
[translation:WARNING] because importing pypy.module._ssl.interp_ssl
raised CompilationError
[translation:WARNING] CompilationError(out="""
[translation:WARNING]       CompilationError(err="""
[translation:WARNING]               platcheck_6.c:29:25: error:
openssl/ssl.h: No such file or directory
[translation:WARNING]               platcheck_6.c:30:25: error:
openssl/err.h: No such file or directory
[translation:WARNING]               platcheck_6.c:31:26: error:
openssl/rand.h: No such file or directory
[translation:WARNING]               platcheck_6.c:32:25: error:
openssl/evp.h: No such file or directory
[translation:WARNING]               platcheck_6.c:33:30: error:
openssl/ossl_typ.h: No such file or directory
[translation:WARNING]               platcheck_6.c:34:28: error:
openssl/x509v3.h: No such file or directory
[translation:WARNING]               """)""")
[translation:WARNING] The module 'pyexpat' is disabled
[translation:WARNING] because importing
pypy.module.pyexpat.interp_pyexpat raised CompilationError
[translation:WARNING] CompilationError(out="""
[translation:WARNING]       CompilationError(err="""
[translation:WARNING]               platcheck_7.c:29:19: error:
expat.h: No such file or directory
[translation:WARNING]               """)""")
[translation:WARNING] The module '_ssl' is disabled
[translation:WARNING] because importing pypy.module._ssl.interp_ssl
raised CompilationError
[translation:WARNING] CompilationError(out="""
[translation:WARNING]       CompilationError(err="""
[translation:WARNING]               platcheck_14.c:29:25: error:
openssl/ssl.h: No such file or directory
[translation:WARNING]               platcheck_14.c:30:25: error:
openssl/err.h: No such file or directory
[translation:WARNING]               platcheck_14.c:31:26: error:
openssl/rand.h: No such file or directory
[translation:WARNING]               platcheck_14.c:32:25: error:
openssl/evp.h: No such file or directory
[translation:WARNING]               platcheck_14.c:33:30: error:
openssl/ossl_typ.h: No such file or directory
[translation:WARNING]               platcheck_14.c:34:28: error:
openssl/x509v3.h: No such file or directory
[translation:WARNING]               """)""")

I actually have OpenSSL and Expat available, but their headers aren't
in standard locations like /usr/include.  Is there a way to extend the
include search path (and probably library search path) so the
translator can find them in their non-standard locations?

Thanks,

Skip Montanaro
_______________________________________________
pypy-dev mailing list
pypy-dev@python.org
http://mail.python.org/mailman/listinfo/pypy-dev

Reply via email to