I can't get Python 1.5.1/1.5.2 to compile with thread support, though: rm config.cache rm config.status configure --with-thread make clean make and I get an error in threadmodule.c asking for --with-thread. Silly, maybe I made a mistake somewhere? Interesting aside about my problem getting the precompiled Python binary to work (ie., the bin/python binary provided by the Zope download): As I mentioned earlier, I get a "Command not found "error" trying to run the file. Running "ldd python" to check which version of libc it uses, I get: ldd: can't execute ./python (No such file or directory) I can verify that the file _is_ there, though -- I can view it an' everything. -- Alexander Staubo http://www.mop.no/~alex/ "It has taken the planet Earth 4.5 billion years to discover it is 4.5 billion years old." --George Wald
-----Original Message----- From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Jimmie Houchin Sent: 15. mai 1999 20:59 To: Alexander Staubo; Zope Mailing List (E-mail) Subject: RE: [Zope] Zope under Linux -- duh?
Hello,
When I was trying to get Zope running on my LinuxPPC machine at home I ran into the same problem.
The default was Python 1.5.1 is installed/compiled at least on my machine and rpms is without threads. In order for my Python to have threads I had to compile it with the --with thread switch. Read the Python source docs for the exactly how to do it.
On LinuxPPC R4.1 there is no thread.h, Python when compiled with thread will build in thread support.
Hope this helps.
Jimmie Houchin
At 06:03 AM 5/14/99 +0200, you wrote:
And with 1.5.1 I still get the thread module error:
tradecenter:/usr/local/zope# Traceback (innermost last): File "/usr/local/zope/ZServer/start.py", line 94, in ? from HTTPServer import zhttp_server, zhttp_handler File "/usr/local/zope/ZServer/HTTPServer.py", line 111, in ?
tradecenter:/usr/local/zope# import thread ImportError: No module named thread
Possibly because my Linux installation doesn't have a thread.h. I don't know Linux well enough to say if this is correct. Afaik, the machine is running glibc 1.x (libc5), not 2.x, and the Python installation info speaks of thread support in glibc 2.x. I don't know.
Alexander Staubo http://www.mop.no/~alex/ mailto:redhand@mop.no
[snip]
_______________________________________________ Zope maillist - Zope@zope.org http://www.zope.org/mailman/listinfo/zope
(For developer-specific issues, use the companion list, zope-dev@zope.org - http://www.zope.org/mailman/listinfo/zope-dev )
participants (1)
-
Alexander Staubo