OpenMotif on MacOS X

This forum is read only. No new submissions are accepted.

Questions about motif? Contact us

7 posts / 0 new
Last post
OpenMotif on MacOS X

Submitted by RobArthan on Sat, 09/05/2009 - 12:03.

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.

Sat, 09/05/2009 - 12:08#1

Sat, 09/05/2009 - 12:08#1

RobArthan

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

 

Mon, 10/12/2009 - 11:55#2

Mon, 10/12/2009 - 11:55#2

Yuriy Syrota

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.

 

Tue, 10/13/2009 - 15:22#3

Tue, 10/13/2009 - 15:22#3

RobArthan

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.

 

Sun, 10/18/2009 - 13:11#4

Sun, 10/18/2009 - 13:11#4

mbalmer

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.

 

Sun, 11/08/2009 - 14:48#5

Sun, 11/08/2009 - 14:48#5

RobArthan

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.

 

Sat, 12/12/2009 - 12:45#6

Sat, 12/12/2009 - 12:45#6

squeen

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.