Re: GTK-2.3.5 installation problem



I got the same error:

/usr/local/lib/libpangoft2-1.0.so.0: undefined reference to `FT_Stream_GetShort' /usr/local/lib/libpangoft2-1.0.so.0: undefined reference to `FT_Stream_ExitFrame'
/usr/local/lib/libpangoft2-1.0.so.0: undefined reference to `FT_Stream_GetLong'
/usr/local/lib/libpangoft2-1.0.so.0: undefined reference to `FT_Stream_Seek'
/usr/local/lib/libpangoft2-1.0.so.0: undefined reference to `FT_Stream_EnterFrame'

some weeks ago. The problem was that I installed the new pango libs at /usr/local/lib instead at /usr/lib. In my opinion you must download a new version of Pango and configure it with the --prefix=/usr/


At 07:23 08/03/2004, Steffen Gutmann wrote:
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 ?

http://www.freetype.org/ (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 http://www.pango.org

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/libpangoft2-1.0.so.0: undefined reference to `FT_Stream_GetShort' /usr/local/lib/libpangoft2-1.0.so.0: undefined reference to `FT_Stream_ExitFrame' /usr/local/lib/libpangoft2-1.0.so.0: undefined reference to `FT_Stream_GetLong'
/usr/local/lib/libpangoft2-1.0.so.0: undefined reference to `FT_Stream_Seek'
/usr/local/lib/libpangoft2-1.0.so.0: undefined reference to `FT_Stream_EnterFrame'
collect2: ld returned 1 exit status

Any ideas?

-- Steffen


_______________________________________________
gtk-list mailing list
gtk-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-list

---------------------------------------------
Julio Mieza del Val
Senior Consultant
Cap Gemini Ernst & Young
CP 08017
Avd. Diagonal 640 4 Planta
Barcelona - Spain
---------------------------------------------




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