[Zope3-Users] Zope 3.1.0 make error -- permissions
Alen Stanisic
alen.stanisic at gmail.com
Fri Dec 9 05:37:59 EST 2005
On Thu, 2005-12-08 at 20:23 -0600, cmire wrote:
> I'm just not sure what to change under that directory. I built Python 2.4.2
> as root, so I don't understand why I'm getting a permissions error on python
> when I try to build Zope 3.1.0 as root. I've tried different su variations;
> I've tried just opening a raw root console.
>
> I'm concerned about changing everything to 777 under Python-2.4.2 from a
> security standpoint. I'm trying to build a website based on Zope and I don't
> want just anybody to be able to arbitrarily execute python code.
>
> I reran make with "-d" to give me more details, and my guess is that Zope is
> being built using my python install, and python is trying to write the build
> file to the Zope-3.1.0 directory and can't. If this is the case -- how do I
> fix it? /usr/local/src is owned by root, as is /usr/local/src/Python-2.4.2
> and /usr/local/src/Zope-3.1.0. Permissions are 755 all around, at the
> directory level and under.
>
> Here is the tail end of the make -d output:
>
> No implicit rule found for `default'.
> Considering target file `build'.
> File `build' does not exist.
> Finished prerequisites of target file `build'.
> Must remake target `build'.
> /usr/local/src/Python-2.4.2 install.py -q build
> make: execvp: /usr/local/src/Python-2.4.2: Permission denied
> Got a SIGCHLD; 1 unreaped children.
> Putting child 0x08078210 (build) PID 6872 on the chain.
> Live child 0x08078210 (build) PID 6872
> Reaping losing child 0x08078210 PID 6872
> make: *** [build] Error 127
> Removing child 0x08078210 PID 6872 from chain.
> linux:/usr/local/src/Zope-3.1.0 #
>
>
Are you sure you specified a full path to python 2.4 executable rather
than a directory where python is installed. So instead of
configure --with-python /usr/local/src/Python-2.4.2
it should be something like
configure --with-python /usr/local/src/Python-2.4.2/python2.4
Alen
More information about the Zope3-users
mailing list