Opened 2 years ago

Last modified 15 months ago

#60093 new defect

gtkglext @1.2.0_11 +quartz does not configure on macOS Catalina, Version 10.15.3, because 'configure: error: X development libraries not found'

Reported by: ballapete (Peter "Pete" Dyballa) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.6.2
Keywords: catalina Cc: cooljeanius (Eric Gallager)
Port: gtkglext

Description

While tying to install gtkglext +quartz I get:

checking for gdk_display_get_default in GDK library... yes
configure: GDK supports multihead
checking for gdk_x11_colormap_foreign_new... yes
checking for X... disabled
configure: error: X development libraries not found
Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_gtkglext/gtkglext/work/gtkglext-1.2.0" && ./configure --prefix=/opt/local --without-x
Exit code: 1

Seems this port needs a dependency to xorg-server or xorg-server-devel

Attachments (1)

config.log (50.2 KB) - added by ballapete (Peter "Pete" Dyballa) 2 years ago.
work/gtkglext-1.2.0/config

Download all attachments as: .zip

Change History (5)

comment:1 Changed 2 years ago by jmroot (Joshua Root)

Summary: gtkglext @1.2.0_11 does not configure on macOS Catalina, Version 10.15.3, because 'configure: error: X development libraries not found'gtkglext @1.2.0_11 +quartz does not configure on macOS Catalina, Version 10.15.3, because 'configure: error: X development libraries not found'

It's not looking for the server, but rather the client libraries. But it seems like the point of the quartz variant is to remove the dependency on X. Could you attach the config.log?

Changed 2 years ago by ballapete (Peter "Pete" Dyballa)

Attachment: config.log added

work/gtkglext-1.2.0/config

comment:2 Changed 2 years ago by ballapete (Peter "Pete" Dyballa)

It seems Portfile is missing a line

configure.args-append  --with-gdktarget=quartz

And when this line is added, build fails with:

In file included from gdkglquery-quartz.c:23:
./gdkglquartz.h:5:10: fatal error: 'gdk/gdkquartz.h' file not found
#include <gdk/gdkquartz.h>
         ^~~~~~~~~~~~~~~~~

The C header file gdkquartz.h does not get installed:

extracting quartz to quartz.tbz.txt
x quartz/
x quartz/gdkglconfig-quartz.c
x quartz/gdkglconfig-quartz.h
x quartz/gdkglcontext-quartz.c
x quartz/gdkglcontext-quartz.h
x quartz/gdkgldrawable-quartz.c
x quartz/gdkglfont-quartz.c
x quartz/gdkglpixmap-quartz.c
x quartz/gdkglpixmap-quartz.h
x quartz/gdkglprivate-quartz.h
x quartz/gdkglquartz.h
x quartz/gdkglquery-quartz.c
x quartz/gdkglwindow-quartz.c
x quartz/gdkglwindow-quartz.h
x quartz/Makefile.am
x quartz/Makefile.in
quartz folder already exists

comment:3 Changed 2 years ago by ballapete (Peter "Pete" Dyballa)

A few more C header are needed:

gdkquartz.h -> gdk
{gdkquartzcursor.h,gdkquartzdevice-core.h,gdkquartzdevicemanager-core.h,gdkquartzdisplay.h,gdkquartzdisplaymanager.h,gdkquartzdnd.h,gdkquartzkeys.h,gdkquartzscreen.h,gdkquartzutils.h,gdkquartzvisual.h,gdkquartzwindow.h} -> gdk/quartz

Then the port built.

The missing files are available here: https://github.com/jdapena/gtk/tree/master/gdk/quartz.

comment:4 Changed 15 months ago by cooljeanius (Eric Gallager)

Cc: cooljeanius added
Note: See TracTickets for help on using tickets.