[548] Compiling VIM with Python 2.5 support on Windows XP (2/2)
in series: Setting up Python 2.5 support in VIM
video tutorial by Jack Atkinson
Name:
[4916] Jack Atkinson
Member:
23 months
Authored:
2 videos
Description:
Hi, I'm an embedded software and design engineer consultant who likes to program a lot. My skill sets include C/C++ and python which is quickly becoming my favorite. I dabble in other languages as w ...
Our authors tell us that feedback from you is a big motivator. Please take a few moments to let them know what you think of their work.
This video is the last video in a two part series showing the user how to setup Python 2.5 support in VIM for Windows XP. The same procedure can be applied to any new version of Python, and may prove helpful with Python 2.6 or 3.0 is released sometime this year. Also, a very similar procedure is done for other languages that VIM supports (Ruby, Perl, TCL). In this video, I show you how to download and extract the sources files, setup the makefile, compile VIM, and then install the new executable. You'll be surpised how easy this really is!
Video Tutorials related by tag:
Got any questions?
Get answers in the ShowMeDo Learners Google Group.
Video statistics:
- Video's rank shown in the most popular listing
- Video plays: 2675 (since July 30th)
- Plays in last week: 24
- Published: 23 months ago
Thank-yous, questions and comments
If this video tutorial was helpful please take some time to say thank-you to the authors for their hard work. Feel free to ask questions. Let the author know why their video tutorial was useful - what are you learning about? Did the video tutorial save you time? Would you like to see more?
You may also want to see our ShowMeDo Google Group to speak to our active users and authors.
Very useful, Thanks
Second video times out around the 1:20 mark when the source is downloaded. I then get the feedback form which cannot be cancelled.
Very annoying
Useful, though this pop up is really annoying.
Again, very cool and thanks again!
Had a little trouble compiling just vim.exe, had to do: make -f make_ming.mak instead and let it build all files.
Very low voice, I am not a dog with special ears ,, and I don't know but ls command etc wern't working on my Windows ? x-(
great video thanks
It'll be my first task at work tomorrow :)
Thanks!
nice. Worked for me. And saved a deal of that precious time stuff.
Thanks :) very helpful
Hi
I tried the same steps and I am getting the same errors as Eric Lake. Any help?
Works on Vista too !!
Although it's a blatant hack, you can copy python25.dll to your Vim runtime directory and rename it as python24.dll. Vim warns about a version number mismatch, but it seems to work.
Jack,
Sorry about that. I just watched the first video in the series and saw what you mean. Thanks for the great tutorial.
Eric,
This video is a second in a series of the two. The first video covers installing mingw compiler. That's what I used to compile VIM. I renamed the mingw make executable to "make.exe" and then made sure mingw appeared in my windows path before all other compilers that may have a make utility.
What are you using to compile vim in the video? I have tried the make included in unxutils but I get the following error:
make (e=2): The system cannot find the file specified.
make: *** [gobj/buffer.o] Error 2
I have tried with both the ActiveState version of Python and the installer that comes from Python.org.
thanks,i like it .
Thanks Jack for a great video! It's even better than I expected. I basically did the same thing the hard way (by installing an alternate version to get the updated executable and then plugging it into the appropriate spot in the vim directory of the official version. There were some problems with the windows installation program, so I had to use the standard installation, not the alternate installation). Your way is much, much better. I am sure that the Ruby crowd appreciates your effort as well. I will try it myself, shortly.
Thanks again,
Jerol
Ah, thanks for the tip on the link creations. I'll be sure to get it right next time:-)
Hi Jack - great video. This looks really useful! I'm not going to be in a rush to compile vim on Windows any time soon but it is kinda cool knowing that this guide is here.
Are you going to let the vim/mingw people know about your videos? I bet they have users who'd love to watch them.
I made 2 tiny changes in your description text - your hyperlinks used the wrong format. You'd used:
'Python 2.5<http://www.python.org/>'
with straight-single-quotes, no space before the first angle bracket and no training underscore, the correct format is:
`Python 2.5 <http://www.python.org/>`_
with backward-single-quotes, a space before the angle bracket and a training underscore. RestructuredText is a bit fussy, you just have to copy the example in that right sidebar character for character :-)
Cheers,
Ian.
Video published, thanks for contributing to ShowMeDo



