Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Zope: DB

Problem installing ZPoPyDA and PoPy

 

 

Zope db RSS feed   Index | Next | Previous | View Threaded


klaus.schniedergers at windriver

Sep 18, 2001, 5:32 PM

Post #1 of 2 (520 views)
Permalink
Problem installing ZPoPyDA and PoPy

Hi,

I'm trying to get ZPoPyDA up, but fail because it can't find the PoPy module.

Is this the correct way to install PoPy (on Solaris 2.7)?
($zope is my zope root directory)
- untar PoPy 2.0.8 in $zope/Zope-2.4.1-src/lib/python/Products
- ./configure (including some options to find the Postgres and mx
headers and libs)
- ./make; ./make install
This installs PoPymodule.so in $zope/lib/python2.1/site-packages

After restarting Zope, I don't see the PoPy module in the Zope management UI;
should it show up there? Also, as mentioned, ZPoPyDA doesn't find the PoPy
module.

Please help, and ignore my stupid question...I'm just starting to dive into
Zope and Python. Also, any pointers to FAQs or instructions that might help
are appreciated.

Thanks
Klaus


matt at zope

Sep 19, 2001, 4:28 AM

Post #2 of 2 (475 views)
Permalink
Re: Problem installing ZPoPyDA and PoPy [In reply to]

on 9/18/01 8:32 PM, Klaus Schniedergers at klaus.schniedergers [at] windriver
wrote:

Hi,

I'm trying to get ZPoPyDA up, but fail because it can't find the PoPy
module.

Is this the correct way to install PoPy (on Solaris 2.7)?
($zope is my zope root directory)
- untar PoPy 2.0.8 in $zope/Zope-2.4.1-src/lib/python/Products
- ./configure (including some options to find the Postgres and mx headers
and libs)
- ./make; ./make install
This installs PoPymodule.so in $zope/lib/python2.1/site-packages

After restarting Zope, I don't see the PoPy module in the Zope management
UI;
should it show up there? Also, as mentioned, ZPoPyDA doesn't find the PoPy
module.

Please help, and ignore my stupid question...I'm just starting to dive into
Zope and Python. Also, any pointers to FAQs or instructions that might help
are appreciated.

Thanks
Klaus



Hi Klaus;

The PoPy support needs only to be visible to the DA; the rest of Zope won't
know/care. I'm not up on PoPy, so I cant answer detailed questions, but I'd
guess that you need to do a couple things: set some environment variables
to tell code where things are, or maybe copy the PoPymodule.so file to the
ZOPE_ROOT/lib/python/Products/ZPoPyDA directory.

It also looks like you're using a pre-built Zope, hence the
$zope/lib/python2.1/site-packages -- I'm not sure if that really changes
things; but it may mean that you used a different Python to build PoPy with.
I'd double check that you have a PoPy that's built against python2.1 not
Python 1.5.2 or python 2.1.1 or anything else. Easy way to check that is to
run Zope's python module manually and try to import that shared object:

{pathtozope's}python

>>> import popymodule

If it spits out load errors thats a problem.

Zope db RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.