Re: help with gtk2 & pango on solaris/sparc?



hi again,

according to the eclipse documentation, it is spec'ed to require gtk+ 2.2.x or higher. i already had  gtk+2.2.4 installed. but, i have updated to pango 1.8.0 + all its pre-reqs using this handy-dandy pkg-get tool:

   http://sunfreeware.com/pkg-get.html

imagine my disappointment when i fired up eclipse after the  pkg updates; and see the shell deluged with those same "broken pango-layout" msgs.

PRETTY PLEASE! - can anybody tell me how to make these annoying msgs stop?

or at least, can anybody explain _why_ the msgs are occuring? thanks in advance for your help.


many thanks

On 3/16/07, sun_certified <javafreelancer gmail.com> wrote:
hi all,

i use the eclipse ide (v 3.2.2) to do java development on a sunblade 100 running solaris 9/sparc. i don't do gtk+ development or anything. it just so happens that my java ide (eclipse) uses gtk+ for its gui. 

i was wondering if anybody could shed any light on an issue i'm encountering with pango in relation to eclipse. whenever i run eclipse, the shell from which i launch it gets deluged with dozens and dozens of these msgs:


===========================================================
...
** (Eclipse:1605): WARNING **: pango-layout.c:2435: broken PangoLayout

** (Eclipse:1605): WARNING **: Couldn't load font "adobe-courier 12" falling back to "Sans 12"

... ad nauseum...
===========================================================

plus, there is another problem where eclipse's syntax highlighting and whatnot is broken (the font color palettes are stuck on white). that is, i can select a new color for a font, but the indicator displays only the color white, and the font doesn't change to the color that i selected. i suspect that this and the pango warning msgs in the shell are related.

prior to installing eclipse on my sb100, i installed mozilla 1.7.13. but before installing mozilla, i had to install gtk2. i dl'd gtk 2.2.4 from sunfreeware.com back in aug/sep 2004.  at that time i also installed the pre-reqs (pango, gcc, atk, libiconv, etc.).

i have posted requests for help to the relevant eclipse newsgroups. in the meantime, i was wondering if anybody here could suggest what my problem might be? from what i can gather from different posts by other eclipse users in a few different discussion forums and bug databases, the configuration of pango and gtk2 is often mentioned as being involved somehow.

i don't get any obvious problems with mozilla (the only other app on my machine besides eclipse that uses pango, gtk, etc; that i know of anyway).  here are my questions specifically:

   1. is there some way to switch off gtk's or pango's debug logging so these warnings aren't displayed in the shell?

   2. does gtk+ or pango come into play as far as eclipse's color-selection functionality?

   3. is there someway to check if there is a conflicting version of gtk or pango lying around somewhere on my machine?

i have included the output of the pkginfo command for info about the gtk-related pkgs installed on my sb100 in case it sheds light on anything. any help you can give would be greatly appreciated. thanks in advance for your help.

cheers,
sun_certified

===========================================================
===========================================================


prompt$ uname -a
SunOS prompt 5.9 Generic_117171-12 sun4u sparc SUNW,Sun-Blade-100

pkginfo -l SUNWGtkr
   PKGINST:  SUNWGtkr
      NAME:  GTK - The GIMP Toolkit (Root)
  CATEGORY:  system
      ARCH:  sparc
   VERSION:  11.9.0,REV=2002.10.17.10.57
   BASEDIR:  /
    VENDOR:  Sun Microsystems, Inc.
      DESC:  GTK - The GIMP Toolkit (Root)
    PSTAMP:  sfw-patch20021017110354
  INSTDATE:  Aug 22 2004 15:41
   HOTLINE:  Please contact your local service provider
    STATUS:  completely installed
     FILES:       56 installed pathnames
                   1 shared pathnames
                   2 directories
                  36 blocks used (approx)
pkginfo -l SUNWGtku
   PKGINST:  SUNWGtku
      NAME:  GTK - The GIMP Toolkit (Usr)
  CATEGORY:  system
      ARCH:  sparc
   VERSION:  11.9.0,REV=2002.10.17.10.57
   BASEDIR:  /
    VENDOR:  Sun Microsystems, Inc.
      DESC:  GTK - The GIMP Toolkit (Usr)
    PSTAMP:  sfw-patch20021017110400
  INSTDATE:  Aug 22 2004 15:41
   HOTLINE:  Please contact your local service provider
    STATUS:  completely installed
     FILES:      149 installed pathnames
                   8 shared pathnames
                  14 directories
                   5 executables
                4366 blocks used (approx)
prompt$ pkginfo -l SFWgtken
   PKGINST:  SFWgtken
      NAME:  GTK - Theme Engines
  CATEGORY:  system
      ARCH:  sparc
   VERSION:  0.10,REV=2003.02.08.23.10
   BASEDIR:  /opt
    VENDOR:  www.gtk.org
      DESC:  GTK Theme Engines
    PSTAMP:  freeware20030209010340
  INSTDATE:  Aug 22 2004 16:57
   HOTLINE:  Please contact the owners of this software
    STATUS:  completely installed
     FILES:      104 installed pathnames
                   6 shared pathnames
                  15 directories
                   8 executables
                3489 blocks used (approx)
prompt$ pkginfo | grep pango
application SMCpango                         pango
prompt$ pkginfo -l SMCpango
   PKGINST:  SMCpango
      NAME:  pango
  CATEGORY:  application
      ARCH:  sparc
   VERSION:  1.2.5
   BASEDIR:  /usr/local
    VENDOR:  Owen Taylor et al
    PSTAMP:  Steve Christensen
  INSTDATE:  Sep 13 2004 03:09
     EMAIL:  steve smc vnet net
    STATUS:  completely installed
     FILES:      235 installed pathnames
                   9 shared pathnames
                  26 directories
                  41 executables
               17274 blocks used (approx)

prompt$ pkginfo -l SMCgtk
   PKGINST:  SMCgtk
      NAME:  gtk
  CATEGORY:  application
      ARCH:  sparc
   VERSION:  2.2.4
   BASEDIR:  /usr/local
    VENDOR:  The GTK Team
    PSTAMP:  Steve Christensen
  INSTDATE:  Sep 13 2004 03:12
     EMAIL:  steve smc vnet net
    STATUS:  completely installed
     FILES:     2839 installed pathnames
                 162 shared pathnames
                 347 directories
                 135 executables
              209152 blocks used (approx)
                     
prompt$ pkginfo -l SMCatk
   PKGINST:  SMCatk
      NAME:  atk
  CATEGORY:  application
      ARCH:  sparc
   VERSION:  1.2.4
   BASEDIR:  /usr/local
    VENDOR:  The ATk Team
    PSTAMP:  Steve Christensen
  INSTDATE:  Sep 13 2004 03:10
     EMAIL:  steve smc vnet net
    STATUS:  completely installed
     FILES:      320 installed pathnames
                 158 shared pathnames
                 116 directories
                   2 executables
                6268 blocks used (approx)

prompt$ pkginfo -l SMCexpat
   PKGINST:  SMCexpat
      NAME:  expat
  CATEGORY:  application
      ARCH:  sparc
   VERSION:  1.95.5
   BASEDIR:  /usr/local
    VENDOR:  James Clark
    PSTAMP:  Steve Christensen
  INSTDATE:  Sep 13 2004 03:04
     EMAIL:  steve smc vnet net
    STATUS:  completely installed
     FILES:       28 installed pathnames
                   6 shared pathnames
                   9 directories
                   3 executables
                1815 blocks used (approx)

prompt$ pkginfo -l SMCliconv
   PKGINST:  SMCliconv
      NAME:  libiconv
  CATEGORY:  application
      ARCH:  sparc
   VERSION:  1.8
   BASEDIR:  /usr/local
    VENDOR:  Bruno Haible
    PSTAMP:  Steve Christensen
  INSTDATE:  Sep 13 2004 03:08
     EMAIL:  steve smc vnet net
    STATUS:  completely installed
     FILES:       49 installed pathnames
                   7 shared pathnames
                   8 directories
                   3 executables
                5043 blocks used (approx)

prompt$ pkginfo -l SMCzlib
   PKGINST:  SMCzlib
      NAME:  zlib
  CATEGORY:  application
      ARCH:  sparc
   VERSION:  1.2.1
   BASEDIR:  /usr/local
    VENDOR:  Greg Roelofs and Jean-loup Gaillt
    PSTAMP:  Steve Christensen
  INSTDATE:  Sep 13 2004 03:02
     EMAIL:  steve smc vnet net
    STATUS:  completely installed
     FILES:       21 installed pathnames
                   5 shared pathnames
                   8 directories
                   2 executables
                 611 blocks used (approx)

prompt$ pkginfo -l SFWftype
   PKGINST:  SFWftype
      NAME:  Freetype - Free TrueType Rendering Engine
  CATEGORY:  system
      ARCH:  sparc
   VERSION:  1.3.1,REV=2003.02.08.23.10
   BASEDIR:  /opt
    VENDOR:  www.freetype.org
      DESC:  A free TrueType font rendering engine
    PSTAMP:  freeware20030209005102
  INSTDATE:  Aug 22 2004 16:46
   HOTLINE:  Please contact the owners of this software
    STATUS:  completely installed
     FILES:       34 installed pathnames
                   4 shared pathnames
                   5 directories
                  13 executables
                1115 blocks used (approx)

prompt$ pkginfo -l SFWgcc
   PKGINST:  SFWgcc
      NAME:  gcc - GNU Compiler Collection
  CATEGORY:  system
      ARCH:  sparc
   VERSION:  2.95.3,REV=2003.02.08.23.10
   BASEDIR:  /opt
    VENDOR:  www.gnu.org
      DESC:  GNU Compiler Collection
    PSTAMP:  freeware20030209005231
  INSTDATE:  Aug 22 2004 16:58
   HOTLINE:  Please contact the owners of this software
    STATUS:  completely installed
     FILES:      324 installed pathnames
                   8 shared pathnames
                   2 linked files
                  19 directories
                  22 executables
               50940 blocks used (approx)

prompt$ pkginfo -l SMCfconfig
   PKGINST:  SMCfconfig
      NAME:  fontconfig
  CATEGORY:  application
      ARCH:  sparc
   VERSION:  2.2.0
   BASEDIR:  /usr/local
    VENDOR:  Keith Packard
    PSTAMP:  Steve Christensen
  INSTDATE:  Sep 13 2004 03:06
     EMAIL:  steve smc vnet net
    STATUS:  completely installed
     FILES:      574 installed pathnames
                  10 shared pathnames
                  19 directories
                   5 executables
                7499 blocks used (approx)
===========================================================
===========================================================




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