On 06/08/2018 01:45 PM, Matthew R. Trower wrote:
N.B. The attached patch is for example purposes only.
DO NOT APPLY TO MASTER.

The build process for CDE involves building motif from source.
Unfortunately, installing this motif into /usr conflicts with system
packages on many systems, causing package manager indigestion and
breaking legacy motif applications.  This is not a problem if your
system does not ship or depend on a legacy motif version, but if it
does, you're in trouble.

This does not strike me as a problem unique to me.

Here's how I've been dealing with it:

* install motif to /opt/motif
* symlink imports/x11/include/Xm -> /opt/motif/include/Xm
* edit config/sun.cf to link against this, as shown in the attached patch.


My questions are:

1) Have any others found themselves in this situation, and how have they
dealt with it?

2) Assuming my approach is reasonable, it seems to me there should be
one make variable, MOTIF_PREFIX or somesuch, that can be set once in one
file or on the command line.  Is there precedent in the CDE project for
this sort of functionality that I can examine, or should I just do what
seems reasonable here?


The main reason for requiring that people build Motif was for printing (XPRINT) support. Xorg removed this support some time ago, and 'default' motif installations do not enable it anymore either.

Starting in 2.2.4, CDE removed this support as well, and with other fixes in 2.2.4a, there really should be no need to build Motif anymore. Just install the developer versions of your system's motif and that should work now.

If it does not, let see if we can figure out why. The same goes for any of the BSD's, or any other OS we support.

-jon

[...]

--
Jon Trulson

"Fire all weapons and open a hailing frequency for my victory yodle."

                              - Zapp Brannigan

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
cdesktopenv-devel mailing list
cdesktopenv-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel

Reply via email to