[cairo] Can't build Cairo/Pixman

David Turner david at freetype.org
Wed Mar 25 07:42:43 PDT 2009

In the future, it might be useful to you to avoid installing new binaries
over existing ones.
The trick is generally to create a local directory where you will install
all the new libraries you're going to build, then adjust PATH,
LD_LIBRARY_PATH and PKG_CONFIG_PATH to look there first. For example:

export LOCAL=$HOME/local
export PATH=$LOCAL/bin:$PATH

then use --prefix=$LOCAL when configuring the build of each new libraries.

So when things go wrong, just remove the content of $LOCAL and

There are a few things that won't pick the new $LOCAL paths though (anything
that isn't run by your uid, e.g. gdm, some Linux distributions also have
Firefox startup scripts that ignore $LD_LIBRARY_PATH too), but it's a great
way to test changes to low-level infrastructure like Pango / GTK / Cairo /

Have fun

2009/3/25 Dan Maartens <dan.maartens at gmail.com>

> I was able to get pixman to build by including --disable-gtk when running
> configure. So pixman and cairo now build properly, but GTK has a bunch of
> compile problems. In addition, I rebooted my machine and now all the fonts
> (not in terminal, but everything else) are all unreadable characters (just
> boxes). So I think I have to give up and reinstall SuSE; not sure what else
> I can do.
> Thanks for the help,
> Dan
> On Tue, Mar 24, 2009 at 4:46 PM, Ralph Giles <giles at ghostscript.com>wrote:
>> On Tue, Mar 24, 2009 at 12:25 PM, Dan Maartens <dan.maartens at gmail.com>
>> wrote:
>> > Thanks for the reply. Is there a configuration option to disable
>> pixman's
>> > tests? Otherwise I'm not sure how to get around the dependency on pango.
>> Try removing 'test' from the SUBDIRS line in pixman/Makefile.am
>> Do you somehow not have pango or glib installed? Or it is too old a
>> version?
>>  -r
> _______________________________________________
> cairo mailing list
> cairo at cairographics.org
> http://lists.cairographics.org/mailman/listinfo/cairo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.cairographics.org/archives/cairo/attachments/20090325/8fe6f028/attachment.htm 

More information about the cairo mailing list