#20320: graphviz on OSX, missing /opt/X11/include in include path
--------------------------------------+----------------------------
Reporter: edgarcosta | Owner:
Type: defect | Status: new
Priority: major | Milestone: sage-7.2
Component: packages: experimental | Keywords: graphviz
Merged in: | Authors:
Reviewers: | Report Upstream: N/A
Work issues: | Branch:
Commit: | Dependencies:
Stopgaps: |
--------------------------------------+----------------------------
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/
}}}
--
Ticket URL: <http://trac.sagemath.org/ticket/20320>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.