sorry, forgot to post my configuration:
fontconfig:
CC=mipsel-linux-gnu-gcc NM=mipsel-linux-gnu-nm AR=mipsel-linux-gnu-ar
LIBXML2_CFLAGS=-I$PREFIX/include/libxml2
LIBXML2_LIBS=$PREFIX/lib/libxml2.so
./configure --host=mipsel-linux --build=i386-linux --prefix=$PREFIX
--with-freetype-config=$PREFIX/bin/freetype-config
--with-confdir=$PREFIX/etc/fonts --enable-libxml2 --with-arch=$ARCH
pango:
CC=mipsel-linux-gnu-gcc NM=mipsel-linux-gnu-nm AR=mipsel-linux-gnu-ar
RANLIB=mipsel-linux-gnu-ranlib
GLIB_CFLAGS="-I$PREFIX/include/glib-2.0 I$PREFIX/lib/glib-2.0/include"
GLIB_LIBS="$PREFIX/lib/libglib-2.0.so $PREFIX/lib/libgobject-2.0.so
$PREFIX/lib/libgmodule-2.0.so $PREFIX/lib/libfontconfig.so
$PREFIX/lib/libxml2.so $PREFIX/lib/libfreetype.so"
CAIRO_CFLAGS="-I$PREFIX/include/cairo"
CAIRO_LIBS=$PREFIX/lib/libcairo.so
FONTCONFIG_CFLAGS="-I$PREFIX/include/fontconfig"
FONTCONFIG_LIBS=$PREFIX/lib/libfontconfig.so
FREETYPE_CFLAGS="-I$PREFIX/include/freetype2"
FREETYPE_LIBS=$PREFIX/lib/libfreetype.so
FREETYPE_CONFIG=$PREFIX/bin/freetype-config
./configure --host=mipsel-linux --build=i386-linux --prefix=$PREFIX --without-x
thomas liu
2007-05-15
发件人: thomas liu
发送时间: 2007-05-15 16:24:30
收件人: directfb-dev
抄送:
主题: [directfb-dev] Warninig in Pango and Fontconfig
Hi
I cross-compliled gtk+2.10.0 with all libraries
(glib,pango,fontconfig,atk,freetype)
but pango and fontconfig gives the warnings..
That warnings are:
In fontconfig:
***
*** Warning: fonts.cache not built
***
*** Generate this file manually on host system using fc-cache
***
In pango:
Warning :pango.modules not created
Generate this file on the target system
system using pango-querymodules..
and i got error on target(when running gtk-demo) like following:
Fontconfig error: Cannot load default config file
(gtk-demo:953): 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:
'/home/IPTV/stb810-SP5/build/rootfs/opt/gtkdfb-mipsel/etc/pango/pango.modules'
You should create this file by running pango-querymodules.
Have you encountered this and how to solve it? Thank you!
Regards,
thomas liu
2007-05-15
发件人: Pedro Aguilar
发送时间: 2007-05-12 19:59:35
收件人: thomas liu
抄送: directfb-dev; Attilio Fiandrotti
主题: Re: [directfb-dev] GTK over DirectFB on MIPS processor
Hi,
This Fontconfig error is normal if you don't have any fonts installed in
your system. It's not a compilation problem. For a quick test, you can
copy some fonts (like /usr/share/fonts/bitstream-vera) from your linux
host to your target. This should work. Add the path where you copy the
fonts in your target to the fonts.conf.
Regards,
Pedro Aguilar
On Fri, 2007-05-11 at 17:57 +0800, thomas liu wrote:
> Thanks for your reply!
>
> Just now I recompiled Pango, then the crash msg became:
>
> Fontconfig error: Cannot load default config file
> No fonts found; this probably means that the fontconfig
> library is not correctly configured. You may need to
> edit the fonts.conf configuration file. More information
> about fontconfig can be found in the fontconfig(3) manual
> page and on http://fontconfig.org
> (!!!) *** WARNING [Application exited without deinitialization of
> DirectFB!] *
> ** [core.c:741 in dfb_core_deinit_check()]
> (!) Direct/Thread: Killing 'Fusion Dispatch' (1012)!
> Killed
>
> So is it concerned about fontconfig?
>
> I found in pango readme following: After installing fontconfig, it
> may be necessary to edit
> the fonts.conf file, found at $(sysconfdir)/fonts/fonts.conf
> (usually /etc/fonts/fonts.conf) to point at the fonts
> on your system.
>
> Could anybody tell me how to edit the font.conf file? Thank you!
>
> ______________________________________________________________________
> thomas liu
> 2007-05-11
>
> ______________________________________________________________________
> 发件人: Attilio Fiandrotti
> 发送时间: 2007-05-11 17:14:39
> 收件人: directfb-dev
> 抄送:
> 主题: Re: [directfb-dev] GTK over DirectFB on MIPS processor
>
> 刘挺 ha scritto:
> > Hello,
> >
> > I saw your bug report on
> > http://mail.directfb.org/pipermail/directfb-dev/2006-May/001854.html,
> > which I faced today almost the same.
> > I want to setup GTK
> + on a Philips PNX8550 MIPS processor which
> > supports DirectFB 0.9.25, so I follow a Wiki help doc from
> >
> http://www.directfb.org/wiki/index.php/Projects:GTK_on_DirectFB_for_Embedded_Systems
>
> >
>
> <http://www.directfb.org/wiki/index.php/Projects:GTK_on_DirectFB_for_Embedded_Systems
>
> > >
> > (is it written by you?) to do this. I downloaded those components and
> > followed the instructions strictly.
> > Finally I compiled GTK+ successfully on MIPS, but when I run
> > gtk-demo, it crashes with the following msg:
>
> <snip/ >
>
> > What do you think the problem is? Any help is appreciated.
>
> Could you please provide a backtrace of the crash ? This could help in
> understanding what the crash is due to.
>
> BTW, now the gt-2-10 gtk+ branch is up to date again, you may want to
> use it instead of trunk.
>
> regards
>
> Attilio
>
> _______________________________________________
> 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
--
Pedro Aguilar
_______________________________________________
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