|
List Info
Thread: Pango Installation Issues
|
|
| Pango Installation Issues |

|
2007-08-25 20:29:11 |
|
Hello,
I have been trying to cross-compile pango using the below configure options:
./configure CC=xtensa_linux_le-gcc CFLAGS=9; -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=39;-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.
xtens a_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
|
| Re: Pango Installation Issues |
  Canada |
2007-08-26 14:56:14 |
On Sat, 2007-08-25 at 18:29 -0700, Pradeep Chimakurthy
wrote:
>
> 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.
This is correct. Pango itself has no reference to expat.
Check your
generated libfontconfig.la and your fontconfig build to see
why it's
picking up system expat. Nothing Pango here.
> Pradeep
--
behdad
http://behdad.org/
"Those who would give up Essential Liberty to purchase
a little
Temporary Safety, deserve neither Liberty nor
Safety."
-- Benjamin Franklin, 1759
_______________________________________________
gtk-i18n-list mailing list
gtk-i18n-list gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-i18n-list
|
|
| Re: Pango Installation Issues |

|
2007-08-27 19:44:18 |
|
Hello behdad,
Thank you. My pkg-config was just giving out the prefix and not the complete path. I had to set the $CROSS_COMPILE_PREFIX and then it picked the correct reference.
Thank you
Pradeep
On 8/26/07, Behdad Esfahbod < behdad behdad.org">behdad behdad.org> wrote:
On Sat, 2007-08-25 at 18:29 -0700, Pradeep Chimakurthy wrote: > > 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.
This is correct. Pango itself has no reference to expat. Check your generated libfontconfig.la and your fontconfig build to see why it's picking up system expat. Nothing Pango here.
> Pradeep -- behdad http://behdad.org/
"Those who would give up Essential Liberty to purchase a little Temporary Safety, deserve neither Liberty nor Safety."
-- Benjamin Franklin, 1759
|
[1-3]
|
|
|
about | contact Other archives ( Real Estate discussion Medical topics )
|