On 1/6/13 8:14 PM, Sean Lake wrote:
> Hello all,
> 
> I have XQuartz 2.7.4 installed.
> 
> Thanks,
> Sean Lake
> 
> Here's the error:
> 
> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I/sw/include/python2.7 
> -I/sw/include/python2.7 -I/sw/include/cairo -I/sw/include -g -O2 -std=c99 
> -Wall -fno-strict-aliasing -MT _cairo_la-surface.lo -MD -MP -MF 
> .deps/_cairo_la-surface.Tpo -c surface.c  -fno-common -DPIC -o 
> .libs/_cairo_la-surface.o
> mv -f .deps/_cairo_la-matrix.Tpo .deps/_cairo_la-matrix.Plo
> In file included from surface.c:1407:
> /sw/include/cairo/cairo-xlib.h:44:10: fatal error: 'X11/Xlib.h' file not found
> #include <X11/Xlib.h>
>          ^
> 1 error generated.
> 
> 
> System info:
> 
> Package manager version: 0.34.4
> Distribution version: selfupdate-rsync Sun Jan  6 19:07:39 2013, 10.8, x86_64
> Trees: local/main stable/main stable/crypto unstable/main unstable/crypto
> Xcode.app: 4.5.2
> Xcode command-line tools: 4.5.0.0.1.1249367152
> Max. Fink build jobs:  2
> 
> 

Yup.  I don't know whether the build tools used to look implicitly in
/usr/X11, but we're currently having a number of failures due to
packages not being able to find the X11 headers.  Though sometimes this
is due to upstream sloppiness.

As a workaround until an official fix is released, if you add

SetCPPFLAGS: -I/opt/X11/include

(or -I/usr/X11/include)  to
/sw/fink/dists/stable/main/finkinfo/graphics/pycairo-py.info, for
example just before the "UseMaxBuildJobs: true" line, it will build.
-- 
Alexander Hansen, Ph.D.
Fink User Liaison
My package updates: http://finkakh.wordpress.com/

------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122412
_______________________________________________
Fink-users mailing list
[email protected]
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to