backwards compatibility

This forum is read only. No new submissions are accepted.

Questions about motif? Contact us

4 posts / 0 new
Last post
backwards compatibility

Submitted by slick8086 on Thu, 03/23/2006 - 17:14. General Questions
I'm using iSeriesAccess from IBM. The latest version (1.12) that came out on March 10, 2006..

on my FC4 it works, but FC5 uses a newer version of openmotif I guess. because when I try to install iSeriesAccess it errors out with a missing dependency for libXm.so.3

Any one have some advice for me? If I try to install the openmotif that came with FC4 it gives me a dependency error as well. I'm not sure how to get around this.

Mark

Hi,

libXm.so.3 = OM 2.2.3.

So you are on the right track getting it from FC4. There are two open motif packages: Development and Runtime. The runtime one has to be installed first. Perhaps you tried to install the Development one?

What was the dependency error message?

Mark

bkat

slick8086 wrote:
I'm using iSeriesAccess from IBM. The latest version (1.12) that came out on March 10, 2006..
on my FC4 it works, but FC5 uses a newer version of openmotif I guess. because when I try to install iSeriesAccess it errors out with a missing dependency for libXm.so.3

Any one have some advice for me? If I try to install the openmotif that came with FC4 it gives me a dependency error as well. I'm not sure how to get around this.

It doesn't look like FC5 includes compatibility libs for openmotif. There are a couple of things you can do:

1. grab the openmotif release you want from hear, compile it, and install the shared libs in /usr

something like ./configure --disable-static --enable-shared --prefix=/usr
make

2. Grab the FC4 src rpm from
http://download.fedora.redhat.com/pub/fedora/linux/core/4/SRPMS/openmoti...

and build it.
rpm -Uhv openmotif-2.2.3-10.src.rpm
cd ~/rpmbuild/SPECS
rpmbuild -bb openmotif.spec

You may have to edit the spec file because of the changes in how Xorg.7 is packaged. Mostly it will be BuildRequires

3. as a quick hack, you could do
cd /usr/lib
ln -s libXm.so.4 libXm.so.3

That assumes that libXm.so.4 is link compatible with libXm.so.3

Mark

OpenMotif 2.3 is upwards compatible with applications that either use standard OpenMotif 2.2 widgets *or* use widgets that use resolvepartsoffset to access internal widget structures.

Unfortunately, many of the free motif widgets (and some of the not free widgets) do not use the resolvepartsoffset mechanism. If your application uses such widgets, you need to recompile everything against OM 2.3.

Of course, you can grab the older RPMs for OM 2.2 (libXm.so.3) and install them. Just renaming or re-linking the libxm version can be dangerous...

Mark