Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Apr 2009 06:50:02 GMT
From:      Andrew Jones <andy.larrymite@gmail.com>
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/133451: www/plone3 build fails. Plone3 needs python-2.4 but libxcb-1.2_1 needs Python 2.5
Message-ID:  <200904140650.n3E6o2ww091362@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/133451; it has been noted by GNATS.

From: Andrew Jones <andy.larrymite@gmail.com>
To: NAKAJI Hiroyuki <nakaji@jp.freebsd.org>
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 <nakaji@jp.freebsd.org> 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.
 >
 > <cite>
 > 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.
 > </cite>
 > --
 > NAKAJI Hiroyuki
 >



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200904140650.n3E6o2ww091362>