Wednesday, December 20, 2006

How much vim installation irritated me!

It happened such that none of the developers here in my office are happy with vi. They all wanted vim and that the latest version also. Now imagine the experience of installing in 30+ servers which runs FC4, with hellua dependancies to satisfy the vim rpm. I choose to do it with a source tarball. Wasnt easy as I thought. The first problem I faced was with the X11 libraries. The vim scripts were looking in /usr/X11R6/lib for the needed libraries in a 64 bit machine, and it complained the libraries are not compatible. Well, as I was in a hurry to finish the job (as always as it happens with me), I did a small rearrangement. Moved the lib in /usr/X11R6 to another name and created a symlink to lib64 with the name lib. Vim was still needy and I had to create symlinks for libXaw.so, libX11.so and libXt.so inside the lib64 folder.

Then the configure and make went fine. I was soo happy that its going on fine. Then after the make i was going to install and issued make install. It gave me a messaage "make: `install` is up to date". I was wondering why it would be giving such an error. I was going through the contents of the Makefile and found a line saying "If there are problems, cd to the src directory and run make there". What the hell, I thought, went inside the src folder and did a make install, it just went fine. The make install and the place where vim scripts search for the library files were funny, but apparently my job was to get vim running in all the machines. Yup, I did it.

No comments: