From owner-freebsd-ports@FreeBSD.ORG Mon Dec 29 22:51:03 2003 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C59D616A4CE for ; Mon, 29 Dec 2003 22:51:03 -0800 (PST) Received: from sbtm.yonsei.net (sbtm.yonsei.net [61.100.191.60]) by mx1.FreeBSD.org (Postfix) with ESMTP id CCF8743D2D for ; Mon, 29 Dec 2003 22:51:02 -0800 (PST) (envelope-from perky@sbtm.yonsei.net) Received: by sbtm.yonsei.net (Postfix, from userid 1001) id 35A3128434; Tue, 30 Dec 2003 15:51:01 +0900 (KST) Date: Tue, 30 Dec 2003 15:51:01 +0900 From: Hye-Shik Chang To: Khairil Yusof Message-ID: <20031230065101.GA22443@i18n.org> References: <20031229143701.GC947@streamyx.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20031229143701.GC947@streamyx.com> X-Accept-Language: ko, en User-Agent: Mutt/1.5.5.1i cc: ports@freebsd.org Subject: Re: python version, modules and Zope X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Dec 2003 06:51:03 -0000 On Mon, Dec 29, 2003 at 10:37:01PM +0800, Khairil Yusof wrote: > I'm starting to try port most of the Plone/CMF collective and any > dependencies, and I'm encountering this problem. > > USE_ZOPE=yes forces PYTHON_VERSION=python2.1 > > What happens is that, any python module dependencies, gets installed in > python2.1 site-packages directory, and usually conflicts with one > installed as python2.3. eg. > > py21-imaging vs py23-imaging > > Although they should co-exist peacefully, as they are installed in > separate directories, make install will complain that an older version > of py-imaging (py23-imaging in this case) is already installed. Similarly > portupgrade will try to upgrade py21-imaging to py23-imaging. Do you have up-to-date ports tree? Recursive version keeping in a dependent builds is added recently into bsd.python.mk and python modules that have same origin are co-exist even on my pkgdb too. % ls -d /var/db/pkg/py2*-cjkcodecs* /var/db/pkg/py21-cjkcodecs-1.0.2/ /var/db/pkg/py23-cjkcodecs-1.0.2/ /var/db/pkg/py22-cjkcodecs-1.0.2/ But we need to register py22-*, py21-* ports to HOLD_PKGS of portupgrade, because there's no mechanism to keep build-time environment variables on pkgdb. Hye-Shik