Serotek Summer Sizzle: Enter to Win a Complete Digital Lifestyle Makeover

Monday, May 26, 2008

Fixing fontconfig-2.5.0

My first attempt at building gnome-2.24 using jhbuild only built 77 or the 193 modules.

The first error: fontconfig-2.5.0 unable to run make successfully.

After digging into the make output a bit, I discovered that when enterprise linux installed freetype-devel-2.2.1 that the freetype header files were not put in a place that fontconfig was expecting.

The header files were in /usr/include/freetype2/freetype
not in
/usr/include freetype
as fontconfig was expecting.

So the simple solution, make a symbolic link tfrom /usr/include/freetype2/freetype to /usr/include/freetype:

$ ln -s /usr/include/freetype2/freetype /usr/include/freetype

VOILA! fontconfig compiled!
SO now I have restarted the whole jhbuild process over to see how this change will affect the outcome.

No comments: