Re: GTK-2.3.5 installation problem

when I do a configure in the new gtk-2.3.5 directort I get the following error message:

checking for freetype-config... /usr/bin/freetype-config
checking For sufficiently new FreeType (at least 2.0.1)... no
configure: error: Pango 1.2.0 and Xft backend is required for x11 target

I installed latest glib and pango sucessfully.  I am on RedHat 7.3.

Yes, but have you installed FreeType 2.0.1 or later ? (there may well be an RPM around as well).

(You'll need to re-install pango once you've done this.)

I followed that path and figured out eventually that it's probably best if I upgrade my XFree86 installation. I am now running on XFree86-4.4.0 which has freetype and fontconfig, etc.

However, after recompiling and reinstalling gliband pango, I still get the following error when configuring gtk:

checking Pango flags... -I/usr/local/include/pango-1.0 -I/usr/X11R6/include -I/usr/X11R6/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -Wl,--export-dynamic -L/usr/local/lib -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0
configure: error:
*** Can't link to Pango. Pango is required to build
*** GTK+. For more information see

The corresponding output in the config.log file tells me:

configure:29578: checking Pango flags
configure:29584: result: -I/usr/local/include/pango-1.0 -I/usr/X11R6/include -I/usr/X11R6/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -Wl,--export-dynamic -L/usr/local/lib -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 configure:29632: gcc -o conftest -O3 -Wall -I/usr/local/include/pango-1.0 -I/usr/X11R6/include -I/usr/X11R6/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include conftest.c -Wl,--export-dynamic -L/usr/local/lib -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 >&5 /usr/local/lib/ undefined reference to `FT_Stream_GetShort' /usr/local/lib/ undefined reference to `FT_Stream_ExitFrame' /usr/local/lib/ undefined reference to `FT_Stream_GetLong'
/usr/local/lib/ undefined reference to `FT_Stream_Seek'
/usr/local/lib/ undefined reference to `FT_Stream_EnterFrame'
collect2: ld returned 1 exit status

Any ideas?

-- Steffen

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