I was thinking of modifying the install script
https://www.cs.bham.ac.uk/research/projects/poplog/V16/getpoplog.sh
to accept an optional argument specifying that linking should be done with
motif, an option pointed out by Waldek last July, which I had previously
forgotten (brain getting too soft...):
He had anticipated all this, and wrote:
Date: Tue, 2 Jul 2019 19:01:04 +0200 (CEST)
From: [email protected]
....
..... 'build_pop2' links basepop11 to Xt.
To link with Motif one need to change line
$usepop/pop/src/newpop -link -x=-xt -norsv
at the end of 'build_pop2' to
$usepop/pop/src/newpop -link -x=-xm -norsv
I have neither Motif nor Lesstif so I can not test if this works,
but in principle all lower-level machinery for this to work is
in place.
His instructions are still appropriate for anyone who uses his 'minimal'
Poplog package and installs it directly.
For the combined Waldek+Birmingham poplog system installed using this
script
http://www.cs.bham.ac.uk/research/projects/poplog/V16/getpoplog.csh
I decided it would be too tedious to add another optional flag, in addition
to -nopie.
So, since re-linking only takes a few seconds at most, in my tests, the
documentation tells motif users to relink *after* installation, I have now
simply changed the online instructions
https://www.cs.bham.ac.uk/research/projects/poplog/V16/AREADME.html#use-motif
to tell motif users to run this command after installation:
$usepop/pop/src/newpop -link -x=-xm -norsv
Linux experts will know how to redirect output to /dev/null or a file to be
examined later.
Aaron