Aaron Sloman wrote:
>
> Steve Isard <S.IsardDeleteThis@ed.ac.uk> writes:
> in reply to a message from Jonathan Cunningham that I have not yet seen.
You mean my reply appeared on your news server, but not his original
message? Does that happen often?
> I expect anything that uses Lesstif would continue to work if Lesstif
> is replaced by motif. They are supposed to be fucntionally equivalent,
> apart from bugs... ??
Or if some application was looking for a specific library version number
that was different in the particular Motif and Lesstif packages
involved.
> > You
> > may be in a different position. "rpm -e --test Lesstif" (don't really
> > remove Lesstif, but print out what you would say if I asked you to
> > remove it) will tell you what other packages on your machine depend on
> > Lesstif
>
> But only if they use the RPM mechanism. Other things that you install in
> a more conventional way (untar, configure, then make, then make install)
> will not have their dependencies liested in the RPM tables.
I was assuming from Jonathan's message that he had a fresh installation
containing only what Mandrake itself had installed from its rpms.
> When I was unsure about this I merely renamed the links to lesstif and
> kept them in a temp/ subdirectory in /usr/X11R6/lib/
> Then it was easy to switch between lesstif and motif after installing
> motif, as that merely put a few files and links in the same
> directory.
I've actually come to prefer letting rpm look after this kind of thing
for me when possible. I disliked rpm at first because I felt I didn't
have enough control over what it was doing, but it is not hard to find
out what files it will install or remove and it has in fact never done
anything objectionable. Switching back and forth with rpm -e and rpm -I
is as quick as moving a few links, and you don't have to figure out what
you've done when you come back after working on something else for a
week, because it's recorded in the rpm database.
> Most of the linux utilities don't use motif anyway: they use tcl/tk I
> think?
Gtk is another popular library.
> > I didn't link X into the
> > libc5 poplog, to keep the size down, so I don't know how Xved would
> > behave.
>
> You can probably reduce the size of Xved by relinking poplog without
> motif, as explained in HELP newpop. Then you get Xved without menu
> buttons (which I never use anyway) and without scrollbar (which is
> not essential if you are fluent with Ved's search commands.)
I can produce a libc5 version linked with X if there is a demand for it
(but I don't think there is). In fact anyone with the current libc5
version and a C compiler can do it for themselves, following the
instructions in the README, which in turn point to Aaron's notes on
relinking.
Steve
|