Re: Error in glib while trying to execute the gtk-demo



By the way, I currently change the version of glib from 2.2.3 to
2.6.0. Now, another error occurs and this are the error messages

-----------------------------------------------------------------------------------
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
-----------------------------------------------------------------------------------

Our target board has already a running x server. I also look the
fonts.conf from the following contents

------------------------------------------------------------------------------------
<!-- Font directory list -->

        <dir>/opt/rootgtk/rootfs-glibc-frv-040820-3/usr/X11R6/lib/X11/fonts</dir>
        <dir>/opt/rootgtk/rootfs-glibc-frv-040820-3/usr/X11R6/lib/X11/fonts</dir>
        <dir>~/.fonts</dir>
------------------------------------------------------------------------------------
to this
------------------------------------------------------------------------------------
<!-- Font directory list -->

        <dir>/usr/X11R6/lib/X11/fonts</dir>
        <dir>/usr/X11R6/lib/X11/fonts</dir>
        <dir>~/.fonts</dir>
------------------------------------------------------------------------------------

My fontconfig configuration is:

  ./configure --prefix=/opt/rootgtk/rootfs-glibc-frv-040820-3/opt/gtk
--host=frv-linux-gnu --build=i686-pc-linux-gnu --enable-shared=yes
--enable-static=no
--with-freetype-config=/opt/rootgtk/rootfs-glibc-frv-040820-3/opt/gtk/bin/freetype-config
--with-expat-lib=/opt/rootgtk/rootfs-glibc-frv-040820-3/opt/gtk/lib
--with-expat-includes=/opt/rootgtk/rootfs-glibc-frv-040820-3/opt/gtk/include
--with-expat=/vnj/cross-compiling-new-gtk/expat-1.95.7 --disable-docs
--with-default-fonts=/opt/rootgtk/rootfs-glibc-frv-040820-3/usr/X11R6/lib/X11/fonts
--with-add-fonts=/opt/rootgtk/rootfs-glibc-frv-040820-3/usr/X11R6/lib/X11/fonts
--with-conf-dir=/opt/rootgtk/rootfs-glibc-frv-040820-3/etc/fonts

Is there something wrong with my configuration? Any ideas guys?

On 9/26/05, Ryan Schmidt <gtk-2005 ryandesign com> wrote:
> On Sep 26, 2005, at 09:45, Xyber Blue wrote:
>
> > I also come up with the idea to move to higher versions to possibly
> > solve this problem.
>
> I think that's always a good first thing to try; some of those
> versions look ancient.
>
>
>



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