[Zope] can't install PoPy

Casey Duncan cduncan@kaivo.com
Fri, 23 Mar 2001 08:00:25 -0700


Damir Bartakovic wrote:
> 
> on RedHat 7.0
> Postgres 7.0.2 in /usr/postgres (from the source .gz)
> Zope 2.3.0 in /home/zope (from the source .gz)
> 
> when I run ./configure I get:
> 
> 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... sed: can't read
> /usr/lib/python1.5/config/Makefile: No such file or directory
> done
> checking for install... /usr/bin/install
> 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 for PQconnectStart in -lpq... no
> configure: error: can't build without PostgreSQL libraries
> 
> ./configure --with-python=/home/zope/bin/python --with-postgres-libraries=/u
> sr/postgres/lib --with-post
> gres-includes=/usr/postgres/include
> 
> and some other combinations without effect.
> 
> I am a bit confused, because I can't remember a problem on my previous
> installation on RedHat 6.2.
> Do I have to build the /usr/lib/python1.5/config/Makefile somehow?
> why are the PostgreSQL Libraries not found?
> 
> Any clues?
> Thanks in advance!
> 

How did you install Postgres? Some of the RPM distros don't include all
of the libraries. Maybe try reinstalling Postgres from the source
tarball.

-- 
| Casey Duncan
| Kaivo, Inc.
| cduncan@kaivo.com
`------------------>