[issue12876] Make Test Error : ImportError: No module named _sha256

2014-07-02 Thread Mark Lawrence
Mark Lawrence added the comment: Are we still interested in a 2.7.1 build issue? Note that regrtest is aimed at core developers only. -- components: +Build -Tests nosy: +BreamoreBoy ___ Python tracker rep...@bugs.python.org

[issue12876] Make Test Error : ImportError: No module named _sha256

2014-07-02 Thread Encolpe DEGOUTE
Changes by Encolpe DEGOUTE encolpe.dego...@free.fr: -- nosy: -encolpe ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12876 ___ ___

[issue12876] Make Test Error : ImportError: No module named _sha256

2014-07-02 Thread Gregory P. Smith
Changes by Gregory P. Smith g...@krypto.org: -- resolution: - out of date status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12876 ___

[issue12876] Make Test Error : ImportError: No module named _sha256

2012-12-20 Thread Encolpe DEGOUTE
Encolpe DEGOUTE added the comment: I my experience this error comes when SASL headers are missing during the build. Under debian or ubuntu it's the package named libsasl2-dev. -- nosy: +encolpe ___ Python tracker rep...@bugs.python.org

[issue12876] Make Test Error : ImportError: No module named _sha256

2011-11-25 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Sorry to be of little help. I also have a problem with hashlib, but it’s with Python 2.4 on Debian multiarch with linux3, so probably different from your problem. You could try asking on the python-dev mailing list. --

[issue12876] Make Test Error : ImportError: No module named _sha256

2011-10-04 Thread Wong Wah Meng
Wong Wah Meng r32...@freescale.com added the comment: Hello there, I am encountering more modules/commands that uses the harslib that needs _sha256. I still haven't found a solution. Can anyone shed some lights here whether or not this is related to the way I include and link the library, or

[issue12876] Make Test Error : ImportError: No module named _sha256

2011-09-30 Thread Wong Wah Meng
Wong Wah Meng r32...@freescale.com added the comment: I tried again the build, after a new openSSL is installed on by my UNIX admin. The OpenSSL version is A.00.09.08r.003. The same result is generated when random is tested. The hashlib cannot be imported due to missing _sha256. In my build,

[issue12876] Make Test Error : ImportError: No module named _sha256

2011-09-16 Thread Wong Wah Meng
Wong Wah Meng wahm...@freescale.com added the comment: I revert to this after I got my HP-UX ANSI-C compiler installed on my server (HP-UX 11.31 ia64). 1.) Going back to SSL question, here is the software and version that is found on my server. I am not sure if this is the header only or the

[issue12876] Make Test Error : ImportError: No module named _sha256

2011-09-02 Thread Wong Wah Meng
Wong Wah Meng wahm...@freescale.com added the comment: Hi there, thanks for the reply. I need a bit more clue on what else I can do, other than I have these 3 items in my checklist:- 1.) I will have HP-UX ANSI C/C++ Compiler soon. I can recompile using that compiler later if this is a gcc

[issue12876] Make Test Error : ImportError: No module named _sha256

2011-09-02 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc amaur...@gmail.com added the comment: The setup.py script does not look correct when openssl is not installed: the _sha256 and _sha512 modules are compiled under this condition:: if COMPILED_WITH_PYDEBUG or openssl_ver min_sha2_openssl_ver: By comparison, the _md5

[issue12876] Make Test Error : ImportError: No module named _sha256

2011-09-02 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: 1.) I will have HP-UX ANSI C/C++ Compiler soon. I can recompile using that compiler later if this is a gcc related thing. On the contrary, Gregory said that gcc should work (it’s what most of us use, I think). 2.) If I am not using my python

[issue12876] Make Test Error : ImportError: No module named _sha256

2011-09-01 Thread Wong Wah Meng
New submission from Wong Wah Meng wahm...@freescale.com: Hi there, I just build python 2.7.1 on my HP 11.31 Itanium 64 bit machine using gcc. When I finished the build and run make test. It gives me error as depicted below:- $ ./python Lib/test/regrtest.py -v Traceback (most recent

[issue12876] Make Test Error : ImportError: No module named _sha256

2011-09-01 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc amaur...@gmail.com added the comment: Please run the make command again. It will list the modules that were skipped and not compiled. Which modules do you see there? Also, which version of OpenSSL is installed? -- nosy: +amaury.forgeotdarc

[issue12876] Make Test Error : ImportError: No module named _sha256

2011-09-01 Thread Wong Wah Meng
Wong Wah Meng wahm...@freescale.com added the comment: Thanks for your reply: This is the output of the make, _ctypes and termios are failed to build. Python build finished, but the necessary bits to build these modules were not found: _bsddb _curses_curses_panel

[issue12876] Make Test Error : ImportError: No module named _sha256

2011-09-01 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Do you have OpenSSL headers? -- nosy: +haypo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12876 ___

[issue12876] Make Test Error : ImportError: No module named _sha256

2011-09-01 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +gregory.p.smith ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12876 ___ ___ Python-bugs-list

[issue12876] Make Test Error : ImportError: No module named _sha256

2011-09-01 Thread Gregory P. Smith
Gregory P. Smith g...@krypto.org added the comment: The fact that it called __get_builtin_constructor implies that the ssl backed _hashlib module was not available. It looks like the non-openssl standalone _sha256 module (and likely the _sha512 module) both failed to be compiled. I would not