On 04/12/08 18:57, sb wrote: > thanks Matt - can I set 'use gtk' anywhere, or should I have > configured it at build time? > Steve
At build time. See http://users.skynet.be/antoine.mechelynck/vim/compunix.htm for my Unix Vim HowTo, including the script which bash must source (not run) to set my configure options. It will pick GTK2 if it's available, which means that you must have the GTK2 "development" packages installed (gtk2-devel for RedHat or SuSE; on other distributions it might be gtk2-dev or even something else). You can force GTK2 GUI by meeans of export CONF_OPT_GUI='--enable-gui=gtk2' or export CONF_OPT_GUI='--enable-gui=gnome2' instead of the corresponding line shown in my HowTo. The latter means a GTK2 GUI with Gnome session support. On my system, with the options I have (see the above URL), GTK2 is tested first (and found), Gnome2 is also checked (and found) and that's the GUI I get regardless of other installed GUI packages. If configure (or make config or make reconfig) does not find the requested GUI it will say it in its sysout/syserr (which you should log), but I think it will proceed to set up the build for a non-GUI Vim, so after building Vim (and before installing the new version) you should always check src/vim --version |more to see if you got what you bargained for. You can also check less src/auto/config.cache less src/auto/config.h as soon as configure (or make config) has run, but it might be less easily readable for a human. Best regards, Tony. -- An extraordinary TALL KNIGHT in all black (possibly John with Mike on his shoulders) walks out from the dark trees. He is extremely fierce and gruesome countenance. He walks towards KING ARTHUR and PATSY, who are wazzing like mad. (Salopian slang, meaning very scared. almost to the point of wetting oneself, e.g. before an important football match or prior to a postering. Salopian slang meaning a beating by the school praeposters. Sorry about the Salopian slant to this stage direction - Ed.) "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
