On 5/21/07, Steve Litt <[EMAIL PROTECTED]> wrote:
On Sunday 20 May 2007 15:51, you wrote:
> On 5/20/07, Steve Litt <[EMAIL PROTECTED]> wrote:
> > Hi all,
> >
> > I tried to compile graphical Vim 7.1 on Mandriva 2007. I downloaded
> > vim-7.1.tar.bz2, untarred it, and did the following from the top level
> > directory created (vim71):
> >
> > ./configure --enable-gui
> > make
> > src/vim -g
> >
> > The following error message appeared:
> >
> > E25: GUI cannot be used: Not enabled at compile time
> >
> >
> > I retried, after make distclean, with the following configure options:
> >
> > enable-gui=gtk
> > enable-gui=gtk2
> > enable-gui=auto
> >
> > All produced the same error:
> >
> > E25: GUI cannot be used: Not enabled at compile time
> >
> > I chose not to perform make install in order to preserve the integrity of
> > my existing Vim 7.0 that came with Mandriva 2007.
> >
> > Anyone know how to compile graphical Vim on Mandriva 2007, or at least
> > some diagnostic tests I can use to narrow down the problem?
>
> You need to install gtk2-devel package. Also, the x11-devel package if
> it's not installed.
> The exact names of packages may vary between distributions. But the
> idea is, you are
> missing development packages (*-devel or *-dev) needed to compile GUI
> functionality of vim.

Thanks Yakov,

I can't find them anywhere in the distribution packages. Funny thing is, Gnome
works, and Mandriva managed to get a working 7.0 version of gvim installed on
the machine as a package.

Yes, this is expected. Because "build-dependencies" of vim-gtk
are bigger than run-dependencies. If your packaging system is apt-get, then
you can see names of packages to install with
this command:

    apt-get build-dep vim-gtk # install all devel packages
                                        # needed to rebuild vim-gtk

If your packaging system is rpm or some else, then it's not that
straightforward to find names of the missing packages, those
packages that are needed to rebuild vim-gtk. Use rpmfind.net if your
packaging system is rpm.

Yakov

Reply via email to