configure script can't seem to accept in ubuntu ( >= 7.10) - a tip to build vim with gui

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

configure script can't seem to accept in ubuntu ( >= 7.10) - a tip to build vim with gui

Kim Shawn

Hi, all.

As Ubuntu linux gets upgraded to 7.10, configuring vim with gui does  
not work.

The problem is that if you specify gui option like "--enable-
gui=gtk2", the configure script would go like "NO GUI found". I tried  
to find out if the configure script went wrong. I tried the same thing  
on Redhat linux, SunOs 5.8, Aix 5.3, and HP-UX 11.23. No problemo. It  
perfectly went well.

I decided to debug the script on my PC (ubuntu 7.10, 8.04).
As trying to get to the bottom of the problem, the first thing I did  
was to re-generate configure script with some debugging messages. And  
there you go! (Luckily) I was able to find that the newly generated  
configure script worked without even tracing into it.

Of course, I just gave up on figuring out what was the problem.

But, the point is :

1. If you use ubuntu ( >= 7.10), and you want to build your own gvim

2. re-generate configure script with your automake tools like :
        $ cd vim/src/auto
        $ autoconf ../configure.in > configure

3. configure, make, make install

4. Enjoy your vim :-)

Happy vimming, everyone!


--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply | Threaded
Open this post in threaded view
|

Re: configure script can't seem to accept in ubuntu ( >= 7.10) - a tip to build vim with gui

François Ingelrest-2

Hi,

On Tue, Apr 29, 2008 at 7:32 PM, Kim Shawn <[hidden email]> wrote:
>  As Ubuntu linux gets upgraded to 7.10, configuring vim with gui does
>  not work.
>
>  The problem is that if you specify gui option like "--enable-
>  gui=gtk2", the configure script would go like "NO GUI found". I tried
>  to find out if the configure script went wrong. I tried the same thing
>  on Redhat linux, SunOs 5.8, Aix 5.3, and HP-UX 11.23. No problemo. It
>  perfectly went well.

Are you sure all the needed libraries are installed? For GTK2 you need
at least libgtk2.0-dev and xserver-xorg-dev packages. I already
compiled GVim on Ubuntu 8.04 without problem (as well as on 7.10).

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply | Threaded
Open this post in threaded view
|

Re: configure script can't seem to accept in ubuntu ( >= 7.10) - a tip to build vim with gui

Kim Shawn

Hi,

True, I did miss xserver-xorg-dev package.
Even so, compiling appeared to be alright. And the vim runs
perfect :-)

Thanks :-)

On 4월30일, 오후3시32분, "François Ingelrest" <[hidden email]> wrote:

> Hi,
>
> On Tue, Apr 29, 2008 at 7:32 PM, Kim Shawn <[hidden email]> wrote:
> >  As Ubuntu linux gets upgraded to 7.10, configuring vim with gui does
> >  not work.
>
> >  The problem is that if you specify gui option like "--enable-
> >  gui=gtk2", the configure script would go like "NO GUI found". I tried
> >  to find out if the configure script went wrong. I tried the same thing
> >  on Redhat linux, SunOs 5.8, Aix 5.3, and HP-UX 11.23. No problemo. It
> >  perfectly went well.
>
> Are you sure all the needed libraries are installed? For GTK2 you need
> at least libgtk2.0-dev and xserver-xorg-dev packages. I already
> compiled GVim on Ubuntu 8.04 without problem (as well as on 7.10).
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---