Meaning of

Uldis Bojars captsolo at gmail.com
Mon Jul 14 15:40:38 PDT 2008


On Mon, Jul 14, 2008 at 10:48 PM, Marcus <mcalhoun at ...> wrote:
>> My plan with the symlink in the direction framework -> lib was to avoid
>> unnecessary reinstalls.
>
> I believe that in both cases, the problem lies in sys.prefix, which is
> ${prefix}/Library/Frameworks/Python.framework/Versions/2.5
>
> Just out of curiosity, why is ${prefix}/lib/python25 even necessary?
>
> The package swig picks up the framework directory via the statement
> in the configure script:
> PYPREFIX=`($PYTHON -c "import sys; print sys.prefix") 2>/dev/null`

Same with ./configure in Redland bindings which picks Python directories from:

  python_prefix=`$PYTHON -c 'import sys; print sys.prefix' 2>/dev/null`
  python_exec_prefix=`$PYTHON -c "import sys; print sys.exec_prefix"`

Uldis


More information about the macports-dev mailing list