[cairo] Breakage on Solaris 9

Carl Worth cworth at cworth.org
Tue May 9 19:27:11 PDT 2006


On Wed, 10 May 2006 11:27:09 +1000, "Geyer, Nikolas" wrote:
>
> Ok overcame this problem by moving the freetype2.pc file into the
> correct location that pkg-config actually looks for it and it sorted all
> my issues.

You might find it easier in the long run to solve that problem by
putting the $prefix/lib/pkconfig where "make install" put the .pc file
as part of your PKG_CONFIG_PATH variable, such as:

	PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/other/prefix/lib/pkgconfig

> Have run into another problem now, being below. After a quick
> search the main cause for this seems to be missing Xutil.h file, however
> this is on the box and seems to be found without a problem (its in
> /usr/openwin/share/include/X11/Xutil.h).
...
> cairo-xlib-surface.c: In function `_CAIRO_FORMAT_XRENDER_FORMAT':
> cairo-xlib-surface.c:186: error: `PictStandardA1' undeclared (first use
> in this function)

The definition of PictStandardA1 should be coming from a header file
located as X11/extensions/Xrender.h. And cairo should be trying to
find that by looking for an xrender.pc file.

If you're missing those then you can get the lib/Xrender module from
the x.org sources. See here for (many) more details:

http://wiki.x.org/wiki/ModularDevelopersGuide

And again, configure should be failing with helpful error messages if
it can't find what it needs. So there's always a bug in configure if
it lets you get to a point like this where something cannot be found
at compilation time.

-Carl
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/cairo/attachments/20060509/c9143664/attachment.pgp


More information about the cairo mailing list