libpython.dylib sym link ?

Rainer Müller raimue at macports.org
Wed Sep 14 05:24:17 PDT 2011


On 09/13/2011 07:54 PM, Christopher Jones wrote:
> In the configure script there are hacks like
>
> pythonvers=`python -c 'import sys; sys.stdout.write(sys.version[:3])'`
>
> … so basically it picks up whatever the user has as there default
> 'python' version and uses that as the version. This explains why I get
> the output above, and why on Lion python 2.7 seems OK but 2.6 fails,
> whilst when I was still on SL, 2.6 was OK and 2.7 failed.
>
> I'll raise the issue with the root devs, to see if it would be possible
> to fix this…

As an example, for vim I hacked a --with-python=/path/to/bin/python into 
the configure script which will be used instead of plain "python". This 
way I can pass --with-python=${prefix}/bin/python2.7 in the +python27 
variant.

Rainer


More information about the macports-users mailing list