Hi Peter,
        Thanks for the report.  Indeed, I've modified the 
graphviz-10.7 package to look under /opt/X11 as a backup.
Fink policy forbids modifying things outside of the fink tree, so I avoid 
making convenience symlinks as suggested.
Also, another source says that XQuartz should install symlinks from 
/usr/{X11,X11R6} to /opt/X11.
        Anyhow, 'fink selfupdate' and give it another shot.

Fang

> Fink fails building graphviz 2.26.3-6 on Mac 10.8.2:
>
>> /usr/include/tk.h:78:11: fatal error: 'X11/Xlib.h' file not found
>> #include <X11/Xlib.h>
>
> As reported on StackOverflow,
>
> http://stackoverflow.com/questions/11465258/xlib-h-not-found-when-building-graphviz-on-mac-os-x-10-8-mountain-lion
>
> the file exists in an odd place,
>> /opt/X11/include/X11/Xlib.h
>
> probably due to the fact it's supplied by XQuartz, the successor to X11.app.
>
> As suggested on SO, this symlink fixes the build:
>
>> ln -s /opt/X11/include/X11 /usr/local/include/X11
>
> I'm guessing that a simple patch to the package, adding the real location to 
> the include directory search list, should fix the problem cleanly.
>
> Thanks,
> Peter
>
>

-- 
David Fang
http://www.csl.cornell.edu/~fang/
http://www.achronix.com/


------------------------------------------------------------------------------
Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery
and much more. Keep your Java skills current with LearnJavaNow -
200+ hours of step-by-step video tutorials by Java experts.
SALE $49.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122612 
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to