Pango Installation Issues
- From: "Pradeep Chimakurthy" <pchimakurthy gmail com>
- To: gtk-i18n-list gnome org
- Subject: Pango Installation Issues
- Date: Sat, 25 Aug 2007 18:29:11 -0700
Hello,
I have been trying to cross-compile pango using the below configure options:
./configure CC=xtensa_linux_le-gcc CFLAGS=' -g -Wall
-Wstrict-prototypes' STRIP=xtensa_linux_le-strip
LD=xtensa_linux_le-ld AR=xtensa_linux_le-ar AS=xtensa_linux_le-as
CXX=xtensa_linux_le-g++ CPP=xtensa_linux_le-cpp
RANLIB=xtensa_linux_le-ranlib --prefix=/home/pradeep/pango/pango LDFLAGS='-nostdlib' CPPFLAGS='-I /home/pradeep/glib/glib/include -I /tools/montavista/montavista/pro/devkit/xtensa/linux_le/target/usr/include -I /tools/montavista/montavista/pro/devkit/xtensa/linux_le/target/usr/include/freetype2 ' --with-x=no --with-dynamic-modules="basic-fc,indic-fc,indic-lang" --host=xtensa-linux
However it keeps failing with the below error message when it
tries to use libexpat.so as it tries to use the one it finds in
/usr/lib. I tried tracing as to see if I could fix it but could not
find any reference in the top files to expat except for a [.la] file
created in the harfbuzz directory. I tried changing the library path in
it but it would not work.
xtensa_linux_le-gcc -shared .libs/module-defs-fc.o
.libs/pangofc-font.o .libs/pangofc-fontmap.o .libs/pangofc-decoder.o
.libs/pangoft2.o .libs/pangoft2-fontmap.o .libs/pangoft2-render.o
.libs/pango-ot-buffer.o .libs/pango-
ot-info.o .libs/pango-ot-ruleset.o .libs/pango-ot-tag.o
-Wl,--whole-archive opentype/.libs/libharfbuzz-1.a
-Wl,--no-whole-archive -Wl,--rpath -Wl,/tools/montavista/montavista/pro/devkit/xtensa/linux_le/bin/../target/usr/lib/ -Wl,--rpath -Wl,/home/pradeep/pango/pango-
1.17.5/pango/.libs -Wl,--rpath -Wl,/home/pradeep/glib/glib/lib -Wl,--rpath -Wl,/tools/montavista/montavista/pro/devkit/xtensa/linux_le/bin/../target/usr/lib/ -Wl,--rpath -Wl,/home/pradeep/pango/pango/lib -Wl,--rpath -Wl,/home/pradeep/glib/glib/lib /usr/lib/libexpat.so ./.libs/libpango-
1.0.so -L/home/pradeep/glib/glib/lib /home/pradeep/glib/glib/lib/libgobject-
2.0.so /home/pradeep/glib/glib/lib/libgmodule-
2.0.so -ldl /home/pradeep/glib/glib/lib/libglib-
2.0.so /tools/montavista/montavista/pro/devkit/xtensa/linux_le/bin/../target/usr/lib//libfontconfig.so /tools/montavista/montavista/pro/devkit/xtensa/linux_le/bin/../target/usr/lib//libfreetype.so -lz -lm -Wl,-soname -Wl,
libpangoft2-1.0.so.0 -Wl,-version-script -Wl,.libs/libpangoft2-1.0.ver -o .libs/libpangoft2-1.0.so.0.1705.0
/usr/lib/libexpat.so: could not read symbols: File in wrong format
collect2: ld returned 1 exit status
it fails while creating
It seemed to be coming from the fontconfig dependency on expat. On searching online, I found some information saying that this
information is put into one of the libtool [.la] files but not much
else. Could anybody help me with this issue ?
Thank you very much.
Pradeep
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]