[Zope] Install problems on FreeBSD

Steve Spicklemire steve@spvi.com
Thu, 10 Aug 2000 07:52:18 -0500 (EST)


Hi George,

>>>>> "George" == George Osvald <mail@okstudio.com.au> writes:


    George> Install from source: demon:~/zope $ ./start Traceback
    George> (innermost last): File
    George> "/home/virtuals/gosvald/zope/z2.py", line 554, in ?  exec
    George> "import "+MODULE in {} File "<string>", line 1, in ?  File
    George> "/home/virtuals/gosvald/zope/lib/python/Zope/__init__.py",
    George> line 94, in ?  import ZODB, ZODB.ZApplication, imp File
    George> "/home/virtuals/gosvald/zope/lib/python/ZODB/__init__.py",
    George> line 85, in ?  import sys, ExtensionClass, TimeStamp,
    George> cPersistence, Persistence ImportError:
    George> /home/virtuals/gosvald/zope/lib/python/ExtensionClass.so:
    George> Undefined symbol "PyMethod_Type" demon:/zope $

This looks like a problem with the shared library you've built. You
shouldn't need root access to build Zope. Did you install the python
port, or did you build your own python?

    George> install from binaries: demon:~/zope2 $ ./start 'import
    George> site' failed; use -v for traceback Traceback (innermost
    George> last): File "/home/virtuals/gosvald/zope2/z2.py", line
    George> 524, in ?  import ZServer ImportError: No module named
    George> ZServer demon:/zope $

This looks like a problem with your python binary's idea of
PYTHONPATH. What happens when you type 'python' on the command
line? Do you get 'import site failed'?

-steve

    George> George Osvald OK Studio mail@okstudio.com.au
    George> http://www.okstudio.com.au Ph: (02) 9792 8501 Fax: (02)
    George> 9792 8502 Mob: 0411 766 792 PO Box 552 Padstow NSW 2211
    George> AUSTRALIA


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