ClosestStorm / macvim

Automatically exported from code.google.com/p/macvim
0 stars 0 forks source link

problems with python install used for build #478

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

0. on mountain lion.

1. install the anaconda python distribution and prepend the bin directory to 
the PATH. 

2. either: install precompiled snapshot-71; or: compile from source, following 
the compilation guide, with python support

3. start commandline or GUI macvim, then
:set ft=python
enter insert mode
<C-X><C-P>

What is the expected output? What do you see instead?

expected: some completion options
actual: crash. when using the console, one sees the cause is python-related

What version of MacVim and OS X are you using (see "MacVim->About MacVim"
and  "Apple Menu->About This Mac" menu items, e.g. "Snapshot 40, 10.5.6
Intel")?

see above

Please provide any additional information below.

the crash can be _fixed_ by compiling from source after resetting the PATH so 
that the system python is found first. 

in other words, the python version that is linked against is determined by the 
PATH during build. 

at runtime, apparently the system python is used always and fails, if an 
alternative python was built against (my interpretation)

oddly enough, the pre-built binary crashes in the same way for me. maybe it was 
not built against the standard 10.8 system python?

Original issue reported on code.google.com by bckr...@gmail.com on 18 Sep 2013 at 5:51