[Zope] Installation of X3

Andreas Jung lists at andreas-jung.com
Tue Nov 30 10:21:09 EST 2004


*wrong list*

please the zope3-users list for Z3 related issues.

-aj

--On Dienstag, 30. November 2004 16:18 Uhr +0100 professorix at gmx.de wrote:

> Hi,
>
> I tried to install ZopeX3 and got the following errors by the "make test"
> and "make install".
>
> I installed before python 2.3.4
>
> Can someone help me?
>
> Regards
> Uwe
>
>
> p15142475:/usr/local/ZopeX3-3.0.0 # ./configure
>
> Configuring Zope X3 installation
>
> Testing for an acceptable Python interpreter...
>
> Python version 2.3.4 found at /usr/local/bin/python
>
> The optimum Python version (2.3.4) was found at /usr/local/bin/python.
>
> Installation directory /usr/local/ZopeX3-3.0.0 already exists.
> Specify a directory that isn't being used, or
> use --force to use it anyway.
>
> p15142475:/usr/local/ZopeX3-3.0.0 # ./configure --force
>
> Configuring Zope X3 installation
>
> Testing for an acceptable Python interpreter...
>
> Python version 2.3.4 found at /usr/local/bin/python
>
> The optimum Python version (2.3.4) was found at /usr/local/bin/python.
>
> p15142475:/usr/local/ZopeX3-3.0.0 # make check
> /usr/local/bin/python install.py -q build
> /usr/local/bin/python test.py -v
> Running UNIT tests at level 1
> Running UNIT tests from /usr/local/ZopeX3-3.0.0/build/lib.linux-i686-2.3
>
>
> Error in test Invalid Test (zope.app.tree.browser.tests)
> Traceback (most recent call last):
>   File
> "/usr/local/ZopeX3-3.0.0/build/lib.linux-i686-2.3/zope/app/tests/test.py",
> line 624, in get_suite
>     mod = package_import(modname)
>   File
> "/usr/local/ZopeX3-3.0.0/build/lib.linux-i686-2.3/zope/app/tests/test.py",
> line 600, in package_import
>     __import__(modname)
>   File
> "/usr/local/ZopeX3-3.0.0/build/lib.linux-i686-2.3/zope/app/tree/browser/t
> ests.py", line 24, in ?
>     from zope.app.tree.utils import TreeStateEncoder
>   File
> "/usr/local/ZopeX3-3.0.0/build/lib.linux-i686-2.3/zope/app/tree/utils.py",
> line 18, in ?
>     import zlib
> ImportError: No module named zlib
>
>
>
> Error in test Invalid Test (zope.app.tree.tests.test_adapters)
> Traceback (most recent call last):
>   File
> "/usr/local/ZopeX3-3.0.0/build/lib.linux-i686-2.3/zope/app/tests/test.py",
> line 624, in get_suite
>     mod = package_import(modname)
>   File
> "/usr/local/ZopeX3-3.0.0/build/lib.linux-i686-2.3/zope/app/tests/test.py",
> line 600, in package_import
>     __import__(modname)
>   File
> "/usr/local/ZopeX3-3.0.0/build/lib.linux-i686-2.3/zope/app/tree/tests/tes
> t_adapters.py", line 36, in ?
>     from zope.app.tree.utils import TreeStateEncoder
> ImportError: cannot import name TreeStateEncoder
>
>
>
> Error in test Invalid Test (zope.app.tree.tests.test_filters)
> Traceback (most recent call last):
>   File
> "/usr/local/ZopeX3-3.0.0/build/lib.linux-i686-2.3/zope/app/tests/test.py",
> line 624, in get_suite
>     mod = package_import(modname)
>   File
> "/usr/local/ZopeX3-3.0.0/build/lib.linux-i686-2.3/zope/app/tests/test.py",
> line 600, in package_import
>     __import__(modname)
>   File
> "/usr/local/ZopeX3-3.0.0/build/lib.linux-i686-2.3/zope/app/tree/tests/tes
> t_filters.py", line 26, in ?
>     from test_adapters import SampleContent
> ImportError: cannot import name SampleContent
>
>
>
> Error in test Invalid Test (zope.app.tree.tests.test_node)
> Traceback (most recent call last):
>   File
> "/usr/local/ZopeX3-3.0.0/build/lib.linux-i686-2.3/zope/app/tests/test.py",
> line 624, in get_suite
>     mod = package_import(modname)
>   File
> "/usr/local/ZopeX3-3.0.0/build/lib.linux-i686-2.3/zope/app/tests/test.py",
> line 600, in package_import
>     __import__(modname)
>   File
> "/usr/local/ZopeX3-3.0.0/build/lib.linux-i686-2.3/zope/app/tree/tests/tes
> t_node.py", line 19, in ?
>     from basetest import BaseTestCase
>   File
> "/usr/local/ZopeX3-3.0.0/build/lib.linux-i686-2.3/zope/app/tree/tests/bas
> etest.py", line 26, in ?
>     from zope.app.tree.utils import TreeStateEncoder
> ImportError: cannot import name
> TreeStateEncoder
>
> .........................................................................
> .........................................................................
> .........................................................................
> .........................................................................
> .........................................................................
> .........................................................................
> .........................................................................
> .........................................................................
> .........................................................................
> .........................................................................
> .........................................................................
> .........................................................................
> .........................................................................
> .........................................
>  ........................................................................
> .........................................................................
> .........................................................................
> .........................................................................
> .........................................................................
> .....
>
> Failure in test testUmask (zdaemon.tests.testzdrun.ZDaemonTests)
> Traceback (most recent call last):
>   File
> "/usr/local/ZopeX3-3.0.0/build/lib.linux-i686-2.3/zdaemon/tests/testzdrun
> .py", line 244, in testUmask
>     self.assert_(not os.access(path, os.W_OK))
>   File "/usr/local/lib/python2.3/unittest.py", line 278, in failUnless
>     if not expr: raise self.failureException,
> msg
> AssertionError
>
> .........................................................................
> .........................................................................
> .........................................................................
> .........................................................................
> .........................................................................
> .........................................................................
> .........................................................................
> .........................................................................
> .........................................................................
> .........................................................................
> .........................................................................
> .........................................................................
> .........................................................................
> .........................................
>  ........................................................................
> .........................................................................
> .........................................................................
> .........................................................................
> .........................................................................
> .........................................................................
> .........................................................................
> .........................................................................
> .........................................................................
> .........................................................................
> .........................................................................
> .........................................................................
> .........................................................................
> .........................................
>  ........................................................................
> .........................................................................
> .........................................................................
> .........................................................................
> .........................................................................
> .........................................................................
> .........................................................................
> .........................................................................
> .................................
> ======================================================================
> ERROR: Invalid Test (zope.app.tree.browser.tests)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File
> "/usr/local/ZopeX3-3.0.0/build/lib.linux-i686-2.3/zope/app/tests/test.py",
> line 624, in get_suite
>     mod = package_import(modname)
>   File
> "/usr/local/ZopeX3-3.0.0/build/lib.linux-i686-2.3/zope/app/tests/test.py",
> line 600, in package_import
>     __import__(modname)
>   File
> "/usr/local/ZopeX3-3.0.0/build/lib.linux-i686-2.3/zope/app/tree/browser/t
> ests.py", line 24, in ?
>     from zope.app.tree.utils import TreeStateEncoder
>   File
> "/usr/local/ZopeX3-3.0.0/build/lib.linux-i686-2.3/zope/app/tree/utils.py",
> line 18, in ?
>     import zlib
> ImportError: No module named zlib
>
> ======================================================================
> ERROR: Invalid Test (zope.app.tree.tests.test_adapters)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File
> "/usr/local/ZopeX3-3.0.0/build/lib.linux-i686-2.3/zope/app/tests/test.py",
> line 624, in get_suite
>     mod = package_import(modname)
>   File
> "/usr/local/ZopeX3-3.0.0/build/lib.linux-i686-2.3/zope/app/tests/test.py",
> line 600, in package_import
>     __import__(modname)
>   File
> "/usr/local/ZopeX3-3.0.0/build/lib.linux-i686-2.3/zope/app/tree/tests/tes
> t_adapters.py", line 36, in ?
>     from zope.app.tree.utils import TreeStateEncoder
> ImportError: cannot import name TreeStateEncoder
>
> ======================================================================
> ERROR: Invalid Test (zope.app.tree.tests.test_filters)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File
> "/usr/local/ZopeX3-3.0.0/build/lib.linux-i686-2.3/zope/app/tests/test.py",
> line 624, in get_suite
>     mod = package_import(modname)
>   File
> "/usr/local/ZopeX3-3.0.0/build/lib.linux-i686-2.3/zope/app/tests/test.py",
> line 600, in package_import
>     __import__(modname)
>   File
> "/usr/local/ZopeX3-3.0.0/build/lib.linux-i686-2.3/zope/app/tree/tests/tes
> t_filters.py", line 26, in ?
>     from test_adapters import SampleContent
> ImportError: cannot import name SampleContent
>
> ======================================================================
> ERROR: Invalid Test (zope.app.tree.tests.test_node)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File
> "/usr/local/ZopeX3-3.0.0/build/lib.linux-i686-2.3/zope/app/tests/test.py",
> line 624, in get_suite
>     mod = package_import(modname)
>   File
> "/usr/local/ZopeX3-3.0.0/build/lib.linux-i686-2.3/zope/app/tests/test.py",
> line 600, in package_import
>     __import__(modname)
>   File
> "/usr/local/ZopeX3-3.0.0/build/lib.linux-i686-2.3/zope/app/tree/tests/tes
> t_node.py", line 19, in ?
>     from basetest import BaseTestCase
>   File
> "/usr/local/ZopeX3-3.0.0/build/lib.linux-i686-2.3/zope/app/tree/tests/bas
> etest.py", line 26, in ?
>     from zope.app.tree.utils import TreeStateEncoder
> ImportError: cannot import name TreeStateEncoder
>
> ======================================================================
> FAIL: testUmask (zdaemon.tests.testzdrun.ZDaemonTests)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File
> "/usr/local/ZopeX3-3.0.0/build/lib.linux-i686-2.3/zdaemon/tests/testzdrun
> .py", line 244, in testUmask
>     self.assert_(not os.access(path, os.W_OK))
>   File "/usr/local/lib/python2.3/unittest.py", line 278, in failUnless
>     if not expr: raise self.failureException, msg
> AssertionError
>
> ----------------------------------------------------------------------
>
> ----------------------------------------------------------------------
> Ran 3955 tests in 566.296s
>
> FAILED (failures=1, errors=4)
> make: *** [check] Error 1
> p15142475:/usr/local/ZopeX3-3.0.0 # make install
> /usr/local/bin/python install.py -q build
> /usr/local/bin/python install.py -q install --skip-build --home
> "/usr/local/ZopeX3-3.0.0"
> Traceback (most recent call last):
>   File "/tmp/tmpSy5BEd.py", line 1, in ?
>     from distutils.util import byte_compile
>   File "/usr/local/lib/python2.3/distutils/util.py", line 9, in ?
>     import sys, os, string, re
> ImportError: /tmp/re.so: undefined symbol: PL_dowarn
> error: command '/usr/local/bin/python' failed with exit status 1
> make: *** [install] Error 1
> p15142475:/usr/local/ZopeX3-3.0.0 #
>
> --
> Geschenkt: 3 Monate GMX ProMail + 3 Top-Spielfilme auf DVD
> ++ Jetzt kostenlos testen http://www.gmx.net/de/go/mail ++
> _______________________________________________
> Zope maillist  -  Zope at zope.org
> http://mail.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://mail.zope.org/mailman/listinfo/zope-announce
>  http://mail.zope.org/mailman/listinfo/zope-dev )






More information about the Zope mailing list