[Posted and mailed]
Quote:> Has anyone tried RedHat Motif 2.1 with RH5, glibc ?
> I've had SWiM Motif 2.0 for about 3 yrs and it works fine on a libc5 system
> I couldn't get it to work reliably on RH5 (glibc) in terms of building apps
> and as a result of many statements on RedHat's site (amongst others) about
> Motif 2.0/libc not being able to work on glibc, bought RH Motif 2.1 the
> other day.
SWiM 2.0 works pretty well on my Red Hat 5.0 system. The only problem
I've had is that file open dialog boxes don't show the files in a
directory, and I've got that problem with some non-Motif apps, too, so I
suspect it's something else in the system doing strange things. I've
heard horror stories about other versions of Motif with glibc, though.
Quote:> It basically has *all sorts of problems*.
> a). xmcd (RedHat RPM) no longer works on RH5 - it works OK with my SWiM
> Motif 2.0 on the system. It may be that xmcd was built with Motif 2, but
> xmcd is a RH RPM, so I'd expect it to function.
First, it's important to distinguish between RPMs put out by Red Hat
itself and RPMs put out by others. RPMs found in the "contrib" directory
are NOT Red Hat's creations, though they are on Red Hat's site. I just
did a quick search of my Red Hat 5.0 CD, and couldn't find anything in
either contrib or RedHat/RPMS that matched "*xmcd*", so I suspect you got
this someplace else, or it's a recent addition (my CD is fairly elderly,
as RH 5.0 CDs go).
Second, even if it's an "official" Red Hat RPM, keep in mind that they
can't update everything at once. It's possible that the RPM has been
floating around since pre-5.0 days, or at least pre-Motif-2.1.
The best way to get it working with your new Motif is probably to
recompile it yourself. Personally, this is what I do with most Motif
apps, anyhow -- they're often available only in static form, or the
dynamic version is linked against the wrong version, or the dynamic
version has other huge libraries that are statically linked, or whatever.
> b). mxterm (from a tgz file) no longer works - it works OK with SWiM Motif2.0
> c). mxMail (an application of my own) no longer works reliably - when open
> say the fourth/fifth window, I get
> Warning: Widget class (null) version mismatch (recompilation needed):
> widget 344 vs. intrinsics 11006.
> What ?
The problems you're reporting here are things I've run across when trying
to use a binary linked against one version of Motif (e.g., 1.2) with
another (e.g., 2.0). It doesn't surprise me that there are similar
problems when upgrading to 2.1 on a system that's laden with 2.0 dynamic
executables. Try recompiling these programs.
If you're saying that you *HAVE* recompiled, and that you still get these
problems, then I'd say it's likely incompatibilities in the 2.1 API vs.
that in 2.0. You'll have to re-code the programs to get around the
problems. This is a disappointment, but hardly unheard-of.
Another thing to look out for is conflicting libraries, include files, or
whatever. SWiM is a non-RPM product; IIRC, the install program just
dumps everything in the directories where it expects them to go and leaves
an installation record in a text file somewhere. The best way to upgrade
to an RPM-based version of a package that's previously been installed in
that way is to manually track down and remove every file installed by the
non-RPM installer, modify back any init files that were modified, and then
do the RPM install. If you leave the old libraries lying around, there's
no telling what might happen.
Rod Smith Author of:
http://www.users.fast.net/~rodsmith "OS/2 Soundcard Summary"
NOTE: Remove the digit and following word from my address to mail me