bugXBoard - Bugs: bug #45773, 'cairo/cairo-xlib.h' file not found

 
 

bug #45773: 'cairo/cairo-xlib.h' file not found

Submitter:  Matt Day <fjarlq>
Submitted:  Sun 16 Aug 2015 10:07:23 PM UTC
   
 
Category:  XBoard (GTK version) Severity:  3 - Normal
Item Group:  Installation/Configuration/Packaging Status:  Fixed
Assigned to:  None Open/Closed:  Closed
Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Sat 15 May 2021 02:59:50 AM UTC, comment #2: 

This was fixed at some point.

Tim Mann <mann>
Group administrator
Sun 16 Aug 2015 10:21:01 PM UTC, comment #1: 

Please disregard the "xboard.diff" that I uploaded... I mistakenly uploaded the wrong file.

The correct patch is "xboard-fixed.diff"

Matt Day <fjarlq>
Sun 16 Aug 2015 10:07:23 PM UTC, original submission:  

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


Matt Day <fjarlq>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #34662:  xboard-fixed.diff added by fjarlq (829B - application/octet-stream - this is the correct diff!)
file #34660:  xboard.diff added by fjarlq (2KiB - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by mann (Posted a comment)
  • -email is unavailable- added by fjarlq (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2021-05-15 mann StatusNone Fixed
        Open/ClosedOpen Closed
    2015-08-16 fjarlq Attached File- Added xboard-fixed.diff, #34662
    2015-08-16 fjarlq Attached File- Added xboard.diff, #34660

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code