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

2011-09-16 Thread Wong Wah Meng
Wong Wah Meng 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 full file. However

[issue12991] Python 64-bit build on HP Itanium - Executable built successfully but modules failed with HP Compiler

2011-09-16 Thread Wong Wah Meng
New submission from Wong Wah Meng : Server Info: HP-UX B.11.31 Itanium ia64. Evaluation copy is used however the license is being purchased, hopefully this are not these errors are not caused by evaluation copy. # swlist -l product | grep Compiler ACXX C.06.26.EVAL HP C

[issue12992] Python build finished, but the necessary bits to build these modules were not found: _tkinter

2011-09-16 Thread Wong Wah Meng
New submission from Wong Wah Meng : Hello there, I am building python on HP-UX 11.31 (Itanium ia64). I would like to utilize the _tkinter module in my application however I failed to build it. I think this module requires additional tcl + tk source code placed into certain directory and the

[issue12994] cx_Oracle failed to load in newly build python 2.7.1

2011-09-16 Thread Wong Wah Meng
New submission from Wong Wah Meng : Platform : HP-UX 11.31 on Itanium ia64. HP Compiler: # swlist -l product | grep Compiler ACXX C.06.26.EVAL HP C/aC++ Compiler C-ANSI-C C.06.26.EVAL HP C/aC++ Compiler COMPLIBS B.11.31Compiler

[issue12991] Python 64-bit build on HP Itanium - Executable built successfully but modules failed with HP Compiler

2011-09-20 Thread Wong Wah Meng
Wong Wah Meng added the comment: I think there is something that is not working here at least for the instructions in build README file about setting up 4 environment variables required for HP Itanium 64-bit build using HP compilers. CC=cc CXX=aCC

[issue12991] Python 64-bit build on HP Itanium - Executable built successfully but modules failed with HP Compiler

2011-09-20 Thread Wong Wah Meng
Wong Wah Meng added the comment: Thanks! I am gonna try this out again. Actually I noticed this when you mentioned about using cc as the linker front end. I followed instruction in the README file, after I edited Makefile to remove the -O Limit 1500 line, and after python executable is

[issue12991] Python 64-bit build on HP Itanium - Executable built successfully but modules failed with HP Compiler

2011-09-21 Thread Wong Wah Meng
Wong Wah Meng added the comment: Good news is now I am still using ld, like what is generated in the Makefile file by configure script, and able to do the linking process for the built-in modules successfully. I only need to set CC="cc +DD64" and "CXX=aCC" and the pro

[issue12991] Python 64-bit build on HP Itanium - Executable built successfully but modules failed with HP Compiler

2011-09-21 Thread Wong Wah Meng
Wong Wah Meng added the comment: Closing the issue. Please contact me if the README file for HP-UX Itanium 64-bit build should be amended. -- status: open -> closed ___ Python tracker <http://bugs.python.org/issu

[issue13057] Thread not working for python 2.7.1 built with HP Compiler on HP-UX 11.31 ia64

2011-09-28 Thread Wong Wah Meng
New submission from Wong Wah Meng : Resending as my old alternative email ID wasn't registered under my account. === Hello there, I included --with-threads option into the configure script calling, which it failed t

[issue13057] Thread not working for python 2.7.1 built with HP Compiler on HP-UX 11.31 ia64

2011-09-29 Thread Wong Wah Meng
Wong Wah Meng added the comment: Traceback? $ python Python 2.7.1 (r271:86832, Sep 28 2011, 17:31:02) [C] on hp-ux11 Type "help", "copyright", "credits" or "license" for more information. >>> import thread >>> def testing(): ...pr

[issue13057] Thread not working for python 2.7.1 built with HP Compiler on HP-UX 11.31 ia64

2011-09-29 Thread Wong Wah Meng
Wong Wah Meng added the comment: Hello Stefan, Hmm. how do I apply the patch? I download the issue-13057.diff file and then.? Regards, Wah Meng -- ___ Python tracker <http://bugs.python.org/issue13

[issue13057] Thread not working for python 2.7.1 built with HP Compiler on HP-UX 11.31 ia64

2011-09-29 Thread Wong Wah Meng
Wong Wah Meng added the comment: I tried here is the outcome. It says it can't find a patch?? $ cat issue-13057.diff diff -r f612b783bc17 configure --- a/configure Thu Sep 29 07:52:46 2011 +0800 +++ b/configure Thu Sep 29 21:39:32 2011 +0200 @@ -8619,6 +8619,7 @@ cat confd

[issue13057] Thread not working for python 2.7.1 built with HP Compiler on HP-UX 11.31 ia64

2011-09-29 Thread Wong Wah Meng
Wong Wah Meng added the comment: Mercurial clone of python? Haha I am not sure what that is. My unix also won't recognize "hg", and will ignore "import --no-commit issue-13057.diff". I went ahead to edit configure file. Partially understanding the content of

[issue13057] Thread not working for python 2.7.1 built with HP Compiler on HP-UX 11.31 ia64

2011-09-29 Thread Wong Wah Meng
Wong Wah Meng added the comment: Hello, I tried rebuild but it is still the same. :( Attached is the extract of the modified configure file, with line number at the side (from VI editor). Basically my changes are added as from line 8620 through 8624. I am not sure if this is meant to be

[issue13057] Thread not working for python 2.7.1 built with HP Compiler on HP-UX 11.31 ia64

2011-09-29 Thread Wong Wah Meng
Wong Wah Meng added the comment: Thank goodness. Let me try. Regards, Wah Meng Genesis Wafermap Support Ticket: To report a problem: http://dyno.freescale.net/Question/QuestionMain3.asp?location=zmy02&category=&tickettype=6820 To request a service: http://dyno.freescale.net/

[issue13057] Thread not working for python 2.7.1 built with HP Compiler on HP-UX 11.31 ia64

2011-09-29 Thread Wong Wah Meng
Wong Wah Meng added the comment: Sorry, there a more than one entry of "#include " in configure file. So do I inject everywhere? Regards, Wah Meng Genesis Wafermap Support Ticket: To report a problem: http://dyno.freescale.net/Question/QuestionMain3.asp?location=zmy02&catego

[issue13057] Thread not working for python 2.7.1 built with HP Compiler on HP-UX 11.31 ia64

2011-09-29 Thread Wong Wah Meng
Wong Wah Meng added the comment: Wow. I added it everywhere in the file. I love you!! (Ermm... I mean, literally) It can work now. :). I will move on to migrate my application with this new python. Hopefully I don't see other modules breaking. Thanks for the GREAT

[issue13057] Thread not working for python 2.7.1 built with HP Compiler on HP-UX 11.31 ia64

2011-09-30 Thread Wong Wah Meng
Wong Wah Meng added the comment: I put up an issue the python I build is not able to run thread.start_new_thread. Someone replied to me that there is a bug in configure file and I follow the patch and rebuild my python, my thread is working after the patch is applied. I ended that issue

[issue13057] Thread not working for python 2.7.1 built with HP Compiler on HP-UX 11.31 ia64

2011-09-30 Thread Wong Wah Meng
Changes by Wong Wah Meng : -- status: open -> closed ___ Python tracker <http://bugs.python.org/issue13057> ___ ___ Python-bugs-list mailing list Unsubscri

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

2011-09-30 Thread Wong Wah Meng
Wong Wah Meng 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, I explicitly pass

[issue13057] Thread not working for python 2.7.1 built with HP Compiler on HP-UX 11.31 ia64

2011-09-30 Thread Wong Wah Meng
Wong Wah Meng added the comment: 1.) I see. Sorry ya, I didn't notice. They are automatically generated as my email footer. 2.) Ok, appreciate the information and helps! Regards, Wah Meng -- ___ Python tracker <http://bugs.python.org/is

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

2011-10-04 Thread Wong Wah Meng
Wong Wah Meng 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

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

2011-09-01 Thread Wong Wah Meng
New submission from Wong Wah Meng : 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 call last

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

2011-09-01 Thread Wong Wah Meng
Wong Wah Meng 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 _sqlite3 _ssl

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

2011-09-02 Thread Wong Wah Meng
Wong Wah Meng 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 related thing. 2.) If