Hi, 
I tried with modifying the PC version of pango.modules and downloaded it on
the board.
When I run my GTK applictaions, it gives an error saying "Error reading
Pango modules file".

It seems there is problem with modules created during cross compilation of
pango ( like pango-arabic-fc.so etc) because while running
pango-querymodules i get the error from these modules :
/usr/gtkdfb/lib/pango/1.5.0/modules/pango-arabic-fc.so does not export Pango 
 module API
etc.

Do i need to compile pango with native glib instead of cross compiled glib
like I did for ATK because GLIB is a dependency for pango?

Thanks
Jasdeep

Binary Chen wrote:
> 
> Hi,
> 
> I create the pango.modules by modify the PC version and download to
> board.
> 
> Bin
> 
> 在 2007-10-16二的 19:28 +0530,jasdeep写道:
>> Hi All,
>> I am running GTK + based applications on xscale arm board.
>> I have compiled all the dependencies successfully.
>> 
>> when i run a sample gtk application on the target board (helloworld) ,
>> it gives a warning saying : 
>> Pango-WARNING **: No builtin or dynamically
>> loaded modules were found. Pango will not work correctly.
>> This probably means there was an error in the creation of
>> 'usr/gtkdfb/etc/pango/pango.modules'
>> 
>> 
>> You should create this file by running pango-querymodules.
>> 
>> then I run pango-query-module on the target board by running 
>> /usr/gtkdfb/bin/pango-querymodule > /usr/gtkdfb/etc/pango/pango.modules
>> 
>> 
>> 
>> It gives the error :
>> 
>> /usr/gtkdfb/lib/pango/1.5.0/modules/pango-arabic-fc.so does not export
>> Pango 
>> module API
>> etc
>> 
>> 
>>  what could be the reason for this?
>> I am using pango-1.13.1
>> 
>> My pango configuration options are :
>> 
>> 
>> 
>> export GCC=arm-linux-gcc
>> export CC=arm-linux-gcc
>> export CXX=arm-linux-gcc
>> export LD=arm-linux-ld
>> export NM=arm-linux-nm
>> export RANLIB=arm-linux-ranlib
>> export AS=arm-linux-as
>> export AR=arm-linux-ar
>> 
>> 
>> export CFLAGS=-I/usr/gtkdfb/include
>> export LDFLAGS=-L/usr/gtkdfb/lib
>> export GLIB_CFLAGS="-I/usr/gtkdfb/include/glib-2.0
>> -I/usr/gtkdfb/lib/glib-2.0/include"
>> export GLIB_LIBS="/usr/gtkdfb/lib/libglib-
>> 
>> 2.0.so /usr/gtkdfb/lib/libgobject-
>> 2.0.so /usr/gtkdfb/lib/libgmodule-2.0.so /usr/gtkdfb/lib/libfontconfig.so
>> /usr/gtkdfb/lib/libxml2.so /usr/gtkdfb/lib/libfreetype.so"
>> 
>> 
>> export CAIRO_CFLAGS="-I/usr/gtkdfb/include/cairo"
>> export CAIRO_LIBS=/usr/gtkdfb/lib/libcairo.so
>> export FONTCONFIG_CFLAGS="-I/usr/gtkdfb/include/fontconfig"
>> export FONTCONFIG_LIBS=/usr/gtkdfb/lib/libfontconfig.so
>> 
>> 
>> export FREETYPE_CFLAGS="-I/usr/gtkdfb/include/freetype2"
>> export FREETYPE_LIBS=/usr/gtkdfb/lib/libfreetype.so
>> export FREETYPE_CONFIG=/usr/gtkdfb/bin/freetype-config
>> ./configure --host=arm-linux --build=i386-linux --prefix=/usr/gtkdfb
>> --without-x
>> 
>> 
>> 
>> I am compiling GLIB-2.11.3 with cache file options of :
>> 
>> glib_cv_stack_grows=no
>> glib_cv_uscore=yes 
>> ac_cv_func_posix_getpwuid_r=yes 
>> 
>> Thanks
>> Jasdeep 
>> _______________________________________________
>> directfb-dev mailing list
>> [email protected]
>> http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev
> 
> 
> _______________________________________________
> directfb-dev mailing list
> [email protected]
> http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev
> 
> 

-- 
View this message in context: 
http://www.nabble.com/pango-querymodule-fails-on-target-board-tf4634411.html#a13248623
Sent from the DirectFB Dev mailing list archive at Nabble.com.


_______________________________________________
directfb-dev mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev

Reply via email to