This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
Greg, I don't know if you did a complete "make distclean" after failing with g77 but if not, would suggest needing to do that before "make all". Also, your sharable reference problems probably result from the static link line. I'd comment out the static MOTIFLIBS line (since you don't need to distribute static binaries), and uncomment the dynamic link MOTIFLIBS. Since I'm seeing so many problems that look like "old" gcc and Linux system configurations, it would help to know what version of gcc/gfortran you have (eg type gcc -v) and your Linux OS version. Steve Chiswell > Steve, > I followed your instructions, still no joy. Here's the latest. > > Greg > > Unidata GEMPAK Support wrote: > > Greg, > > > > Your make.out shows: > > > > /usr/bin/ld: unrecognized option '--hash-style=both' > > > > The gcc environment with FC7 upgraded to a new loader hash , > > and this is for backward compatibility of binaries. Your environment is > > older and doesn't understand this parameter so you can: > > 1) comment out the LDFLAGS line in $CONFIGDIR/Makeinc.linux_gfortran: > > #LDFLAGS = -Wl,--hash-style=both > > > > 2) ensure that the $NAWIPS/Gemenviron line: > > # setenv LDFLAGS '-Wl,--hash-style=both' > > above is commented out (eg that your environment does not have LDFLAGS > > defined in your shell) > > > > Steve CHiswell > > Unidata User Support > > > > > > > > > >> Steve, > >> I tried using the g77 compiler as you suggest and saw a lot of > >> errors. Instead we installed gfortran and I tried the install again. I'm > >> attaching the make.out file which still showed errors in the build. Can > >> you please advise? > >> > >> Thanks, > >> Greg > >> > >> Unidata GEMPAK Support wrote: > >>>> Greg, > >>>> > >>>> This means you do not have the gfortran compiler, so it did not build. > >>>> Instead, you'll have to use the g77 compiler. Edit the Gemenviron > >>>> settings for USE_GCC and comment out the USE_GFORTRAN setting. > >>>> > >>>> Note that this probably means you are falling behind in your gcc version > >>>> and/or your linux release. Most newer Linux distributions are not coming > >>>> with g77, so > >>>> I made the default compiler choice gfortran. This was noted in the > >>>> 5.10.3 what's new > >>>> web page. > >>>> > >>>> Steve Chiswell > >>>> Unidata User Support > >>>> > >>>> > >>>>> Steve, > >>>>> I see a bunch of errors in my make.out file that read: > >>>>> make[4]: gfortran: Command not found > >>>>> make[4]: *** > >>>>> [/home/gempak/GEMPAK5.10.4/os/linux/lib/gemlib.a(gdglevw.o)] Error 127 > >>>>> > >>>>> I'm attaching my make.out file. Can you take a look and tell me if this > >>>>> is a good install or if I need to rebuild the distribution? > >>>>> > >>>>> Thanks, > >>>>> Greg > >>>>> -- > >>> Ticket Details > >>> =================== > >>> Ticket ID: EUC-251074 > >>> Department: Support GEMPAK > >>> Priority: Normal > >>> Status: Closed > >>> > > > > > > > Ticket Details > > =================== > > Ticket ID: EUC-251074 > > Department: Support GEMPAK > > Priority: Normal > > Status: Closed > > > > > -- > > ~~N~A~T~I~O~N~A~L~~C~E~N~T~E~R~~F~O~R~~A~T~M~O~S~.~~R~E~S~E~A~R~C~H > Greg Stossmeister e-mail: address@hidden > NCAR/EOL phone: (303)497-8692 > P.O. Box 3000 web: http://www.eol.ucar.edu > Boulder, CO 80307-3000 > ~~~~~~~~E~A~R~T~H~~~O~B~S~E~R~V~I~N~G~~~L~A~B~O~R~A~T~O~R~Y~~~~~~~~ > > Ticket Details =================== Ticket ID: EUC-251074 Department: Support GEMPAK Priority: Normal Status: Closed