On Mon, Jan 22, 2001 at 12:11:31PM -0800, J B Bell wrote:
Dear comrades in zopeness:
For some time now I have been struggling trying to get Zope to talk to Postgres. I am now nearly successful and hope that the revolutionary spirit of fellow zopatistas will carry the day.
Background:
Debian 2.1r2 on a PII 600 or so (the machine is pretty loaded) Postgres 7.0.3 Python 1.5.2 PoPy 1.4.1 ZPoPyDA 0.7
The most recent vexation is simple: after expanding ZPoPyDA.0.7.tar.gz (dl'ed from www.zope.org/Members/tm), there is no configure file and no Makefile. Like many products, it just expands out into lib/python/Products/ZPoPyDA/*. However, the README file says to run "./configure; make; make install". In an acronym, WTF?
Documentation mistake. Thierry, the main author, is French, was working for an Italian firm at the time of that release, and trying to document in English. Not an ideal situation.
Bonus question: I had a terrible time with installing PoPy itself until I modified the makefile to have a second -I argument going back to the source (.../postgres-7.0.3/src/include). One or the other (the source or the installed include, that is) would result in various missing *.h files. Did I install postgres incorrectly? There was no .../include/catalog directory at all in the installed directories, which PoPy wanted.
If you installed postgres and postgres-dev from debian, it should have installed clean. The packages were developed under Debian! Also note that zope-zpopyda and python-popy are part of debian. The Debian version of these packages are a bit stale. I should have new ones uploaded by Next Monday. Also, there is a far newer version available from http://www.sourceforge.net/package/projects/popy and http://www.sourceforge.net/package/projects/zpopyda Jim Penny
I eagerly anticipate any clues, and thank everyone for their attention.
--JB
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )