Roland Puntaier wrote:
> I've tried
>
> ./configure --enable-pythoninterp --enable-python3interp
>
> on Linux From Scratch with python 2.7 and python 3.2 both compiled with
> --enable-shared.
>
> I would have expected both to work in one instance of vim, but the same
> messages came up.
>
> E836: This Vim cannot execute :python after using :py3
> E837: This Vim cannot execute :py3 after using :python
>
> I had a look at auto/config.log and it showed that both could do without
> RTLD_GLOBAL.
> On the other hand auto/config.h only had
>
> #define PY_NO_RTLD_GLOBAL 1
>
> It turns out that an according #undef needs to be in config.h.in.
> I've added it for python 3, then a vim instance worked with both :python
> and :py3.
> The patch is attached.
Thanks for finding this pesky little problem! I'll include it soon.
--
"Lisp has all the visual appeal of oatmeal with nail clippings thrown in."
-- Larry Wall
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php