psycopg with python2.1 on freebsd build error
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. _________________________________________________________________ The new MSN 8: advanced junk mail protection and 2 months FREE* http://join.msn.com/?page=features/junkmail
Get the latest sources and install it as described in the docs using "configure". -aj --On Montag, 3. November 2003 19:37 Uhr +0000 Lee Harr <missive@hotmail.com> 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.
_________________________________________________________________ The new MSN 8: advanced junk mail protection and 2 months FREE* http://join.msn.com/?page=features/junkmail
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
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
[Lee Harr wrote (missive@hotmail.com) on 11/3/03 2:37 PM]
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
You can try it like this make PYTHON_VERSION=2.1 install clean Or just install it and the dependencies from source. Here is a howto that does not talk about the dependencies, which are verey easy to install as well: http://www.zettai.net/Howto/1064524029/view <--> george donnelly ~ http://www.zettai.net/ ~ "Quality Zope Hosting" Shared and Dedicated Zope Hosting ~ Zope Servers ~ Zope Websites Yahoo, AIM: zettainet ~ ICQ: 51907738 ~ Sales (USA): 1-866-967-3669 Sent using the Entourage X Test Drive.
participants (4)
-
Andreas Jung -
george donnelly -
Lee Harr -
zk