Ryan,
So, I've got
OS X 10.5.7 on an Intel iMac.
Apple Software Developer's Kit : Xcode 3.1.3 and the version before
that.
GEMPAK 5.11.4 source package
g77 binaries downloaded from http://hpc.sourceforge.net, which was
built from gcc 3.4.0, and installed in /usr/local/.
openmotif3, openmotif3-bin, and openmotif3-shlibs from Fink and
installed in /sw (which is the default fink install tree)
And Gempak build fails. Thinking maybe need to use the same version of
gcc as the g77 was built with, discovered that gcc 3.4.x won't build
on Mac Intel Leopard. This according to discussion on Mac Ports where
others found gcc 3.4.x failed to build on Leopard and no one is
willing to fix it.
So, did you say you had success building Gempak 5.11.4 on intel
Leopard, or were still working on it?
-Neil
On Aug 3, 2009, at 12:26 AM, ryan jewell wrote:
Neil,
I installed g77 on my mac today. It installed in /usr/local/bin.
So, I added that to my $PATH variable so that if I do a "which g77"
it shows up. Then I changed the CONFIG>Makeinc.darwin files at the
top. It references some "/sw" directory, but I do not have it, so I
commented them out and added /usr/bin/g77 and /usr/bin/...
OPSYS = Darwin
#
# Using FINK's gcc and g77
#CC = /sw/bin/gcc-4
#FC = /sw/bin/g77
#Ryan Edit
CC = /usr/bin/gcc-4.0
FC = /usr/bin/g77
Now, the error I see over and over again is "Xm/XmAll.h", no such
file or directory. I do not have a /usr/X11R6/include/Xm directory,
so I'm trying to find out what it is and install it.
Ryan
On Sun, Aug 2, 2009 at 11:55 PM, Neil <neils@xxxxxxxxxxxxxxxxxx>
wrote:
Trying to do same here ... as I can get to it.
Unidata had pointed out to me before that the compile has to be done
using the old g77 fortran compiler, not the current GNU supported
gfortran. One of the Darwin config files I noticed mentioned getting
it from fink. Well, my recent experience with installing fink and
then looking for g77 failed to find it. So I'll have to get it from
some archive somewhere. Let me know if you can find it.
-Neil
On Aug 2, 2009, at 11:37 PM, ryan jewell wrote:
Hello, just signed up and test test test.
While I'm at it, I'll state that I"m pulling my hair out trying to
get GEMPAK installed right on my new mini mac. I try compiling it,
but a few minutes into the make it stops with errors. It's an Intel
based mac so the binary does not work.
I have a make file that I sent to unidata, waiting to see what they
think.
Ryan
_______________________________________________
gembud mailing list
gembud@xxxxxxxxxxxxxxxx
For list information or to unsubscribe, visit:
http://www.unidata.ucar.edu/mailing_lists/