URL: <http://savannah.gnu.org/bugs/?45773>
Summary: 'cairo/cairo-xlib.h' file not found Project: XBoard Submitted by: fjarlq Submitted on: Sun 16 Aug 2015 04:07:23 PM MDT Category: XBoard (GTK version) Severity: 3 - Normal Item Group: Installation/Configuration/Packaging Status: None Assigned to: None Open/Closed: Open Discussion Lock: Any Release: None _______________________________________________________ Details: I'm trying to build XBoard 4.8.0 on OS X using the Homebrew package manager. Homebrew's port of Cairo no longer includes Xlib support (it is Quartz only now). There are a few .c files in XBoard 4.8.0 that needlessly #include <cairo/cairo-xlib.h>, so the build fails. By deleting those includes, the build succeeds. See attached patch. $ ./configure --with-gtk --without-Xaw [..] $ make [..] CC draw.o clang: warning: argument unused during compilation: '-L/opt/local/lib' draw.c:57:10: fatal error: 'cairo/cairo-xlib.h' file not found #include <cairo/cairo-xlib.h> ^ 1 error generated. make[2]: *** [draw.o] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 _______________________________________________________ File Attachments: ------------------------------------------------------- Date: Sun 16 Aug 2015 04:07:23 PM MDT Name: xboard.diff Size: 2kB By: fjarlq <http://savannah.gnu.org/bugs/download.php?file_id=34660> _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?45773> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/ _______________________________________________ Bug-XBoard mailing list Bug-XBoard@gnu.org https://lists.gnu.org/mailman/listinfo/bug-xboard