[Zope-DB] Problems compiling PoPy

Gerhard Häring gerhard.haering@gmx.de
Tue, 4 Dec 2001 23:41:10 +0100


On Tue, Dec 04, 2001 at 04:20:15PM -0600, Slough, David wrote:
> All,
> 
> Sorry in advance if this problem has been discussed adequately here, but I
> have scoured lists in search of this one.  I am both a Python and Zope
> newbie, but I have a *nix box with the following installed:
> 
> RedHat 6.2
> PostgreSQL 6.5.3 - base, server, devel, and python rpms onboard

PostgreSQL 6.5.3 is pretty old and anything older than 7.0 isn't very
stable IIRC. 7.1 rocks. 7.2's realease is a matter of days. You should
check if 6.5.x is supported by PoPy at all.

> Python 1.5.2 - base and devel
> Zope 2.4.2 - compiled from source - runs no problem.
> 
> I wish to install PoPy2.7 and after that ZPoPyDA2.7.  As you can see, my
> issue is PoPy at the moment.  I have downloaded the source, installed the
> mxDate routines and I try to configure, I get errors as follows:
> 
> [root@machine]# ./configure --with-mxdatetime-headers=/usr/include
> --with-postgres-libraries=/usr/lib/pgsql \
> --with-postgres-includes=/usr/include/pgsql
> creating cache ./config.cache
> checking for python... /usr/bin/python
> checking python version... 1.5
> checking python installation prefix... /usr
> checking python installation exec_prefix... /usr
> checking definitions in Python library makefile... done
> checking location of python library... $(prefix)/lib/python1.5/site-packages
> checking location of python shared modules...
> $(exec_prefix)/lib/python1.5/site-
> packages
> checking location of mxDateTime... /usr/lib/python1.5/site-packages/DateTime
> checking for PQconnectStart in -lpq... no
> configure: error: can't build without PostgreSQL libraries
> 
> I have libpq installed (/usr/lib/...) and gcc recognizes it.

But do you also have the PostgreSQL header files installed?

Gerhard
-- 
mail:   gerhard <at> bigfoot <dot> de       registered Linux user #64239
web:    http://www.cs.fhm.edu/~ifw00065/    OpenPGP public key id 86AB43C0
public key fingerprint: DEC1 1D02 5743 1159 CD20  A4B6 7B22 6575 86AB 43C0
reduce(lambda x,y:x+y,map(lambda x:chr(ord(x)^42),tuple('zS^BED\nX_FOY\x0b')))