[Zope] newbie install problems
Maring, Steve
Steve_Maring@tvratings.com
Wed, 5 Jun 2002 12:33:20 -0400
Roger that. Successfully compiled Zope 2.5.1 with Python 2.1.3. When
trying to run the "start" script, however, it complains of permission
problems on the var directory:
2002-06-05T16:28:39 PANIC(300) z2 Startup exception
Traceback (innermost last):
File /home/smaring/zope/Zope-2.5.1-src/z2.py, line 690, in ?
IOError: [Errno 13] Permission denied:
'/home/smaring/zope/Zope-2.5.1-src/var/Z2.pid'
And rightly so considering the permissions:
drwxrwxr-x 2 1000 users 4096 Jun 5 12:28 var/
I added root to the users group in /etc/group, since I was trying to run the
start script as root, but that didn't help. It must be trying to run as a
different user. Anybody know what is going here? Or where I can find the
"FAQ"?
Thanks.
Steve
-----Original Message-----
From: Jens Vagelpohl [mailto:jens@zope.com]
Sent: Wednesday, June 05, 2002 11:47 AM
To: Maring, Steve
Cc: 'zope@zope.org'
Subject: Re: [Zope] newbie install problems
this is a FAQ: you must use python 2.1 with zope 2.5.1. python 2.2 is not
officially spported. as far as i know this is clearly mentioned in the
docs that come with the source distribution.
jens
On Wednesday, June 5, 2002, at 11:41 , Maring, Steve wrote:
> I'm venturing away from my J2EE cave for a bit to explore Python and Zope.
>
> I've compiled and installed Python 2.2.1 on my Linux box. I'm trying to
> compile Zope 2.5.1. I get the following error:
>
> [root@hebe Zope-2.5.1-src]# python wo_pcgi.py
>
>
----------------------------------------------------------------------------
> --
> Deleting '.pyc' and '.pyo' files recursively under
> /home/smaring/zope/Zope-2.5.1-src...
> Done.
>
>
----------------------------------------------------------------------------
> --
> Compiling python modules
>
>
----------------------------------------------------------------------------
> --
> Building extension modules
> cp ./lib/python/Setup20 ./lib/python/Setup
>
> ------------------------------------------------
> Compiling extensions in lib/python
> cp /usr/local/lib/python2.2/config/Makefile.pre.in .
> cp: cannot stat `/usr/local/lib/python2.2/config/Makefile.pre.in': No such
> file or directory
> Traceback (most recent call last):
> File "wo_pcgi.py", line 45, in ?
> File "wo_pcgi.py", line 33, in main
> File "/home/smaring/zope/Zope-2.5.1-src/inst/build_extensions.py", line
> 30, in ?
> make('lib','python')
> File "/home/smaring/zope/Zope-2.5.1-src/inst/do.py", line 61, in make
> do("cp %s ." % wheres_Makefile_pre_in())
> File "/home/smaring/zope/Zope-2.5.1-src/inst/do.py", line 32, in do
> if i and picky: raise SystemError, i
> SystemError: 256
>
>
>
> Is this "Makefile.pre.in" something that used to be in this directory on
> older versions of Python?
>
> Thanks.
> Steve Maring
> Tarpon Springs, FL USA
>
>
> _______________________________________________
> Zope maillist - Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://lists.zope.org/mailman/listinfo/zope-announce
> http://lists.zope.org/mailman/listinfo/zope-dev )