Re: pango Xcompile backend problem.




Hi Sanjeev ,
Thanks for ur reply.
I changed the configure file of pango as follows
    
     have_fontconfig=true
      have_freetype=true
      have_xft=true

Because i already have them with Xcompiled.
Then i Xcompiled pango .
It has compiled perfectly and displayed finally as
backends: fontconfig X Xft
But when i do make it is giving the following problems.
......................................
arm-none-linux-gnueabi-gcc -g -O2 -Wall -o .libs/pango-querymodules querymodules.o  -L/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-2/arm-none-linux-gnueabi/arm-none-linux-gnueabi/local/lib -L/tmp/xfree86_new/dist/usr/X11R6/lib ./.libs/libpangox-1.0.so -lX11 ./.libs/libpangoxft-1.0.so /home/harsha/Desktop/SRCLibs/ALLGTK_NEW/pango-1.8.2/pango/.libs/libpangoft2-1.0.so -L/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-2/arm-none-linux-gnueabi/arm-none-linux-gnueabi/local//lib -lXft -lXrender ./.libs/libpangoft2-1.0.so /home/harsha/Desktop/SRCLibs/ALLGTK_NEW/pango-1.8.2/pango/.libs/libpango-1.0.so /opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-2/arm-none-linux-gnueabi/arm-none-linux-gnueabi/local/lib/libfontconfig.so /opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-2/arm-none-linux-gnueabi/arm-none-linux-gnueabi/local/lib/libxml2.so /opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-2/arm-none-linux-gnueabi/arm-none-linux-gnueabi/local/lib/libfreetype.so -lz ./.libs/libpango-1.0.so -lm /opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-2/arm-none-linux-gnueabi/arm-none-linux-gnueabi/local/lib/libgobject-2.0.so /opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-2/arm-none-linux-gnueabi/arm-none-linux-gnueabi/local/lib/libgmodule-2.0.so -ldl /opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-2/arm-none-linux-gnueabi/arm-none-linux-gnueabi/local/lib/libglib-2.0.so
/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-2/arm-none-linux-gnueabi/lib/gcc/arm-none-linux-gnueabi/4.1.1/../../../../arm-none-linux-gnueabi/bin/ld: warning: libXext.so.6, needed by /tmp/xfree86_new/dist/usr/X11R6/lib/libXft.so, not found (try using -rpath or -rpath-link)
/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-2/arm-none-linux-gnueabi/lib/gcc/arm-none-linux-gnueabi/4.1.1/../../../../arm-none-linux-gnueabi/bin/ld: warning: libexpat.so.0, needed by /tmp/xfree86_new/dist/usr/X11R6/lib/libXft.so, not found (try using -rpath or -rpath-link)
/tmp/xfree86_new/dist/usr/X11R6/lib/libXrender.so: undefined reference to `XextAddDisplay'
/tmp/xfree86_new/dist/usr/X11R6/lib/libXrender.so: undefined reference to `XextFindDisplay'
/tmp/xfree86_new/dist/usr/X11R6/lib/libXrender.so: undefined reference to `XextRemoveDisplay'
/tmp/xfree86_new/dist/usr/X11R6/lib/libXrender.so: undefined reference to `XMissingExtension'
collect2: ld returned 1 exit status
make[4]: *** [pango-querymodules] Error 1
make[4]: Leaving directory `/home/harsha/Desktop/SRCLibs/ALLGTK_NEW/pango-1.8.2/pango'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/harsha/Desktop/SRCLibs/ALLGTK_NEW/pango-1.8.2/pango'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/harsha/Desktop/SRCLibs/ALLGTK_NEW/pango-1.8.2/pango'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/harsha/Desktop/SRCLibs/ALLGTK_NEW/pango-1.8.2'
make: *** [all] Error 2

But the libexpat.so.0,libXft.so are there in the specified path.
I even did using "ldconfig" but same result.
All my environment variables are currect.
LD_LIBRARY_PATH points to the location of libraries.
For your reference i am attaching the Makefile of pango after compilation.
I even gon through the Makefile before doing the make but it seems OK to me.

Any libraries are missing or devel libraries are missing i couldn't get by looking at the above error.Because the libraries are there in the location.

For this i tryed in google i found some but no change.

If some body helps me in this regard it will be very greatful.

Thanks in advance.

Regards,
Harsha

























On 9/15/06, sanjeev yadav <kernelstuff gmail com> wrote:
hi
xft is not enabled while compiling pango that is why error.
try enabling it...check configure file where xft=yes should be there before u compile.
good luck,
sanjeev.

On 9/15/06, harshavardhanreddy mandeepala <hvreddy1110 gmail com> wrote:
Hi All,
I am trying to cross compile pango-1.8.2 for ARM.
It is compiling perfectly with  backend: X
But When i try to compile Gtk+2.6.10 it is asking for
"configure: error: Xft Pango backend is required for x11 target "

Though i have xft package in my Crosscompiled Xserver why pango is not compiling with
backend xft ?
Even i have freetype and fontconfig libs Xcompiled for my Target.
In my package config path xft.pc is there.
For your reference i am attaching the  makefile of pango.
Kindly help me in this regard.

Thanks in advance,

Regards,
Harsha



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





Attachment: Makefile
Description: Binary data



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