AW: [Zope] can't install PoPy -->now Zope don't find PoPy

Damir Bartakovic damir@stud.fbi.fh-darmstadt.de
Sun, 25 Mar 2001 15:36:17 +0200


First, Sorry for disturbing you again and thanks AdeL and the others,

With the python and postgres-dev installed I got build the PoPy-Module.
But where is Zope searching for it? I still get the error message
********************************************************************
2001-03-25T11:56:38 ERROR(200) Zope Couldn't import Products.ZPoPyDA
Traceback (innermost last):
  File /home/zope/lib/python/OFS/Application.py, line 530, in
import_products
    (Object: string)
  File /home/zope/lib/python/Products/ZPoPyDA/__init__.py, line 34, in ?
  File /home/zope/lib/python/Products/ZPoPyDA/DA.py, line 81, in ?
  File /home/zope/lib/python/Products/ZPoPyDA/PoPy_db.py, line 37, in ?
The PoPy module is not installed
********************************************************************

running make install I get:
gcc -shared  PoPymodule.o  -lpq -o PoPymodule.so
Installing shared modules...
  install -m 555 PoPymodule.so /usr/lib/python1.5/site-packages

So I made a symbolic link (ln -s ...) from /home/zope/lib/python/
lrwxrwxrwx    1 zope     root           46 Mar 25 13:09 PoPymodule.so ->
/usr/lib/python1.5/site-pac
kages/PoPymodule.so

I can't remeber that I did this before, but this IS WORKING with my old
installation.
Also copying PoPymodule.so didn't work.
It don't seems that the path for the modules in Zope 2.3.0 changed, or?
I am working with PoPy-2.0.2 and ZPoPyDA-1.2, is maybe there a known bug?
I don't see the mistake, thanks again for help.

more and more confused
Damir


> Hey,
>
> You need postgresql-dev and python-dev to build PoPy.
> Furthermore, if you are using redhat, you may need to change
> /usr/lib/postgresql to /usr/lib/pgsql in your Makefile
>
> Good Luck
>
> AdeL
>