On Fri, 20 Apr 2007 11:09:11 -0400 "Marv Boyes" <[EMAIL PROTECTED]> wrote:
> Basically, what I'm trying to do is have Vim, with GUI, always > patched-up-to-date. Is AAP the best way to do this on Ubuntu? If so, I > can't seem to find a clear answer as to how to do so (i.e., it > installs fine, patches fine, but I can't get a GUI to save my life). > I'm content to use the Ubuntu packages, as long as subsequent uses of > "aap update" give me the same version of Vim in both text and GUI > modes. Any and all guidance would be greatly appreciated; many thanks > in advance. I think the problem with the GUI is that Ubuntu installs its X11 libraries and headers in non-standard locations; you have to pass these locations to the configure script. Unfortunately, if you fail to pass these, and configure can't find the X11 libs or includes in their default locations, but receives the --enable-gui option, it won't quit. Instead, it will quietly build a non-gui version, despite what you told it. I'd wager that's probably what you're experiencing. AAP is OK for patching and keeping up-to-date, as long as the recipe is updated as patches are released. Unfortunately, I have not always found these to be right in sync, and it has been my experience that a more time-accurate way to track patches is through the patch README file, located on the Vim website. I've also had issues with AAP builds generating segmentation faults when you run the :version command. (Ironically, manually building source from an AAP fetch works fine...) To get around these, I wrote a Perl script that automatically fetches source and patches, then configures Vim for a very full-featured installation. Downloads are conserved so that when a new patch comes out, you just re-run the script which will then fetch only the new patch and rebuild the source tree from the archives it has kept. It's not extremely user-friendly (yet) and may require some tweaking by hand, but by default offers these configuration options: * features = huge * gui = gtk2 * multibyte * perl / python / ruby / scheme If you're interested (and by now I certainly am tooting my own horn, sorry) you can fetch it from my website at: http://www.metasyntax.net/?section=code&page=devel#vim-builder You may also want to check out the Vi Improved page on my site for more information about installation on Ubuntu, including how to enable Scheme support. If you decide to use my script, please let me know that it works / what you think about it. I'd like to add some more user-friendly features (prompts or command-line switches to enable config options, etc) when I get some more time / motivation to work on it. Happy Vimming! -- Taylor Venable [EMAIL PROTECTED] http://www.metasyntax.net/
