Bug 61433 - openmotif wrong version no.!
openmotif wrong version no.!
Product: Red Hat Raw Hide
Classification: Retired
Component: openmotif (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Ngo Than
Depends On:
  Show dependency treegraph
Reported: 2002-03-19 11:06 EST by Sammy
Modified: 2008-05-01 11:38 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2002-03-19 15:05:36 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Sammy 2002-03-19 11:06:04 EST
After installing openmotif-2.2.1 rpm the version in /usr/X11R6/include/Xm/Xm.h
file is still 2.1.30. Is this correct? Because the latest source from openmotif.org
is 2.2.1.
Comment 1 Sammy 2002-03-19 15:05:31 EST
Actually latest seems to be 2.2.3 from cvs and stable 2.2.2. BUT the
version number of libraries change from 2 to 3 so applications depending
on motif have to be recompiled. I just built the rpm for 2.2.3 and related
applications. All working ok.
Comment 2 Ngo Than 2002-03-22 07:37:00 EST
It's fixed in openmotif-2.2.2-1.    
openmotif-2.2.2 is not binary compatible with openmotif-2.1. If you have any applictions    
built with 2.1, you have to rebuild them against 2.2.2 or just install the compat lib    
openmotif21. The new openmotif packages will be in next rawhide release or on  
Comment 3 Sammy 2002-03-22 11:22:39 EST
Thanks, I have recompiled and linked everything EXCEPT xdiff version 3.4.
For some reason linking with 2.2.2 via the line:
gcc -o xdiff xdiff3.4-LINUXintel.o -L/usr/X11R6/lib -lXm -lXmu -lXp -lXt -lX11
leads to an non-working executable, giving errors:
Warning: Cannot find callback list in XtAddCallback
Warning: Cannot find callback list in XtAddCallback
    Name: verticalScroll
    Class: XmScrollBar
    The specified scrollbar value is greater than the maximum
    scrollbar value minus the scrollbar slider size.

A window pops up with a funny scrollbar and nothing inside. Menus do
not function. I know it is not an X problem because I can link it with
2.1.30 and it works.
Comment 4 Ngo Than 2002-03-23 02:18:41 EST
It cannot work because openmotif-2.2.2 is binary inkompatible against openmotif-2.1. 
You cannot use object file xdiff3.4-LINUXintel.o to build xdiff with 2.2.2! 
This object file xdiff3.4-LINUXintel.o was built with old openmotif! 
To fix this problem you have to link it against 2.1.x.

Note You need to log in before you can comment on or make changes to this bug.