Re: [gembud] Issue Compiling GEMPAK on OS X Mavericks

Yes, change both those lines:

CC = gcc

FC = gfortran


You should at least have the $GEMPAK/source/programs directory ... those 
contain the source codes for most of the NAWIPS suite.  What you won't see 
until the build completes successfully are the programs in the $OS_BIN 
directory.


_____________________________________________
Kevin Tyle, Systems Administrator
Dept. of Atmospheric & Environmental Sciences
University at Albany
Earth Science 235, 1400 Washington Avenue
Albany, NY 12222
Email: ktyle@xxxxxxxxxx
Phone: 518-442-4578
_____________________________________________
________________________________
From: Nathan Parker <backyard@xxxxxxxxxxxxxxxxx>
Sent: Monday, June 9, 2014 7:16 PM
To: Tyle, Kevin R
Cc: gembud@xxxxxxxxxxxxxxxx
Subject: Re: [gembud] Issue Compiling GEMPAK on OS X Mavericks

Hi Kevin,

I’m inside my Makeinc.darwin file now. On this line, what specifically do I 
need to edit?

# Using MacPort's gcc and gfortran
CC = clang
FC = /usr/local/bin/gfortran

Just change “clang” to “gcc” or do I need to specify the path to gcc? I changed 
clang to gcc on my MacBook Pro, and that resulted in the Make file I sent you 
when building.

Also, I don’t have a programs folder yet on this machine (emailing from my 
iMac). Will that appear after the build?

Thanks!

Nathan Parker

WeatherBug Backyard
by Earth Networks

This message (including any attachments) is a confidential and privileged 
communication of Earth Networks, and intended only for the addressee. Any 
unauthorized use, distribution, or copying of this message (or any attachment) 
is prohibited. If you are not the addressee or a person authorized to receive 
messages for the addressee, you have received this message in error. In that 
case, please delete this message and call us at 301-250-4000 so that we can 
correct our records in order to avoid this mistake in the future. Thank you.

From: <Tyle>, Kevin R <ktyle@xxxxxxxxxx<mailto:ktyle@xxxxxxxxxx>>
Date: Monday, June 9, 2014 at 3:59 PM
To: Nathan Parker 
<backyard@xxxxxxxxxxxxxxxxx<mailto:backyard@xxxxxxxxxxxxxxxxx>>
Cc: "gembud@xxxxxxxxxxxxxxxx<mailto:gembud@xxxxxxxxxxxxxxxx>" 
<gembud@xxxxxxxxxxxxxxxx<mailto:gembud@xxxxxxxxxxxxxxxx>>
Subject: RE: [gembud] Issue Compiling GEMPAK on OS X Mavericks

Yes, I see you had the same problem as I … the Darwin build of GEMPAK7 now 
expects to find gfortran in /usr/local/bin, but if one uses MacPorts to install 
gcc/gfortran, it will by default be installed in /opt/local/bin.  You can 
either create a link from /opt/local/bin to /usr/local/bin, or better yet edit 
$NAWIPS/config/Makeinc.darwin so CC = gcc and FC = gfortran.

You will likely run into a problem with the final link of nmap2.  That is 
because there is now a –lrt added to the list of statically-linked libraries … 
but there is no librt.a in OSX (this is for the “real time clock” library).  
Just edit $NAWIPS/gempak/programs/gui/nmap/Makefile to eliminate the –lrt 
instance.

See how that goes … I believe there is also an issue with building the 
$NAWIPS/extlibs/xslt library, but I’ll need to check my home MacBookPro to 
recall what I did to deal with that.
Send the output from make all as you did here.

--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: Nathan Parker [mailto:backyard@xxxxxxxxxxxxxxxxx]
Sent: Monday, June 09, 2014 4:24 PM
To: Matt Engelbrecht; Tyle, Kevin R
Cc: gembud@xxxxxxxxxxxxxxxx<mailto:gembud@xxxxxxxxxxxxxxxx>
Subject: Re: [gembud] Issue Compiling GEMPAK on OS X Mavericks

I just tried that and still can’t get a successful build to ntl. Here’s my Make 
and Make Install files. Thanks for your help!

Nathan Parker

WeatherBug Backyard
by Earth Networks

This message (including any attachments) is a confidential and privileged 
communication of Earth Networks, and intended only for the addressee. Any 
unauthorized use, distribution, or copying of this message (or any attachment) 
is prohibited. If you are not the addressee or a person authorized to receive 
messages for the addressee, you have received this message in error. In that 
case, please delete this message and call us at 301-250-4000 so that we can 
correct our records in order to avoid this mistake in the future. Thank you.

From: Matt Engelbrecht 
<Matthew.Engelbrecht@xxxxxxxxxxxxx<mailto:Matthew.Engelbrecht@xxxxxxxxxxxxx>>
Date: Monday, June 9, 2014 at 12:36 PM
To: "Tyle, Kevin R" <ktyle@xxxxxxxxxx<mailto:ktyle@xxxxxxxxxx>>
Cc: Nathan Parker 
<backyard@xxxxxxxxxxxxxxxxx<mailto:backyard@xxxxxxxxxxxxxxxxx>>, 
"gembud@xxxxxxxxxxxxxxxx<mailto:gembud@xxxxxxxxxxxxxxxx>" 
<gembud@xxxxxxxxxxxxxxxx<mailto:gembud@xxxxxxxxxxxxxxxx>>
Subject: Re: [gembud] Issue Compiling GEMPAK on OS X Mavericks

That was exactly the problem I was having - I think it was the clang.h library 
that wasn't there and causing a bunch of errors.

-Matt

On Jun 9, 2014, at 11:30, "Tyle, Kevin R" 
<ktyle@xxxxxxxxxx<mailto:ktyle@xxxxxxxxxx>> wrote:
I know that the GEMPAK7 build process on Darwin has changed from previous 
releases (for one thing, it uses the system-provided CLANG compiler instead of 
the gcc compiler that one installs via MacPorts).  I don't have access to a 
Mavericks machine at present, but I had problems building on my Lion systems as 
well, which eventually I was able to work out.  You may wish to change the 
$NAWIPS/config/Makeinc.darwin file so it uses gcc and not clang as a first 
step.  Also, attach the output from your make to see if you are getting the 
same errors on Mavericks that I experienced on Lion.
_____________________________________________
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
_____________________________________________
-----Original Message-----
From: gembud-bounces@xxxxxxxxxxxxxxxx<mailto:gembud-bounces@xxxxxxxxxxxxxxxx> 
[mailto:gembud-bounces@xxxxxxxxxxxxxxxx] On Behalf Of Nathan Parker
Sent: Sunday, June 08, 2014 10:21 PM
To: Matt Engelbrecht
Cc: gembud@xxxxxxxxxxxxxxxx<mailto:gembud@xxxxxxxxxxxxxxxx>
Subject: Re: [gembud] Issue Compiling GEMPAK on OS X Mavericks
Thanks for the info. It is GEMPAK7 I'm having the issue with on Mavericks. I do 
have it running wonderfully in CentOS 6. Even got data flowing into it. I was 
just curious if I could get it going on OS X so I didn't have to rely on my 
CentOS VM. :-)
Thanks
Nathan Parker
WeatherBug Backyard
by Earth Networks
Sent from my T-Mobile 4G iPad
On Jun 8, 2014, at 8:51 PM, "Matt Engelbrecht" 
<Matthew.Engelbrecht@xxxxxxxxxxxxx<mailto:Matthew.Engelbrecht@xxxxxxxxxxxxx>> 
wrote:
Nathan:
I have experienced the same challenges with GEMPAK 7 on Mavericks - GEMPAK 6.10 
installed just fine, but I have yet to successfully build GEMPAK 7.  Even some 
of the 6.10 build seems funky, so I moved over to RHEL (6.5) and won't be 
looking back.  Building GEMPAK 7 on it was smooth, quick and it performs 
exceptionally well.  I highly recommend the $179 investment in a good OS to run 
it.
-Matt
On Jun 7, 2014, at 7:44 PM, Nathan Parker 
<backyard@xxxxxxxxxxxxxxxxx<mailto:backyard@xxxxxxxxxxxxxxxxx>> wrote:
I'm trying to compile GEMPAK on OS X Mavericks. I have Xcode, Command Line 
Tools, MacPorts, all the prerequisites installed, and I'm sourcing it 
correctly. It still fails to build. I have a copy of my Make file if anyone 
wants to see it. It's throwing all sorts of off the wall issues I've never seen 
before.
Did it on both an iMac and MacBook Pro with the same results.
Worked flawlessly on CentOS 6.
I'm also about to beta test Yosemite on both Macs if someone wants me to try to 
compile on Yosemite.
Any help would be deeply appreciated.
Thanks!
Nathan Parker
WeatherBug Backyard
by Earth Networks
Sent from my T-Mobile 4G iPad
_______________________________________________
gembud mailing list
gembud@xxxxxxxxxxxxxxxx<mailto:gembud@xxxxxxxxxxxxxxxx>
For list information or to unsubscribe,  visit: 
http://www.unidata.ucar.edu/mailing_lists/
_______________________________________________
gembud mailing list
gembud@xxxxxxxxxxxxxxxx<mailto:gembud@xxxxxxxxxxxxxxxx>
For list information or to unsubscribe,  visit: 
http://www.unidata.ucar.edu/mailing_lists/

  • 2014 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the gembud archives: