From owner-freebsd-questions@FreeBSD.ORG Tue Oct 7 07:38:06 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8BB3616A4B3 for ; Tue, 7 Oct 2003 07:38:06 -0700 (PDT) Received: from kanga.honeypot.net (kanga.honeypot.net [208.162.254.122]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5746843FAF for ; Tue, 7 Oct 2003 07:38:02 -0700 (PDT) (envelope-from kirk@strauser.com) Received: from pooh.strauser.com (pooh.honeypot.net [10.0.5.128]) by kanga.honeypot.net (8.12.9/8.12.9) with ESMTP id h97EbpmD036044 for ; Tue, 7 Oct 2003 09:37:55 -0500 (CDT) (envelope-from kirk@strauser.com) To: freebsd-questions@freebsd.org From: Kirk Strauser Date: Tue, 07 Oct 2003 09:37:51 -0500 Message-ID: <874qyl3ygw.fsf@strauser.com> Lines: 31 X-Mailer: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Subject: Handling of multiple Pythons on the same system X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Oct 2003 14:38:06 -0000 --=-=-= Content-Transfer-Encoding: quoted-printable How do you manage multiple versions of Python on the same machine? I'm running Zope on one of my servers and it requires Python 2.1 (and has known issues with later versions). I want to install other applications that require Python 2.3. I've installed the lang/python (2.3) and lang/python21 ports and everything is basically OK. Except, now, that I want to use the databases/py-psycopg port with both versions of Python. Whenever I build the port, I get either: py21-psycopg-1.1.7 or py23-psycopg-1.1.7 depending on whether /usr/local/bin/python is a link to python2.1 or python2.3 at the port's build time. Those packages are mutually exclusive; they both write some files to the same place, and write other files to version-specific paths. This is quickly becoming a hassle. Is there a good workaround for this situation? =2D-=20 Kirk Strauser "94 outdated ports on the box, 94 outdated ports. Portupgrade one, an hour 'til done, 82 outdated ports on the box." --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) iD8DBQA/gs+/5sRg+Y0CpvERAlJcAJkBFrNmuc/dyMHOAW7+6+U5RO6KUQCffZL8 IX+yfBvsVXDKtvLDkAXAAGg= =5rRt -----END PGP SIGNATURE----- --=-=-=--