[cairo] Cairo error: mandatory image surface backend feature could not be enabled
spitzak at gmail.com
Sat Aug 21 13:46:40 PDT 2010
On Aug 21, 2010, at 8:48 AM, Arjen Nienhuis wrote:
> My problem was that --prefix and $PKG_CONFIG_PATH did not match.
> Try this:
> PKG_CONFIG_PATH=$PREFIX/lib/pkgconfig ./autogen.sh --prefix=$PREFIX
> For both pixman and cairo
I know this has been discussed before, but can this please get fixed
in cairo/pixman's configure? I.e make it act like PKG_CONFIG_PATH is
exactly as shown above.
I certainly ran into it as well. It is fairly easy to figure out
PREFIX but you immediately run into this problem and nobody is going
to figure it out unless they see some post like this. Note that unless
you use PREFIX you cannot experiment with changing cairo unless you
are willing to write over the system's version of Cairo, and you need
su to do that.
I also cannot see any sense with the current behavior. If you compile/
install pixman with PREFIX, it puts the pkg files there even though
PKG_CONFIG_PATH is not set. And if you compile cairo with PREFIX but
no PGK_CONFIG_PATH, if it works you will end up using a different
pkgconfig file than the library and header files for pixman! That
certainly is wrong!
More information about the cairo