On So, 31 Jan 2021, Bram Moolenaar wrote:

> 
> James McCoy wrote:
> 
> > On Sun, Jan 31, 2021 at 04:46:51PM +0100, Bram Moolenaar wrote:
> > > 
> > > [...]
> > > +         Add GUI support (ignore compiler warnings):
> > > +         % sudo apt install libgtk2.0-dev
> > 
> > This should really be libgtk-3-dev.  GTK+2 has been unsupported for
> > years and GTK+3 is already going to maintenance mode as work transitions
> > to GTK+4.
> 
> Well, the GTK 2 version works well, while GTK 3 still has a few
> drawbacks, I believe it's slower.
> 
> Also, that one package does not appear to be sufficient.  If I remove
> the libgtk2.0-dev package and install libgtk-3-dev:
> 
> configure:9420: checking for pkg-config
> configure:9438: found /usr/bin/pkg-config
> configure:9450: result: /usr/bin/pkg-config
> configure:9477: checking --disable-gtktest argument
> configure:9487: result: gtk test enabled
> configure:9533: checking for GTK -dev package
> configure:9611: result: no
> 
> Hmm, pkg-config does list "gtk+-3.0", not sure what is wrong...
> It seems configure doesn't check for GTK 3 for some reason.
> Debugging shell scripts...

For GTK3 you explicitly need to call configure with the --gui=gtk3 
argument, else it will always try to use the gtk2 toolkit and fail if 
that is not available.

Best,
Christian
-- 
Einen Raucher zu küssen muß so ähnlich schmecken, wie an einem
Aschenbecher zu lecken.

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/20210131172752.GB2835808%40256bit.org.

Raspunde prin e-mail lui