[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GEMPAK #LCL-289019]: Problem Building Gempak5.11.1 on Mac OS 10.5 Leopard



Not sure why the 

LINK.f = $(GFORT) $(FFLAGS) $(LDFLAGS)

line is uncommented in your Makeinc.darwin, but go ahead and comment it (the 
default for Makeinc.darwin in our release) and try to build again. 

For the sake of clarity I've attached the Makeinc.darwin config file that comes 
with GEMPAK5.11.4.  You might want to compare it to your current one and look 
into some of the differences, such as the GUILIBS and XML2OPT lines.

Michael



> OK. I installed OpenMotif from www.ist-inc.com so I got past that, I
> think.
> I've attached the Makeinc.darwin file showing the env alterations I
> used.
> 
> I did a distclean, then started the 'make all' again. It stopped on
> errors saying it couldn't find the gfort command.
> The make.out is also attached.
> 
> Well, since I'm not a programmer, you'll have to enlighten me as to
> what GFORT in the Makeinc.darwin is for. Certainly it isn't to define
> gfortran, is it?
> It happens that I have gfortran on this platform, but I'm defining
> the FC as g77. What gives?
> 
> I'm working with the OS X Developer's package installed, providing
> gcc and g77:
> > gcc -v
> Using built-in specs.
> Target: i686-apple-darwin9
> Configured with: /var/tmp/gcc/gcc-5465~16/src/configure --disable-
> checking -enable-werror --prefix=/usr --mandir=/share/man --enable-
> languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^.-]*$/s/
> $/-4.0/ --with-gxx-include-dir=/include/c++/4.0.0 --with-slibdir=/usr/
> lib --build=i686-apple-darwin9 --with-arch=apple --with-tune=generic
> --host=i686-apple-darwin9 --target=i686-apple-darwin9
> Thread model: posix
> gcc version 4.0.1 (Apple Inc. build 5465)
> 
> >g77 -v
> Reading specs from /leap/homes/maclocal/bin/../lib/gcc/i686-apple-
> darwin8.8.1/3.4.0/specs
> Configured with: ../gcc-3.4.0/configure --enable-languages=f77
> Thread model: posix
> gcc version 3.4.0
> 
> Do I need the LINK.f definition in Makeinc.darwin?
> Will I need the GUILIBS defined, as it is in Makeinc.darwin.sid?
> 
> 
> -Neil
> --
> Neil R. Smith, Comp. Sys. Mngr. address@hidden
> Atmospheric Sciences, Texas A&M Univ. 979/845-6272
> --
> 
> On Mar 2, 2009, at 11:35 AM, Unidata GEMPAK Support wrote:
> 
> > Hi Neil,
> >
> > The errors messages in your make.out file ( error: Xm/XmAll.h: No
> > such file or directory ) indicate that you don't have your Motif
> > development environment installed, or the Motif headers aren't in
> > the traditional /usr/X11R6/include/Xm directory. You must have the
> > Motif development environment (header files and libraries) if you
> > are going to build from source.
> >
> >
> > Michael James
> > Unidata User Support
> >
> >
> >
> >> GEMPAK5.11.1
> >> OS: OS X 10.5.6
> >> gcc 3.4.0
> >> Makeinc.darwin.sav copied to Makeinc.darwin
> >>
> >> 'Make all' stops at dcshef_comet.o, but errors begin earlier.
> >> The make.out file is attached.
> >> Any help would be greatly appreciated.
> >> -Neil
> >> --
> >> Neil R. Smith, Comp. Sys. Mngr. address@hidden
> >> Atmospheric Sciences, Texas A&M Univ. 979/845-6272
> >
> >
> > Ticket Details
> > ===================
> > Ticket ID: LCL-289019
> > Department: Support GEMPAK
> > Priority: Normal
> > Status: Open
> >
> >
> 
> ?
> ?
> 


Ticket Details
===================
Ticket ID: LCL-289019
Department: Support GEMPAK
Priority: Emergency
Status: Open