OpenMotif on MacOS X

I have installed OpenMotif with some difficulty on MacOS X 10.6. I needed to download and install freetype2; I had to fiddle with CFLAGS to get the -I and -L options right and hack clients/uil/UilDefI.h to make it define YYSTYPE).

Is it intended to continue support for OpenMotif on MacOS X? If so, it would be nice if it built out of the box - although

Regards,

Rob.


RobArthan

RobArthan's picture

I hit submit too soon! I

I hit submit too soon! I meant to say:

although I appreciate that not having freetype2 may be more of an Apple X11 issue (I didn't have to do this with earlier versions of MacOS X).


Yuriy Syrota

Yuriy Syrota's picture

RobArthan wrote: I hit

RobArthan wrote:

I hit submit too soon! I meant to say:

although I appreciate that not having freetype2 may be more of an Apple X11 issue (I didn't have to do this with earlier versions of MacOS X).

Rob,

Open Motif, is a source code version of Motif®, available under a public license, the effect of which allows Open Motif to be distributed, royalty free, when the platform upon which it is shipped is Open Source. Since MacOS is a not an open source platform it is not target platform for OpenMotif.


RobArthan

RobArthan's picture

But the underlying Unix

But the underlying Unix operating system is Free BSD and is open source. As this was not considered a problem a few years ago, why has it become a problem now.


mbalmer

mbalmer's picture

The Unix core of Mac OS X is

The Unix core of Mac OS X is Mach and is made available under the name Darwin as an opensource project. When you run X11 on Darwin, you are running on opensource from top to bottom.


RobArthan

RobArthan's picture

Thanks to mbalmer for the

Thanks to mbalmer for the extra confirmation. On the technical side, there are two bugs that were stopping Motif building on Mac OS X 10.6: bugzilla #1497 and #1479. You also need to set some environment variables. If you apply the patches (using the options -z ".org" for #1497) and do the following OpenMoti builds fine.

./configure CPPFLAGS="-I/usr/X11R6/include/freetype2 -I/usr/X11R6/include"
LIBRARY_PATH=/usr/X11R6/lib make

Cheers,

Rob.


squeen

squeen's picture

With the environment

With the environment variable change suggested by Rob Arthan (so that it can find the freetype2 headers) OpenMotif 2.3.2 built fine for me on OS X 10.5 (Leopard). I guess the bug fixes were incorporated into the 2.3.2 release?

Thanks.