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.
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.
It's fixed in openmotif-2.2.2-1. Notes: 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 ftp://people.redhat.com/than/rawhide
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 Warning: 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. FYI
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.