Hi, I'm trying to compile and use a checkout of the Zope-2_6-branch. I'm compiling it using: usr/local/bin/python2.1 setup.py build_ext -i ...but when I start Zope I get: 2002-09-19T11:15:31 PANIC(300) z2 Startup exception Traceback (innermost last): Module __main__, line 214, in main Module __main__, line 40, in get_storage Module storages, line 4, in ? Module Globals, line 24, in ? Module TreeDisplay, line 14, in ? Module TreeDisplay.TreeTag, line 23, in ? ImportError: No module named zlib Now, in my 2.5.1 source build, there's a zlib.so in /lib/python. In the 2.6 build, there is not. What builds zlib.so? What needs to be fixed so this works? cheers, Chris
Chris Withers writes:
I'm trying to compile and use a checkout of the Zope-2_6-branch.
I'm compiling it using:
usr/local/bin/python2.1 setup.py build_ext -i What happens when you use
usr/local/bin/python2.1 setup.py build Dieter
Dieter Maurer wrote:
Chris Withers writes:
I'm trying to compile and use a checkout of the Zope-2_6-branch.
I'm compiling it using:
usr/local/bin/python2.1 setup.py build_ext -i What happens when you use
usr/local/bin/python2.1 setup.py build
Actualy, Magnus pointed out to me on IRC what zlib.so is no longer built by Zope, it needs have been built when you build Python. The machine in question was a Debian box with a source-built Python 2.1.3 on it. The problem is that Debian doesn't install the zlib-dev package by default, which Python needs to find during compilation to build zlib.so. So, zlib-dev installed and Python recompiled, this now works fine. cheers, Chris
participants (2)
-
Chris Withers -
Dieter Maurer