On 2/17/20 9:59 PM, Kay Schenk wrote:
On Mon, Feb 17, 2020, 16:44 Carl Marcum <cmar...@apache.org> wrote:


On 2/17/20 6:31 PM, Kay Schenk wrote:
OK. Here's the section of configure.ac that applies to your issue...

*** begin code ***

dnl ===================================================================
dnl Check whether the gtk 2.0 libraries are available.
dnl ===================================================================

GTK_CFLAGS=""
GTK_LIBS=""
ENABLE_SYSTRAY_GTK=""
ENABLE_DBUS=""
if test  "$test_gtk" = "yes"; then

    if test "$ENABLE_GTK" = "TRUE" ; then
       PKG_CHECK_MODULES(GTK, gtk+-2.0 >= 2.4 gdk-pixbuf-xlib-2.0 >=
2.2 ,,AC_MSG_ERROR([requirements to build the gtk-plugin not met. Use
--disable-gtk or install the missing packages]))
       PKG_CHECK_MODULES(GTHREAD,
gthread-2.0,,AC_MSG_ERROR([requirements to build the gtk-plugin not
met. Use --disable-gtk or install the missing packages]))

*** end code ***

Configure wants a gtk+-2.0 version that is 2.4 or later. From your
first message, this is what you show --

gtk2.x86_64                               2.24.32-4.el8

To me, it seems PKG_CHECK_MODULES couldn't determine if 2.24.32-4.el8
passed the   "gtk+-2.0 >= 2.4" test. Maybe someone else can offer
suggestions on how to fix that.

Sorry I couldn't help more....

--Kay

Hi Kay,

Sounds reasonable that may be the issue.
The the two error messages are the same for GTK and GTHREADI edited the
error messages to make them different confirmed it is the GTK check
that's the problem.
Any idea where PKG_CHECK_MODULES lives?

Thanks,
Carl

Hi Carl --

PKG_CHECK_MODULES is a macro that is part of autoconf (autotools)

https://autotools.io/pkgconfig/pkg_cpkg_check_modules.html

HTH,

Kay

Hi Kay,

I got a 404 on that link but I found it here:
https://autotools.io/pkgconfig/pkg_check_modules.html

I'll look at it this evening.

Thanks again for your help!

Best regards,
Carl

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org

Reply via email to