Opened 6 years ago

Closed 2 days ago

#20320 closed defect (invalid)

graphviz on OSX, missing /opt/X11/include in include path

Reported by: edgarcosta Owned by:
Priority: major Milestone: sage-duplicate/invalid/wontfix
Component: packages: experimental Keywords: graphviz
Cc: mmarco Merged in:
Authors: Reviewers:
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Status badges

Description

In short:

In file included from tkStubLib.c:15:0:
/usr/include/tk.h:78:23: fatal error: X11/Xlib.h: No such file or directory
 # include <X11/Xlib.h>

If you add /opt/X11/include/ to its include path, it compiles without an issue.

This is perhaps more a bug of graphviz, but in either case it is easily fixable, e.g.:

http://stackoverflow.com/questions/11465258/xlib-h-not-found-when-building-graphviz-on-mac-os-x-10-8-mountain-lion

I fixed it in a lazy way by:

 ln -s /opt/X11/include/X11 $SAGE_ROOT/local/include/

Change History (3)

comment:1 Changed 4 days ago by mkoeppe

  • Milestone changed from sage-7.2 to sage-duplicate/invalid/wontfix
  • Status changed from new to needs_review

outdated, should close

comment:2 Changed 4 days ago by edgarcosta

  • Status changed from needs_review to positive_review

comment:3 Changed 2 days ago by mkoeppe

  • Resolution set to invalid
  • Status changed from positive_review to closed
Note: See TracTickets for help on using tickets.