[Zope] ZPoPyDA woes

2001-01-22 Thread J B Bell

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?

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.

I eagerly anticipate any clues, and thank everyone for their
attention.

--JB

___
Zope maillist  -  [EMAIL PROTECTED]
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 )




Re: [Zope] ZPoPyDA woes

2001-01-22 Thread ender

the most recent versions of popy are currently hosted on sourceforge.

http://www.sourceforge.net/projects/popy
http://www.sourceforge.net/projects/zpopy

popy wants some includes which are not included in a normal source make
of popy. catalog/fe??h. i generally just copy them over from the source 
directory to the installation directory

also if anyone is curious popy seems to work fine against postgres7.1b3,
which includes massive improvements to postgres. no 8k row limits, outer 
joins, speed improvements, etc.

cheers

kapil


On Monday 22 January 2001 12:11, 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?

 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.

 I eagerly anticipate any clues, and thank everyone for their
 attention.

 --JB

 ___
 Zope maillist  -  [EMAIL PROTECTED]
 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 )

___
Zope maillist  -  [EMAIL PROTECTED]
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 )




Re: [Zope] ZPoPyDA woes

2001-01-22 Thread jpenny

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  -  [EMAIL PROTECTED]
 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 )
 

___
Zope maillist  -  [EMAIL PROTECTED]
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 )




Re: [Zope] ZPoPyDA woes

2001-01-22 Thread J B Bell

On Mon, Jan 22, 2001 at 04:07:14PM -0500, [EMAIL PROTECTED] wrote:
 On Mon, Jan 22, 2001 at 12:11:31PM -0800, J B Bell wrote:

  [JB whines about his troubles, including the mysterious instructions
  to configure, make,  make install]
 
 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.

LOL!!!  Now I feel much less harshly about his struggle.  Geez, what a
pain.

  [PoPy wants includes not in my postgres install]
 
 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.

Urm, yeah.  I'm an old FreeBSD curmudgeon, so I all-too-happily install
from tarballs if the packages are not fresh enough for my taste.
Presumably I should be running woody.

 Also, there is a far newer version available from
 http://www.sourceforge.net/package/projects/popy
 and
 http://www.sourceforge.net/package/projects/zpopyda
 
Aha!  Now, here I feel complaint is not out of order.  These versions
worked great (though I still needed to hack the Makefile for PoPy).  If
there were reference on the Zope site, I could have avoided at least a
couple hours' suffering.  I know it's a pain maintaing a site (heck, my
personal site is years out of date), but would it be too awful to just
note "development is now being carred out at sourceforge.net, please go
there"?

Anyway, thanks to all for your help.  I should have noted, btw, that I
am subscribed to the list, so there's no need to Cc: me.

 Jim Penny

Cheers!

--JB

___
Zope maillist  -  [EMAIL PROTECTED]
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 )