[Zope-DB] Problem with Psycopg installation

Lutz Steinborn l.steinborn@4c-ag.de
Fri, 9 Aug 2002 09:01:06 +0200


Good morning,


On Fri, 09 Aug 2002 14:52:26 -0800
Jeremy Rew <huxley1@westnet.com.au> wrote:

> Im having a problem running the configure command when trying to
> install Psycopg. I receive the error:
> checking for mxDateTime.h... configure: error: can't build without
> mx headers
> 
> I have installed the mx base package and it has placed itself in
> Zope-2.5.1/lib/python2.1/site-packages.
> 
> I ran the configure command as follows:
> 
> ./configure --with-postgres-libraries=/usr/local/pgsql/lib
> --with-postgres-includes=/usr/local/pgsql/include--with-mxdatetime-
> includes=/usr/Zope-2.5.1/lib/python2.1/site-packages/mx/DateTime/mx
> DateTime--with-zope=/usr/Zope-2.5.1
I can't believe that the mx includes are in this diretory.
Find the location of this includes an set your
--with-mxdatetime-includes to the correct direction.
How have you installed mx-date-time ??
rpm, apt-get or by source ?

> --with-python=/usr/Zope-2.5.1/bin/python --with-python-version=2.1
> 
> I think I may have a problem getting anything placed in the
> site-packages directory to work, as i also couldnt get the
> popymodule.so to work for the ZPoPy adapter.
> 
> Any ideas?
> 
> cheers
> Jeremy
> 
> 
> 
> 
> _______________________________________________
> Zope-DB mailing list
> Zope-DB@zope.org
> http://lists.zope.org/mailman/listinfo/zope-db