From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Apr 14 06:50:02 2009 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E0DAC106566C for ; Tue, 14 Apr 2009 06:50:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id CE61F8FC13 for ; Tue, 14 Apr 2009 06:50:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n3E6o2p7091363 for ; Tue, 14 Apr 2009 06:50:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n3E6o2ww091362; Tue, 14 Apr 2009 06:50:02 GMT (envelope-from gnats) Date: Tue, 14 Apr 2009 06:50:02 GMT Message-Id: <200904140650.n3E6o2ww091362@freefall.freebsd.org> To: freebsd-ports-bugs@FreeBSD.org From: Andrew Jones Cc: Subject: Re: ports/133451: www/plone3 build fails. Plone3 needs python-2.4 but libxcb-1.2_1 needs Python 2.5 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Andrew Jones List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Apr 2009 06:50:03 -0000 The following reply was made to PR ports/133451; it has been noted by GNATS. From: Andrew Jones To: NAKAJI Hiroyuki Cc: bug-followup@freebsd.org Subject: Re: ports/133451: www/plone3 build fails. Plone3 needs python-2.4 but libxcb-1.2_1 needs Python 2.5 Date: Tue, 14 Apr 2009 16:13:55 +1000 Hi Nakaji thanks for your response. No I had not set PYTHON_DEFAULT_VERSION to python2.5 in /etc/make.conf. I have set it now and followed the instructions below (the both python2.4 and python2.5 co-existing) however I still encounter the "libxcb-1.2_1 needs Python 2.5 at least. But you specified 2.4." error. Thanks Andrew On Wed, Apr 8, 2009 at 11:24 AM, NAKAJI Hiroyuki wr= ote: > Thanks for a report. > > Do you set PYTHON_DEFAULT_VERSION in your /etc/make.conf? > > In /usr/ports/UPDATING, you can see the instruction about python upgrade > from 2.4 to 2.5. > > > 20070730: > =A0AFFECTS: users of lang/python24 and py-* > =A0AUTHOR: python@FreeBSD.org > > =A0The default version of Python has been changed from 2.4.x to 2.5.x. > =A0If you have 2.4.x installed, perform an upgrade of lang/python24 to > =A0lang/python25 with a command like: > > =A0 =A0 =A0 =A0# portupgrade -o lang/python25 lang/python24 > > =A0If you want to keep 2.4.x installed alongside 2.5.x, set the > =A0PYTHON_DEFAULT_VERSION variable to 'python2.5' without quotes in make.= conf, > =A0then go to lang/python and execute > > =A0 =A0 =A0 =A0# portupgrade -R python > > =A0Once the installed Python has been updated to 2.5, by using one of the > =A0methods above, it is required to run the upgrade-site-packages target = in > =A0lang/python to assure that site-packages are made available to the new= Python > =A0version. > > =A0 =A0 =A0 =A0# cd /usr/ports/lang/python && make upgrade-site-packages > > =A0This Makefile target requires ports-mgmt/portupgrade to be installed. > > -- > NAKAJI Hiroyuki >