Problem in compilation of pango-1.5.2
- From: Naveen Kumar <naveen galieosoft com>
- To: gtk-i18n-list gnome org
- Subject: Problem in compilation of pango-1.5.2
- Date: Mon, 19 May 2008 12:03:21 +0530
Hi all,
I need cross-compile pango-1.5.2 with X FreeType and XFT backends.
I tried configuring with flags:
-------------------------------------------------------------
CC=arm-linux-gcc NM=arm-linux-nm AR=arm-linux-ar RANLIB=arm-linux-
ranlib GLIB_CFLAGS="-I/home/naveen/3.3.2/gtk-2.4/include/glib-2.0
I/home/naveen/3.3.2/gtk-2.4/lib/glib-2.0/include"
GLIB_LIBS="/home/naveen/3.3.2/gtk-2.4/lib/libglib-2.0.so /home/naveen/3.3.2/gtk-2.4/lib/libgobject-2.0.so /home/naveen/3.3.2/gtk-2.4/lib/libgmodule-2.0.so" FREETYPE_CFLAGS="-I/home/naveen/3.3.2/gtk-2.4/include/freetype2" FREETYPE_LIBS=/home/naveen/3.3.2/gtk-2.4/lib/libfreetype.so XML_CFLAGS="-I/home/naveen/3.3.2/gtk-2.4/include/libxml" FONTCONFIG_CFLAGS="-I/home/naveen/3.3.2/gtk-2.4/include/" FONTCONFIG_LIBS=/home/naveen/3.3.2/gtk-2.4/lib/libfontconfig.so ./configure --build=i386-linux --prefix=$PREFIX --host=arm-linux --with-x --x- includes=/home/naveen/3.3.2/arm-linux/X11R6-arm/include --x-libraries=/home/naveen/3.3.2/arm-linux/X11R6-arm/lib --with-freetype-config=/home/naveen/3.3.2/gtk-2.4/bin/freetype-config --with-confdir=/home/naveen/3.3.2/gtk-2.4/etc/fonts --enable-libxml2 --enable-freetype=y
---------------------------------------------------------------------
But still i used get X backend enabled message.
So i manually edited the configure file and enabled the flags as
------------------------
have_fontconfig=true
have_freetype=true
have_xft=true
------------------------
And when i compile using make i am getting the error as
-----------------------------------------------------------------------------------
/bin/sh ../libtool --mode=link arm-linux-gcc -g -O2 -Wall -o pango-
querymodules querymodules.o libpangox-1.0.la libpangoxft-1.0.la
libpangoft2-1.0.la libpango-1.0.la -L/home/naveen/3.3.2/gtk-2.4/lib -
lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0
arm-linux-gcc -g -O2 -Wall -o .libs/pango-querymodules
querymodules.o ./.libs/libpangox-1.0.so -
L/home/naveen/3.3.2/gtk-2.4/lib -L/home/naveen/3.3.2/arm-linux/X11R6-
arm/lib ./.libs/libpangoxft-1.0.so /home/naveen/Tools/pango-1.5.2/pango/.libs/libpangoft2-1.0.so -lXft -lX11 -lXrender ./.libs/libpangoft2-1.0.so /home/naveen/Tools/pango-1.5.2/pango/.libs/libpango-1.0.so /home/naveen/3.3.2/gtk-2.4/lib/libfontconfig.so /home/naveen/3.3.2/gtk-2.4/lib/libexpat.so /home/naveen/3.3.2/gtk-2.4/lib/libfreetype.so -lz ./.libs/libpango-1.0.so -lm /home/naveen/3.3.2/gtk-2.4/lib/libgobject-2.0.so /home/naveen/3.3.2/gtk-2.4/lib/libgmodule-2.0.so -ldl /home/naveen/3.3.2/gtk-2.4/lib/libglib-2.0.so -Wl,--rpath -Wl,/home/naveen/3.3.2/gtk-2.4/lib
/home/naveen/3.3.2/lib/gcc-lib/arm-linux/3.3.2/../../../../arm-
linux/bin/ld: warning: libXext.so.6, needed by /home/naveen/3.3.2/arm-
linux/X11R6-arm/lib/libXft.so, not found (try using -rpath or -rpath-
link)
./.libs/libpangoxft-1.0.so: undefined reference to `XftGlyphExtents'
./.libs/libpangoxft-1.0.so: undefined reference to `XftCharIndex'
./.libs/libpangoxft-1.0.so: undefined reference to `XftGlyphSpecRender'
/home/naveen/3.3.2/arm-linux/X11R6-arm/lib/libXrender.so: undefined
reference to `XextAddDisplay'
./.libs/libpangoxft-1.0.so: undefined reference to `XftDrawGlyphSpec'
/home/naveen/3.3.2/arm-linux/X11R6-arm/lib/libXrender.so: undefined
reference to `XextFindDisplay'
./.libs/libpangoxft-1.0.so: undefined reference to `XftLockFace'
./.libs/libpangoxft-1.0.so: undefined reference to `XftUnlockFace'
/home/naveen/3.3.2/arm-linux/X11R6-arm/lib/libXrender.so: undefined
reference to `XextRemoveDisplay'
./.libs/libpangoxft-1.0.so: undefined reference to `XftDrawCharSpec'
/home/naveen/3.3.2/arm-linux/X11R6-arm/lib/libXrender.so: undefined
reference to `XMissingExtension'
./.libs/libpangoxft-1.0.so: undefined reference to `XftCharSpecRender'
./.libs/libpangoxft-1.0.so: undefined reference to `XftCharExists'
collect2: ld returned 1 exit status
make[4]: *** [pango-querymodules] Error 1
make[4]: Leaving directory `/home/naveen/Tools/pango-1.5.2/pango'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/naveen/Tools/pango-1.5.2/pango'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/naveen/Tools/pango-1.5.2/pango'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/naveen/Tools/pango-1.5.2'
make: *** [all] Error 2
---------------------------------------------------------------------------------
Getting the waring as unable to find libXext.so.6 but it is present.
Please guide me how would i proceed?
Regards,
Naveen.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]