[Zope3-Users] Installing Zope3 on Redhat AS 4 has "make check" problems

pms2111 at columbia.edu pms2111 at columbia.edu
Mon Nov 28 06:06:31 EST 2005


Hi,

I am new to Zope and am having problems installing it on a fresh Red
Had Linux AS 4 machine. In summary, Zope3 seems to compile without
error (and the daemon can even get started), but "make check"
causes errors to occur on the ZEO tests. Something about "No child
processes." It also fails on zdaemon.tests.testzdrun.ZDaemonTests.
I am not running as root.

Since this linux distribution uses Python 2.3.4 as the default, I
downloaded and compiled Python 2.4.1. The new python interpreter
was "make altinstall" into /usr/bin/python2.4 as to not clobber the
original /usr/bin/python which Red Hat utils seem to be dependent
upon.

Here is some background on my system:

$ whoami
psun
$ uname -a
Linux plato 2.6.9-22.0.1.EL #1 Tue Oct 18 18:29:40 EDT 2005 i686
i686 i386 GNU/Linux
$ /usr/bin/python2.4
Python 2.4.1 (#1, Nov 28 2005, 18:39:16)
[GCC 3.4.4 20050721 (Red Hat 3.4.4-2)] on linux2
Type "help", "copyright", "credits" or "license" for more
information.
>>>

The following is an abridged transcript of the steps I used to try
and install Zope3:

$ tar -zxf Zope-3.1.0.tgz
$ cd Zope-3.1.0
$ ./configure --with-python /usr/bin/python2.4

Configuring Zope installation

Using Python interpreter at /usr/bin/python2.4
$ make
/usr/bin/python2.4 install.py -q build
$ make check
/usr/bin/python2.4 install.py -q build
/usr/bin/python2.4 test.py -v
Running UNIT tests at level 1
Running UNIT tests from
/home/psun/src/Zope-3.1.0/build/lib.linux-i686-2.4
...[many many dots]...
Error in test checkReadOnlyStorage
(ZEO.tests.testConnection.FileStorageReconnectionTests)
Traceback (most recent call last):
  File "/usr/lib/python2.4/unittest.py", line 270, in run
    self.tearDown()
  File
"/home/psun/src/Zope-3.1.0/build/lib.linux-i686-2.4/ZEO/tests/ConnectionTests.py",
line 122, in tearDown
    os.waitpid(pid, 0)
OSError: [Errno 10] No child processes


Error in test checkReconnectFallback
(ZEO.tests.testConnection.FileStorageReconnectionTests)
Traceback (most recent call last):
  File "/usr/lib/python2.4/unittest.py", line 270, in run
    self.tearDown()
  File
"/home/psun/src/Zope-3.1.0/build/lib.linux-i686-2.4/ZEO/tests/ConnectionTests.py",
line 122, in tearDown
    os.waitpid(pid, 0)
OSError: [Errno 10] No child processes

[Many more errors in originating from ZEO/tests/* files omitted]
.........

Failure in test testRunIgnoresParentSignals
(zdaemon.tests.testzdrun.ZDaemonTests)
Traceback (most recent call last):
  File "/usr/lib/python2.4/unittest.py", line 260, in run
    testMethod()
  File
"/home/psun/src/Zope-3.1.0/build/lib.linux-i686-2.4/zdaemon/tests/testzdrun.py",
line 237, in testRunIgnoresParentSignals
    self.assert_(is_started, "spawned process failed to start in a
minute")
  File "/usr/lib/python2.4/unittest.py", line 309, in failUnless
    if not expr: raise self.failureException, msg
AssertionError: spawned process failed to start in a minute

...................

Ran 6991 tests in 311.657s

FAILED (failures=1, errors=18)
make: *** [check] Error 1


However, the daemon seems to run OK, and I can connect to
http://localhost:8080.

Can anyone help me with this? I have been racking my brains for
hours trying to figure this out.

Thanks!

--Peter Sun





More information about the Zope3-users mailing list