[comp.windows.x] Xwebster printing odd warnings

jc@condor.bu.edu (James Cameron) (03/22/91)

Running SunOS 4.1.1 on SparcStation 2's and other fun things...  *8-)


I just got webster and Xwebster up and running (after a bit
of work) and I know seem to be getting some weird warning messages
from Xwebster.  (prelude - I have seen and used Xwebster on another
similiar system.)  Now, the warnings don't *seem* to do anything
at all, they are just a irritation...

Warning: Widget class VPanedWindow version mismatch:
  widget 11004 vs. intrinsics 11003.
Warning: Widget class Manager version mismatch:
  widget 11004 vs. intrinsics 11003.
Warning: Widget class TitleBar version mismatch:
  widget 11004 vs. intrinsics 11003.
Warning: Widget class StaticText version mismatch:
  widget 11004 vs. intrinsics 11003.
Warning: Widget class Primitive version mismatch:
  widget 11004 vs. intrinsics 11003.
Warning: Widget class Sash version mismatch:
  widget 11004 vs. intrinsics 11003.
Warning: Widget class PushButton version mismatch:
  widget 11004 vs. intrinsics 11003.
Warning: Widget class Button version mismatch:
  widget 11004 vs. intrinsics 11003.
Warning: Widget class ScrolledWindow version mismatch:
  widget 11004 vs. intrinsics 11003.
Warning: Widget class BulletinBoard version mismatch:
  widget 11004 vs. intrinsics 11003.
Warning: Widget class ScrollBar version mismatch:
  widget 11004 vs. intrinsics 11003.
Warning: Widget class Arrow version mismatch:
  widget 11004 vs. intrinsics 11003.
Warning: Widget class Valuator version mismatch:
  widget 11004 vs. intrinsics 11003.
Warning: Widget class RowCol version mismatch:
  widget 11004 vs. intrinsics 11003.
Warning: Widget class TextEdit version mismatch:
  widget 11004 vs. intrinsics 11003.

Suggestions anyone???

JC

--
James Cameron  -  jc@raven.bu.edu        |  "But to risk we must, for the 
Signal Processing and Interpretation Lab |  greatest hazard in life is to risk
ECS Engineering Dept.                    |  nothing.  For the man or woman who
	Boston University, Boston MA     |  risks nothing, has nothing, does
	Work: 617 353-2879               |  nothing, is nothing."
Information Technology                   |
	Boston University, Boston MA     |  (Quote from the eulogy for the late
	work: 617 353-2780 ext. 338      |   Christa McAuliffe.)  

doug@genmri.UUCP (Doug Becker) (03/23/91)

    Warning: Widget class VPanedWindow version mismatch:
      widget 11004 vs. intrinsics 11003.

These warnings are caused by compiling a client with newer Xt libraries
than are being found on the system upon which the client is being run.
This is the result of an oversight in the initial MIT R4 release, which set
the revision number of the Xt libraries incorrectly.  It was fixed in a
subsequent patch (fix-10), but some vendors (in particular, Sun) have yet
to pick up this patch in their commercial distributions -- hence the
warnings.

Basically, your options are to ignore the messages, recompile the client
with the older libraries, or put the newer libraries ahead of the older
ones on your machine.

-- 

Doug Becker
doug@nmri.ge.com
crdgw1!sane!doug

dbc@cs.brown.edu (Brook Conner) (03/24/91)

In article <JC.91Mar22022948@condor.bu.edu>, jc@condor.bu.edu (James Cameron) writes:
|> 
|> Running SunOS 4.1.1 on SparcStation 2's and other fun things...  *8-)
|> 
|> 
|> I just got webster and Xwebster up and running (after a bit
|> of work) and I know seem to be getting some weird warning messages
|> from Xwebster.  (prelude - I have seen and used Xwebster on another
|> similiar system.)  Now, the warnings don't *seem* to do anything
|> at all, they are just a irritation...
|> 
|> Warning: Widget class VPanedWindow version mismatch:
|>   widget 11004 vs. intrinsics 11003.
[About a billion more such messages deleted (actually one per widget class)]
|> 
|> Suggestions anyone???
|> 
|> JC
|> 
[big sig deleted]

This happens because there are two versions of Xt running around on
the SPARC.  The version you should find in $OPENWINHOME/lib and
the version you should find in /usr/lib/X11 (i.e. MIT X11R4) 
disagree on a very minor version number. You're right -- these
messages don't seem to have any earthly effect on the code.

There are  two ways to fix this problem:
1) Carefully set your LD_LIBRARY_PATH so that when you use apps built
	using X11R4, you do not have $OPENWIHOME/lib in that path (which
	is a bit of a pain if you use both Motif/Athena apps and XView apps,
	which I do (since Sun's XGL only seems to be happy under olwm, but I
	prefer Motif for my widgets))
2) Get your sysadmin to fix it. We fixed it by making the copies of Xt in
	$OPENWINHOME/lib be links to the MIT X11R4 versions.  This doesn't
	seem to cause any problems, since XView doesn't use Xt.

Brook
-- 
Brook Conner		| Klacktoveedsedstene
Brown Computer Graphics	| Fortune sez: Brook's Law -- Adding manpower to a late
dbc@cs.brown.edu     	|  	software project makes it later
uunet!brunix!dbc dbc@browncs.bitnet   Box 4013 Brown U Prov RI 02912