Quote:
Originally Posted by barunparichha
yes, you can have two versions of vim.
download vim source tar for version 1 and while compiling use "./configure --prefix=/home/vim1". So now your first version after being comiled would be in /home/vim1.
Similarly while compiling version 2 use "./configure --prefix=/home/vim2". So after sucessful compilation and build, version 2 would be in /home/vim2.
export your PATH variable to either /home/vim1 or /home/vim2 asper your requirement.
----
But I dont know why you need multiple version of vim at the same time.
|
So I got that prefix .configure install in but when I make the package, it gives me this:
/usr/bin/ld: skipping incompatible /usr/X11R6/lib/libXm.so when searching for -lXm
/usr/bin/ld: skipping incompatible /usr/X11R6/lib/libXm.a when searching for -lXm
/usr/bin/ld: skipping incompatible /usr/X11R6/lib/libXm.so when searching for -lXm
/usr/bin/ld: skipping incompatible /usr/X11R6/lib/libXm.a when searching for -lXm
/usr/bin/ld: cannot find -lXm
collect2: ld returned 1 exit status
make[1]: *** [vim] Error 1
make[1]: Leaving directory `/downloads/vim72/vim72/src'
make: *** [first] Error 2