How to build Python 2.6.2 on HP-UX Itanium with thread support?
aahz at pythoncraft.com
Wed May 13 16:25:05 CEST 2009
In article <51d1dd3f-322d-47fa-9d44-75b92c6ef4e2 at e20g2000vbc.googlegroups.com>,
<henning.vonbargen at arcor.de> wrote:
>New info: The problem is not related to the specific program - it is
>definitely a build problem, as the following test shows:
>Python 2.6.2 (r262:71600, Apr 28 2009, 17:38:15)
>[GCC 4.2.3] on hp-ux11
>Type "help", "copyright", "credits" or "license" for more information.
>>>> import threading
>Traceback (most recent call last):
> File "<stdin>", line 1, in <module>
> File "/usr/local/lib/python2.6/threading.py", line 952, in _test
> File "/usr/local/lib/python2.6/threading.py", line 471, in start
> _start_new_thread(self.__bootstrap, ())
>thread.error: can't start new thread
>The compiler I used was GCC 4.2.3
You probably want to start by figuring out which threading library is
being used -- Python normally wants Posix threads, but IIRC, that's not
the default on HP-UX, and you may need to fix the build process to use
Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/
"It is easier to optimize correct code than to correct optimized code."
More information about the Python-list