Re: Pango and Freetype incompatibility



On Thu, 2003-02-20 at 08:00, William Trenker wrote:
> Hello,
> 
> I'm trying to get Pango (pango-1.0.5.tar.gz) to build with FreeType (freetype-2.1.3.tar.gz).  I'm getting errors like this from make (after doing ./configure):
> 
> pangoxft-font.c: In function `pango_xft_real_render':
> pangoxft-font.c:317: structure has no member named `u'
> pangoxft-font.c:330: structure has no member named `u'
> pangoxft-font.c: In function `load_fallback_font':
> pangoxft-font.c:717: structure has no member named `u'
> pangoxft-font.c: In function `pango_xft_font_get_font':
> pangoxft-font.c:766: structure has no member named `u'
> pangoxft-font.c: In function `pango_xft_font_get_face':
> pangoxft-font.c:842: structure has no member named `core'
> pangoxft-font.c:845: structure has no member named `u'
> 
> I've noticed similar problems described in the archives for this list. The solution provided is to revert to the old Xft package.  Does that still apply?
> 
> (Here is the prior messsage where that advice was given:
> http://mail.gnome.org/archives/gtk-i18n-list/2002-June/msg00001.html)

If you are using Xft2, you must use pango-1.2.x. Which is better,
anyways.

> My ultimate goal is to build the well-known bluefish html editor which, right now, is giving this sort of error during make:
> 
> /usr/lib/libpangoxft-1.0.so: undefined reference to `FT_Seek_Stream'
> /usr/lib/libpangoxft-1.0.so: undefined reference to `FT_Get_Short'
> /usr/lib/libpangoxft-1.0.so: undefined reference to `FT_Forget_Frame'
> /usr/lib/libpangoxft-1.0.so: undefined reference to `FT_Access_Frame'
> /usr/lib/libpangoxft-1.0.so: undefined reference to `FT_Get_Long'

These errors almost always mean that you have multiple versions of
FreeType on your system, and the configure process is finding a
different one than compilation.

Check if you have a odl copy of FreeType install by XFree86 on your
system.

Regards,
                                        Owen





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]