Re: gtk-config problem
On 2019-06-27 17:08 +0200, Pierre Frenkiel wrote:
> hi,
> trying to compile xdialog, I get the following error when running ./configure:
>
> *** The gtk-config script installed by GTK could not be found
> *** If GTK was installed in PREFIX, make sure PREFIX/bin is in
> *** your path, or set the GTK_CONFIG environment variable to the
> *** full path to gtk-config.
> configure: error: Cannot find GTK: Is gtk-config in path?
>
> with ./configure --disable-gtktest, I get same error.
>
> adding --without-gtk2 gives (like --with-gtk2)
> Compiling for GTK2
> checking for pkg-config... no
> checking for GTK+ - version >= 2.2.0... no
> *** A new enough version of pkg-config was not found.
> *** See http://pkgconfig.sourceforge.net
> configure: error: Cannot find GTK2.
>
> how to inform the program of the difference between "with" and "without" ?
I don't know the answer to that, but you will definitely have to
configure xdialog "--with-gtk2" because the only alternative (gtk1) is
long dead. Be sure to install libgtk2.0-dev for that.
FWIW, xdialog can be found on snapshot.debian.org[1], and the latest
version (2.3.1.dfsg.1-1) from 2007 still builds fine. I have no idea if
it still works, though.
Cheers,
Sven
1. https://snapshot.debian.org/package/xdialog/
Reply to: