[Zope-DB] PoPy

Brian Morton zopedb@restaurants101.com
Sun, 27 Apr 2003 18:32:56 -0600


Hi Luke,

Don't know if I can help you get the PoPy install working because I 
finally installed Psycopg to use as my database adaptor for Postgresql. 
I tried all three and then finally got Psycopg working. None of them 
are "simple" to install.

If you want to use Pscyopg there are some helpful hints inside the FAQ. 
I followed the instructions EXACTLY of the first answer from the FAQ 
and everything worked. I also installed everything from source not 
RPM's (or in my case .debs). That means you need:

Python 2.1.3 installed "--with-threads"
Zope 2.6.1
EgenixMXDateTime
Postgresql 7.3
Psycopg (forgot version number)

I had a tough time because I had multiple installs of python on my 
computer. Finally I got rid of all of them and started over with 2.1.3.

Postgresql should have "-make-install-allheaders" (the syntax might be 
wrong) or Psycopg will not compile and you have to compile MXDateTime 
first.

I am a little hazy on the details right now and am pressed for time but 
I could send you some more information later this evening if you need 
more help. I just remember what a tough time I had until finally I got 
it working. Course, now it all works like a charm.

Brian



On Friday, April 25, 2003, at 06:47 PM, Luke Vanderfluit wrote:

> Hi, I have installed ZOPE 2.6.1 and want to get it working with 
> Postgresql 7.3
> on my RedHat 8.0 box.
> I undertook to install ZPoPyDA-2.0.8 but it needs the PoPy module.
> I undertook to install PoPy-2.0.8 but it complains as follows:
>
> ############################
> loading cache ./config.cache
> checking for python... /usr/bin/python
> checking python version... 2.2
> checking python installation prefix... /usr
> checking python installation exec_prefix... /usr
> checking definitions in Python library makefile... sed: can't read
> /usr/lib/python2.2/config/Makefile: No such file or directory
> done
> checking for install... /usr/bin/install
> checking location of python library... 
> $(prefix)/lib/python2.2/site-packages
> checking location of python shared modules...
> $(exec_prefix)/lib/python2.2/site-packages
> checking how to run the C preprocessor... /lib/cpp
> checking for mxDateTime.h... yes
> checking location of mxDateTime... 
> /usr/lib/python2.2/site-packages/DateTime
> checking for PQconnectStart in -lpq... no
> configure: error: can't build without PostgreSQL libraries
> #################################
>
> I have used the option '--with-postgresql-libraries' and most paths 
> (including
> /usr/lib, /usr/share/installs/pgsql/lib [where I have postgres 
> installed])
>
> however the error remains the same.
>
> I want to get ZOPE working with Postgresql,
> any help greatly appreciated,
>
> kind regards,
>
> ===========================
> "don't turn off the interior light"
> ===========================
> Luke Vanderfluit Mobile: 0421 276 282
>
> _______________________________________________
> Zope-DB mailing list
> Zope-DB@zope.org
> http://mail.zope.org/mailman/listinfo/zope-db
>