Opened 11 years ago

Closed 11 years ago

#42787 closed defect (duplicate)

gcr: fatal error: 'gdk/gdkx.h' file not found

Reported by: zoleg@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: Cc: dbevans (David B. Evans)
Port: gcr

Description

libtool: compile:  /usr/bin/clang -DHAVE_CONFIG_H -I. -I.. -I.. -I.. -D_REENTRANT -I/opt/local/include/gio-unix-2.0/ -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-
2.0/include -I/opt/local/include -I/opt/local/include -I/opt/local/include/p11-kit-1 -DG_LOG_DOMAIN=\"Gcr\" -DGCR_API_SUBJECT_TO_CHANGE -DLOCALEDIR=\"/opt/local/share/locale\" -I/op
t/local/include -DGCK_API_SUBJECT_TO_CHANGE -DP11_KIT_API_SUBJECT_TO_CHANGE -DGCR_COMPILATION -D_REENTRANT -I/opt/local/include/gtk-3.0 -I/opt/local/include/gio-unix-2.0/ -I/opt/loc
al/include/cairo -I/opt/local/include/pango-1.0 -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/pixman-1 -I/opt/local/include -I/opt/local/include/freet
ype2 -I/opt/local/include -I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include/harfbuzz -I/opt/local/include -I/opt/local/include/libpng16 -I/opt/local/include -
I/opt/local/include/gdk-pixbuf-2.0 -I/opt/local/include/libpng16 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -DUIDIR=\"/opt/local/share/gcr-
3/ui/\" -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -pipe -Os -arch x86_64 -g -Wno-strict-aliasi
ng -Wno-sign-compare -MT libgcr_ui_3_la-gcr-viewer.lo -MD -MP -MF .deps/libgcr_ui_3_la-gcr-viewer.Tpo -c gcr-viewer.c  -fno-common -DPIC -o .libs/libgcr_ui_3_la-gcr-viewer.o
:info:build libtool: compile:  /usr/bin/clang -DHAVE_CONFIG_H -I. -I.. -I.. -I.. -D_REENTRANT -I/opt/local/include/gio-unix-2.0/ -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-
2.0/include -I/opt/local/include -I/opt/local/include -I/opt/local/include/p11-kit-1 -DG_LOG_DOMAIN=\"Gcr\" -DGCR_API_SUBJECT_TO_CHANGE -DLOCALEDIR=\"/opt/local/share/locale\" -I/op
t/local/include -DGCK_API_SUBJECT_TO_CHANGE -DP11_KIT_API_SUBJECT_TO_CHANGE -DGCR_COMPILATION -D_REENTRANT -I/opt/local/include/gtk-3.0 -I/opt/local/include/gio-unix-2.0/ -I/opt/loc
al/include/cairo -I/opt/local/include/pango-1.0 -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/pixman-1 -I/opt/local/include -I/opt/local/include/freet
ype2 -I/opt/local/include -I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include/harfbuzz -I/opt/local/include -I/opt/local/include/libpng16 -I/opt/local/include -
I/opt/local/include/gdk-pixbuf-2.0 -I/opt/local/include/libpng16 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -DUIDIR=\"/opt/local/share/gcr-
3/ui/\" -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -pipe -Os -arch x86_64 -g -Wno-strict-aliasi
ng -Wno-sign-compare -MT libgcr_ui_3_la-gcr-viewer-widget.lo -MD -MP -MF .deps/libgcr_ui_3_la-gcr-viewer-widget.Tpo -c gcr-viewer-widget.c  -fno-common -DPIC -o .libs/libgcr_ui_3_la
-gcr-viewer-widget.o
gcr-prompt-dialog.c:34:10: fatal error: 'gdk/gdkx.h' file not found
#include <gdk/gdkx.h>
         ^
1 error generated.
make[4]: *** [libgcr_ui_3_la-gcr-prompt-dialog.lo] Error 1

gtk2 and gtk3 built with +quartz

Attachments (1)

main.log (404.8 KB) - added by zoleg@… 11 years ago.

Download all attachments as: .zip

Change History (2)

Changed 11 years ago by zoleg@…

Attachment: main.log added

comment:1 in reply to:  description Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: devans@… added
Port: gcr added; gnome/gcr removed
Resolution: duplicate
Status: newclosed
Summary: gcr build errorgcr: fatal error: 'gdk/gdkx.h' file not found

Replying to zoleg@…:

gtk2 and gtk3 built with +quartz

That's the problem then. gcr apparently requires gtk with x11, not quartz. Duplicate of #41839.

Note: See TracTickets for help on using tickets.