On Mon, Jul 14, 2008 at 10:48 PM, Marcus <[EMAIL PROTECTED]> 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 _______________________________________________ macports-dev mailing list macports-dev@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-dev