On 08/10/08 17:22, James Kanze wrote: > I've just downloaded the sources for vim (under Unix), and am > having a problem with the build procedure. According to > src/INSTALL, in order to build for multiple architectures, I > should create a target directory for each architecture, then > "`cd' to the directory where you want the object files and > executables to go and run the `configure' script. `configure' > automatically checks for the source code in the directory that > `configure' is in and in `..'." > > This isn't working, and a quick glance at the configure script > (both $root/configure and $root/src/configure) show that there > is nothing in those scripts which tries to figure out the > directory. (I'm invoking configure with an absolute pathname, > so ` dirname $0 ` should be sufficient for it to find it's > subdirectories.) > > For the moment, I'll just go ahead and build like I do with a > lot of other programs: configure, build and install from the > root, then do a distclean before repeating for another platform. > But if this is the way to do it, the documentation should be > updated. > > -- > James Kanze (GABI Software) email:[EMAIL PROTECTED] > Conseils en informatique orientée objet/ > Beratung in objektorientierter Datenverarbeitung > 9 place Sémard, 78210 St.-Cyr-l'École, France, +33 (0)1 30 23 00 34
To build several versions of Vim on a single system, I recommend the "shadow directory" method. "make shadow" will create a directory, src/shadow, with softlinks to the sources in src. Then rename it to whatever you want, set your configure settings (I recommend setting them via environment variables, see http://users.skynet.be/antoine.mechelynck/vim/compunix.htm ) then cd to it, run make (which will run configure if it hasn't yet been done) then make install. Notice that if you don't specify other values, "make" will build a program named "vim" and "make install" will install it in /usr/local/bin with runtime files in (for the current version) /usr/local/share/vim/vim72. You obviously don't want installs for different architectures to overwrite each other. For a partial install, there are other targets (installvimbin, installruntime etc.) which may come handy for some use cases. Best regards, Tony. -- A doctor, an architect, and a computer scientist were arguing about whose profession was the oldest. In the course of their arguments, they got all the way back to the Garden of Eden, whereupon the doctor said, "The medical profession is clearly the oldest, because Eve was made from Adam's rib, as the story goes, and that was a simply incredible surgical feat." The architect did not agree. He said, "But if you look at the Garden itself, in the beginning there was chaos and void, and out of that, the Garden and the world were created. So God must have been an architect." The computer scientist, who had listened to all of this said, "Yes, but where do you think the chaos came from?" --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
