[Zope] PoPy.2.0.1 Needs Postgresql?

Siggy Brentrup bsb@winnegan.de
24 Jun 2001 13:57:47 +0200


Russell Hires <rhires@earthlink.net> writes:

> The error I get is listed below. I'm trying to install the stuff
> that will allow for me to work with Postgresql, and I'm following
> the HOWTO -- actually, I'm not. I can't believe that I have to
> *un*install Postgresql to get PoPy to work. That doesn't make
> sense. Besides, I don't work with source much anyway, I've got
> Debian ;-) Anyway, I did the ./configure, and this is the error I
> get. Anyone know what I can change to get it to work?

> checking for PQconnectStart in -lpq... no
> configure: error: can't build without PostgreSQL libraries

Assuming you have apt installed and correctly configured (on
an up to date Debian/sid):

keuner:~$ apt-cache --names-only search zope-p | grep Database
zope-popyda - A Database Adapter connecting Zope and PostgreSQL
zope-psycopgda - Zope Database Adapter based on python-psycopg
zope-pygresqlda - A Zope Database Adapter for PostgreSQL

Hence, as root:
# apt-get install zope-popyda zope-psycopgda zope-pygresqlda


If you insist on installing from source, you need some -dev packages,
notably postgresql-dev.


-- 
Siggy Brentrup - bsb@winnegan.de - http://www.winnegan.de/
****** ceterum censeo javascriptum esse restrictam *******