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?


-- Matthew R. Trower

------------------------------------------------------------------------------
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