Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 315 by [email protected]: Build bug in Python version checking for
OS X
https://code.google.com/p/vim/issues/detail?id=315
What steps will reproduce the problem?
1. Under OS X, build vim using -with-python-config-dir option, and or
setting flags so that a custom python installation should be used
while building vim.
2. after building, execute vim, it will crash.
3. use otool -L to check that vim is linked against the OS X default python
and not the specific one as it was configured.
What is the expected output? What do you see instead?
If it links correctly, it doesn't crash
What version of the product are you using? On what operating system?
OS X Mavericks, Vim 7.4.567.
Please provide any additional information below.
The following test from configure scripts is what is not allowing
me to set a custom python installation.
if test "x$MACOSX" = "xyes" && ${vi_cv_path_python} -c \
"import sys; sys.exit(${vi_cv_var_python_version} < 2.3)"; then
This is because sys.exit(false) is being considered as success by
the test and the first part of the if statement is always being
executed, even if my python version is 2.7.
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
--
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
---
You received this message because you are subscribed to the Google Groups "vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.