Date: Tue, 01 May 2007 19:51:48 +0100 From: Richard Tector <richardtector@thekeelecentre.com> To: Daniel Mouritsen <daniel.mouritsen@gmail.com> Cc: freebsd-stable@freebsd.org Subject: Re: Python 2.5 (and mod_python) Message-ID: <46378C44.5050202@thekeelecentre.com> In-Reply-To: <bae323940705011113t42917fe3p15bd6b36fe1e4d1f@mail.gmail.com> References: <bae323940705011113t42917fe3p15bd6b36fe1e4d1f@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Daniel Mouritsen wrote: > Hi :) > > First off, I am still new to the ports package management system, so be > gentle if the following text contains dumb questions yeah? > > Okies, here goes. I installed python 2.5 from the lang/python25 port. And > then installed mod_python from www/mod_python3 > > during install mod_python bullied python 2.4.4 onto my system, and > complied > against it. After this the default python binary on my system was 2.4.4 , > and reinstalling 2.5 didn't help this. First off, how can i change this > back? (im guessing that just copying the python2.5 binary is not a good > idea, is there a command for choosing the default python interpreter) > > secondly, how come the mod_python installation didnt choose to use 2.5? i > looked in the makefile, and it uses a variable called PYTHON_CMD , > shudn't > python 2.5 have set this variable? It is because mod_python uses the lang/python port as a dependency. This by default installs version 2.4. If you uninstall your current mod_python and python 2.4, then set PYTHON_VERSION=python2.5 in make.conf, if you install lang/python or mod_python, it'll then install and use lang/python2.5. Hope that helps, Richard
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?46378C44.5050202>
