[Zope] psycopg with python2.1 on freebsd build error

zk zk at wspim.edu.pl
Mon Nov 3 16:56:59 EST 2003


On Mon, Nov 03, 2003 at 07:37:20PM +0000, Lee Harr wrote:
> I am trying to build psycopg on FreeBSD-stable to use with Zope.
> 
> What I did is:
> 
> setenv PYTHON_VERSION python2.1
> cd /usr/ports/databases/py-psycopg
> make
> 
> 
> and I get this error:
> 
> [...]
> creating Makefile
> /config.status: /usr/local/lib/pythonpython2.1/config/makesetup: not found
> ===>  Building for py21-psycopg-1.1.7
> gmake: Makefile: No such file or directory
> gmake: *** No rule to make target `Makefile'.  Stop.
> *** Error code 2
> 
> 
> Any clues appreciated.
> 

Try patch (in /usr/ports/databases/py-psycopg directory):
==================================================
--- Makefile.orig
+++ Makefile
@@ -30,7 +30,8 @@
 CONFIGURE_ARGS=        --with-python=${PYTHON_CMD} \
                --with-postgres-libraries=${LOCALBASE}/lib \
                --with-postgres-includes=${LOCALBASE}/include \
-               --with-mxdatetime-includes=${DATETIME_INC}
+               --with-mxdatetime-includes=${DATETIME_INC} \
+               --with-python-version=2.1
 DATETIME_DEP=  ${PYTHON_SITELIBDIR}/mx/DateTime/__init__.py
 DATETIME_INC=  ${PYTHON_SITELIBDIR}/mx/DateTime/mxDateTime/
==================================================

zk



More information about the Zope mailing list