[Zope] Zope 2.3.1 install from source

Blue, Neil NBlue@synomics.com
Tue, 1 May 2001 09:00:40 +0100

I have had the same problems too. In the end I am running Zope 2.3.1 =
Python2.1 there are a lot of deprecation statements but it starts :)


-----Original Message-----
From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Petr
Sent: 27 April 2001 05:48
To: Tino Wildenhain
Cc: zope@zope.org
Subject: Re: [Zope] Zope 2.3.1 install from source

>>>>> On Tue, 24 Apr 2001 18:09:50 +0200, Tino Wildenhain
<tino@wildenhain.de> said:

Hi Tino,
I have read your document which you noted but still I can't start Zope
2.3.1 (from source) together with python 1.5.2 built also from
source. Both apps (Zope and Python) are located in my home folder at
FreeBSD box (I am not root).  When I compile Zope with my Python
everything is OK (Zope installation successfull) but it is not possible
to start Zope.  When start script is invoked this message appears:

bash-2.04$ ./start
2001-04-26T07:55:38 PANIC(300) z2 Startup exception
Traceback (innermost last):
  File /usr/home/knapek/apps/Zope-2.3.1-src/z2.py, line 566, in ?
  File <string>, line 1, in ?
  File =
line 94, in ?
  File =
line 85, in ?
/usr/home/knapek/apps/Zope-2.3.1-src/lib/python/ExtensionClass.so: =
symbol "PyMethod_Type"

I would like to know what am I doing bad?  Can anybody help me?

My steps in building of Python:
1. untar py152.tgz in "MYHOME/apps/" folder =
is created)
2. modification of Setup file in MYHOME/apps/Python-1.5.2/Modules =
(addition of some commented modules)
3. call configure --with-thread --prefix ~/apps/python1.5.2 at top of
untarred python
4. call make also at top of untarred python
5. call make install at top of untarred python

After this python is installed in "MYHOME/apps/python1.5.2" directory
and I can start it with alias mypython.

Building of Zope 2.3.1 from sources step by step:
1. untar Zope2.3.1-src.tgz in "MYHOME/apps/"
("MYHOME/apps/Zope-2.3.1-src/" is created)
2. call mypython wo_pcgi.py from top of untarred Zope

After this building of Zope is succesfull but when I try to call =
from top of installed Zope ("MYHOME/apps/Zope-2.3.1-src/") the above
noted error message is returned.  Does anybody know where the mistake =
building of both python and Zope is?=20

    TW> Hi Petr, it is sufficient if you built your python with =
    TW> May be http://www.zope.org/Members/tino/ZopeNetBSD is also
    TW> helpful for you. You may probably skip the part involving
    TW> unproven-pthreads. May be not.

    TW> HTH Tino Wildenhain

    TW> --On Dienstag, 24. April 2001 13:22 +0200 Petr Knapek
    TW> <knapek@knapek.pvt.net> wrote:

    >> Hello Zopists, I would like to know how to correct build and
    >> install Zope 2.3.1 from sources on FreeBSD box.  On that box
    >> there are few pythons and I need to build Zope with my own build
    >> python which is in my home directory.  I am not sure if to run
    >> wo_pcgi.py with my python is sufficient.
    >> Another question is if python for Zope must be compiled with
    >> dynamic loading of modules.
    >> Thanks for help, if you know any documentation, please give me
    >> URL.


Petr Kn=E1pek
Network Development
NEXTRA Czech Republic s.r.o. http://www.nextra.cz/
V Celnici 10 / CZ - 117 21 Praha 1 / Czech Republic
Tel: +420/2/96 355 111 / Mobile: +420/604-202 611
E-Mail: petr.knapek@nextra.com

Contact address:
Hlinky 114 / CZ - 603 00 Brno / Czech Republic
Tel: +420/5/43 554 150
see Disclaimer http://www.nextra.cz/disclaimer/

Zope maillist  -  Zope@zope.org
**   No cross posts or HTML encoding!  **
(Related lists -=20
 http://lists.zope.org/mailman/listinfo/zope-dev )