2009/11/16 björn <[email protected]>
>
> 2009/11/16 Craig:
> > Hi Shirk,
> >
> > (to me it looks like) your last post doesn't look like it uses the 10.5
> SDK
> > switch and so does give Python2.6 but not transparency.
> >
> > When I use your configure rune with the 10.5 SDK switch added
> >
> > ./configure --enable-perlinterp --enable-pythoninterp --enable-rubyinterp
> > --with-features=huge --enable-gui=macvim --with-tlib=ncurses
> > --enable-multibyte
> >
> --with-python-config-dir=/System/Library/Frameworks/Python.framework/Versions/2.6//lib/python2.6/config/
> > --with-macsdk=10.5
> >
> > I get transparency but Python 2.5.4 :-(
> >
> > Am I missing something?
>
> There is a typo in the --with-python-config-dir option (two slashes
> before "lib"). Don't know if that is the problem since I've never
> used that option myself (so I can't say for sure if it should work or
> not). After the configure phase you can open up src/auto/config.mk to
> make sure that all (Python) flags are set correctly. If not, just
> edit the file, then make (note that calling "configure" will overwrite
> that file though). (Don't ask me exactly what the "correct" flags
> are...you'll have to experiment for yourself to figure that out.)
>
>From configure.in:
dnl On Mac OS X, when an SDK has been explicitly chosen we can't
rely
dnl on any of the search paths set above. The -framework flag does
it
dnl all for us.
if test -n "$MACSDK"; then
PYTHON_CFLAGS=
PYTHON_LIBS=-framework Python
PYTHON_CONFDIR=
PYTHON_GETPATH_CFLAGS=
fi
Even if I take the Python section from src/auto/config.mk when NOT using the
--with-macsdk switch and putting it into the src/auto/config.mk made when
using same, then I still get 2.5.4.
So it seems clear that Python2.6 in SL in incompatible with the 10.5 SDK.
-C
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_mac" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---