Wednesday, May 2, 2012

Re: gtk-config not even tried

Am Dienstag, 1. Mai 2012 03:29:01 UTC+2 schrieb John Little:
> On Tuesday, May 1, 2012 2:32:51 AM UTC+12, Arno Valentin wrote:
> > ... I'm offered "gtk+-1.2.10", "gtk+2-2.24.10", "gtk+3-3.2.4" ...
>
> IIUC, gtk+2-2.24.10 is the one you want, being gtk 2.
>
> In my config.log, configure tries to see what version of gtk is installed by compiling and running a gtk test programme:
>
> configure:7987: checking for GTK - version >= 2.2.0
> configure:8054: gcc -o conftest -Wall -Wshadow -Wmissing-prototypes -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/local/include -L/usr/local/lib conftest.c -lnsl -pthread -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0 >&5
> configure:8054: $? = 0
> configure:8054: ./conftest
> configure:8054: $? = 0
> configure:8069: result: yes; found version 2.24.6
>
> If I was missing needed libraries, IIUC I'd see errors about what was missing. However, my config has used pkg-config; IIUC that's part of autotools which you seem to have. It needs to work for configure to decide you've got gtk.
>
> HTH, and regards, John

I don't know, what pkg-config is, but after gtk test comes

551 configure:7772: checking for pkg-config
552 configure:7803: result: no






Am Dienstag, 1. Mai 2012 03:29:01 UTC+2 schrieb John Little:
> On Tuesday, May 1, 2012 2:32:51 AM UTC+12, Arno Valentin wrote:
> > ... I'm offered "gtk+-1.2.10", "gtk+2-2.24.10", "gtk+3-3.2.4" ...
>
> IIUC, gtk+2-2.24.10 is the one you want, being gtk 2.
>
> In my config.log, configure tries to see what version of gtk is installed by compiling and running a gtk test programme:
>
> configure:7987: checking for GTK - version >= 2.2.0
> configure:8054: gcc -o conftest -Wall -Wshadow -Wmissing-prototypes -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/local/include -L/usr/local/lib conftest.c -lnsl -pthread -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0 >&5
> configure:8054: $? = 0
> configure:8054: ./conftest
> configure:8054: $? = 0
> configure:8069: result: yes; found version 2.24.6
>
> If I was missing needed libraries, IIUC I'd see errors about what was missing. However, my config has used pkg-config; IIUC that's part of autotools which you seem to have. It needs to work for configure to decide you've got gtk.
>
> HTH, and regards, John

yes I tried gtk+2-2.24.10 and I'm looking for any message that he is missing any library which he would tell me. And I'm looking for configure using gtk-config to get the parameters it needs. But there is nothing:

avalenti@ncc1n:/usr/local/src/vim/vim73/src/auto >grep gtk config.log
$ auto/configure --enable-gui=gtk2 --with-tclsh=tclsh8.4 --with-compiledby=Arno, no nls, gtk2 --srcdir=. --cache-file=auto/config.cache
configure:4540: result: Arno, no nls, gtk2
configure:7752: checking --disable-gtktest argument
configure:7762: result: gtk test enabled
compiledby='Arno, no nls, gtk2'

--
You received this message from the "vim_use" 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

No comments: