I am running into errors while trying to install Zope on a RedHat 7.1 servers.  I have tried installing Zope on two servers and get the same errors on both servers.  I want to run Zserver as a separate server apart from the Apache web server which is running on port 80.  I am installing the Zope-2.4.1-linux2-x86.tgz binary.

Can anyone help me?

When I run ./install, I get the following errors:

Compiling python modules
File "/usr/local/zope/lib/python2.1/test/nocaret.py", line 2
      [x for x in x] = x

SyntaxError: can't assign to list comprehension
SyntaxError: from __future__imports must occur at the beginning of the file (test_future3.py, line 3)
SyntaxError: from __future__imports must occur at the beginning of the file (test_future4.py, line 3)
SyntaxError: from __future__imports must occur at the beginning of the file (test_future5.py, line 4)
SyntaxError: from __future__imports must occur at the beginning of the file (test_future6.py, line 3)
SyntaxError: from __future__imports must occur at the beginning of the file (test_future7.py, line 3)
Then, it seems to creates the inituser, default database, pcgi resource file, start script, and stop script without error. 

When I run ./start, the Zserver seems to start.  I receive instructions about :8080 and :8021 ports, but then I get the following error:

PANIC (300) x2 Startup Exception
Traceback (innermost last):

File /usr/local/zope/z2.py. line 757, in ?
IOError: [Errno 13] Permission Denied: '/usr/local/zope/var/Z2.pid'
I have doubled check the permissions.  Every file under /usr/local/zope/ is owned by root:users. 

What might be going on?  Of course, when I try to open the zope program via a web browser, the error says that the server was not located.

Thanks for any help you may offer.
-- 
Michael Thomas                                  District Webmaster
Tigard-Tualatin School District                       Phone: 503.431.4053
6960 SW Sandburg Street                              Fax:503.431.4075
Tigard, OR 97223                                E-mail: mthomas@ttsd.k12.or.us