On 18Mar2008 00:26, Ryan Schmidt <[EMAIL PROTECTED]> wrote: >> It seems to be related to the python install. "which python" was >> finding /usr/bin/python (the MacOSX python). I have now done this: >> cd /opt/local/bin >> ln -s python2.5 python >> >> and with /opt/local/bin at the start of my $PATH things are now working. >> >> Shouldn't the python packages "know" their preferred python? >> (/opt/local/bin/python2.4 or /opt/local/bin/python2.5)? >> Or shouldn't /opt/local/bin/python already be set up? > > You don't need to manually link python2.5 to python. Use the python_select > port instead.
Hmm, ok: ae003730:~ root# port search python_select python_select sysutils/python_select 0.1 Switch the default python interpreter ae003730:~ root# rm /opt/local/bin/python ae003730:~ root# port install python_select ---> Fetching python_select ---> Attempting to fetch select-0.1.tar.gz from http://svn.macports.org/repository/macports/users/mww/select/ ---> Verifying checksum(s) for python_select ---> Extracting python_select ---> Configuring python_select ---> Building python_select with target all ---> Staging python_select into destroot ---> Installing python_select 0.1_3+darwin_9 ---> Activating python_select 0.1_3+darwin_9 ---> Cleaning python_select ae003730:~ root# ls -ld /opt/local/bin/python lrwxr-xr-x 1 root admin 18 Mar 18 17:11 /opt/local/bin/python -> /usr/bin/python2.5 ae003730:~ root# which python2.5 /opt/local/bin/python2.5 ae003730:~ root# Surprised! [...] Ah: ae003730:~ root# python_select python25 Selecting version "python25" for python ae003730:~ root# ls -ld /opt/local/bin/python lrwxr-xr-x 1 root admin 24 Mar 18 17:15 /opt/local/bin/python -> /opt/local/bin/python2.5 Victory! Thanks. Did your -NDEBUG problem go away? Is python_select a macports thing or more general? The man page doesn't document the options (besides mentioning that they exist). How to fix that? Cheers, -- Cameron Simpson <[EMAIL PROTECTED]> DoD#743 http://www.cskk.ezoshosting.com/cs/ Standing on the faces of midgets, I can see for yards. - David N Stivers D0D#857 <[EMAIL PROTECTED]> _______________________________________________ macports-users mailing list [email protected] http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
