trouble running zope-1.10.2 (freebsd, python 1.5.1)
Trying to get started with Zope on a FreeBSD machine. I did the following: * Downloaded source distribution of Zope-1.10.2 * Extracted it * cd into directory and ran 'python wo_pcgi.py' (no error messages) * ./start I then get the following in var/serve.log (slightly edited for slightly more readability): Traceback (innermost last): File "serve.py", line 90, in ? ZopeHTTPServer.main(sys.argv[1:]+[os.path.join(os.getcwd(),'lib','python','Main.py')]) File "/usr/home/taiga/oyvindmo/work/Zope-1.10.2-src/ZopeHTTPServer/ZopeHTTPServer.py", line 498, in main start(module_file,host,port,threading,env) File "/usr/home/taiga/oyvindmo/work/Zope-1.10.2-src/ZopeHTTPServer/ZopeHTTPServer.py", line 436, in start set_published_module(module_file,BoboRequestHandler,env) File "/usr/home/taiga/oyvindmo/work/Zope-1.10.2-src/ZopeHTTPServer/ZopeHTTPServer.py", line 432, in set_published_module __import__(name) # to catch problem modules right away File "/usr/home/taiga/oyvindmo/work/Zope-1.10.2-src/lib/python/Main.py", line 90, in ? from BoboPOS import SimpleDB, TJar, SingleThreadedTransaction File "/usr/home/taiga/oyvindmo/work/Zope-1.10.2-src/lib/python/BoboPOS/__init__.py", line 99, in ? import SingleThreadedTransaction, Persistence, PickleDictionary File "/usr/home/taiga/oyvindmo/work/Zope-1.10.2-src/lib/python/BoboPOS/SingleThreadedTransaction.py", line 110, in ? from PickleDictionary import PickleDictionary File "/usr/home/taiga/oyvindmo/work/Zope-1.10.2-src/lib/python/BoboPOS/PickleDictionary.py", line 91, in ? import marshal,time,Persistence,SimpleDB, PickleJar File "/usr/home/taiga/oyvindmo/work/Zope-1.10.2-src/lib/python/BoboPOS/SimpleDB.py", line 104, in ? from cPickle import Pickler, Unpickler ImportError: /usr/home/taiga/oyvindmo/work/Zope-1.10.2-src/lib/python/cPickle.so: Undefined symbol "PyExc_IOError" I don't have any experience with Zope or even Python, but am I right in guessing that this looks like a problem with the python binary and not with Zope? Any ideas to precisely what the problem might be? python is v1.5.1. C compiler used is gcc 2.7.2.x. -- Øyvind Møll oyvindmo@pvv.ntnu.no
* Oyvind Moll | | Trying to get started with Zope on a FreeBSD machine. [snip] | I then get the following in var/serve.log (slightly edited for | slightly more readability): [snip] | | File "/usr/home/taiga/oyvindmo/work/Zope-1.10.2-src/lib/python/BoboPOS/SimpleDB.py", | line 104, in ? | from cPickle import Pickler, Unpickler | ImportError: | /usr/home/taiga/oyvindmo/work/Zope-1.10.2-src/lib/python/cPickle.so: Undefined symbol "PyExc_IOError" I discovered that my python binary was compiled without thread support. I think this is the case for many FreeBSD machines which haven't been updated recently-ish; maybe the ZDPers could mention this in a FAQ or something. Could the build script(s) check for proper thread support upon building? -- Øyvind Møll oyvindmo@pvv.ntnu.no
participants (1)
-
Oyvind Moll