I have found that it is no longer necessary to build OpenMotif from source …
the recent versions of MacPorts have included OpenMotif once again, and unlike
in the past, the libraries included in the MacPorts install of OpenMotif do not
cause problems when one loads NMAP2. So give that a try , i.e. “sudo port
install openmotif”.
However, the error you are seeing I suspect is due to Mt. Lion no longer
providing an X server. Search for and install XQuartz, which is an open
source (via MacForge) implementation of X Windows. You will definitely need
that in order to run any X-window application, such as GEMPAK and NMAP2.
--Kevin
_____________________________________________
Kevin Tyle, Systems Administrator
Dept. of Atmospheric & Environmental Sciences
University at Albany
Earth Science 235, 1400 Washington Avenue
Albany, NY 12222
Email: ktyle@xxxxxxxxxx<mailto:ktyle@xxxxxxxxxx>
Phone: 518-442-4578
_____________________________________________
From: gembud-bounces@xxxxxxxxxxxxxxxx [mailto:gembud-bounces@xxxxxxxxxxxxxxxx]
On Behalf Of Seth Deckard
Sent: Tuesday, October 16, 2012 10:37 AM
To: gembud@xxxxxxxxxxxxxxxx
Subject: [gembud] Installing GEMPAK on Mac OS X Mountain Lion (10.8)
I'm using the following instructions to build GEMPAK for Mac OS X:
https://www.unidata.ucar.edu/software/gempak/doc/install_osx.html
I am getting an error building OpenMotif 2.3.3 (Step 3c):
make all-am
/bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.
-I../../include -I.. -I./..
-DXMBINDDIR_FALLBACK=\"/opt/local/lib/X11/bindings\"
-DINCDIR=\"/opt/local/include/X11\" -DLIBDIR=\"/opt/local/lib/X11\"
-I/opt/local/include -Wall -g -fno-strict-aliasing -Wno-unused -Wno-comment
-fno-tree-ter -I/opt/local/include -I/opt/local/include/freetype2 -MT
XmStrDefs.lo -MD -MP -MF .deps/XmStrDefs.Tpo -c -o XmStrDefs.lo XmStrDefs.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../include -I.. -I./..
-DXMBINDDIR_FALLBACK=\"/opt/local/lib/X11/bindings\"
-DINCDIR=\"/opt/local/include/X11\" -DLIBDIR=\"/opt/local/lib/X11\"
-I/opt/local/include -Wall -g -fno-strict-aliasing -Wno-unused -Wno-comment
-fno-tree-ter -I/opt/local/include -I/opt/local/include/freetype2 -MT
XmStrDefs.lo -MD -MP -MF .deps/XmStrDefs.Tpo -c XmStrDefs.c -fno-common -DPIC
-o .libs/XmStrDefs.o
In file included from XmStrDefs.c:10:0:
../Xm/Xm.h:81:27: fatal error: X11/Intrinsic.h: No such file or directory
compilation terminated.
make[3]: *** [XmStrDefs.lo] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1
Any ideas on how to get around this?
Thanks,
Seth