MDSplus / mdsplus

The MDSplus data management system
https://mdsplus.org/
Other
72 stars 44 forks source link

Macintosh builds link against wrong Motif #1994

Open joshStillerman opened 4 years ago

joshStillerman commented 4 years ago

The current macintosh kits look for motif in /Applications and look for: /Applications/OpenMotif21/lib/libMrm.3.1.dylib and /Applications/OpenMotif21/lib/libXm.3.1.dylib That version of Motif will not install on modern MAC operating systems.

The two alternatives are brew and macports which each probably put the motif libraries in different directories. We should update the build to link against the unversioned names of these libraries, and if possible make it agnostic to which of the 2 installers are used by the client.

Darren Garnier (garnier@psfc.mit.edu) may have some insights into how to make this happen.

? Do we want to update the mac we use for builds ? I am a bit afraid to. Maybe we should configure a new one, and when it works we switch.

? I am guessing that if we build for Catalina it will not work on any previous versions, if this is the case we should carefully decide what OS version to use ?

dgarnier commented 4 years ago

One should be able to build in a way to allow prior versions. (There is a mechanism and option in the linker.. if it isn't there now, I can look at it. But the real question is what is the earliest system we want to support.) Very soon, we will have to build for Catalina and "sign" the binaries. Apple has been threatening this for a while, but it breaks so much, they've been pushing it back.

zack-vii commented 4 years ago

is it not possible to link libs to trick mdsplus to use the new libs instead. this works fine for debian. if its just motif well then maybe its just motif that wont run on a new mac. they would start using the java equivalents then

zack-vii commented 4 years ago

The current macintosh kits look for motif in /Applications and look for: /Applications/OpenMotif21/lib/libMrm.3.1.dylib and /Applications/OpenMotif21/lib/libXm.3.1.dylib That version of Motif will not install on modern MAC operating systems.

Which versions / files will be installed/present?