NSF Unidata

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

[GEMPAK #FDR-746069]: Errors Compliling GEMPAK5.9.2 on Linux Fedora 5

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.



Giovanni,

GEMPAK does not use the CXX or Fortran interface to netcdf, so they not needed 
to be built. That isn't
a problem so long as NetCDF's library is build and installed in 
$NAWIPS/os/linux/lib/libnetcdf.a
which it did on my FC5 installation.

As for the second error, did you modify an any way the $CONFIGDIR/Makeinc.linux 
file?
The FC5 installation I tested has:

[139]gempak on yakov --> g77 -v
Reading specs from /usr/lib/gcc-lib/x86_64-redhat-linux/3.2.3/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man 
--infodir=/usr/share/info --enable-shared --enable-threads=posix 
--disable-checking --with-system-zlib --enable-__cxa_atexit 
--enable-languages=c,c++,f77 --disable-libgcj --host=x86_64-redhat-linux
Thread model: posix
gcc version 3.2.3 20030502 (Red Hat Linux 3.2.3-55.fc5)


The FC variable must be g77 in Makeinc.linux for thw -Wno-globals option 
defined in the
NCOPT variable in the build configuration. You error message about no-globals 
seems to indicate you are
not using g77.

Steve Chiswell
Unidata User Support

> Hello,
> 
> I had some problens on compiling the 5.9.2 release of Gempak on my Fedora
> Core 5 Linux.
> Attached are "config.log" and "make.out" files
> I supect that the answer for my errors in "config.log" file:
> 
> 1 - configure: failed program was:
> | #ifndef __cplusplus
> |   choke me
> | #endif
> configure:2665: WARNING: CXX set to NULL, C++ interface will not be built.
> 
> 2 - f951: error: unrecognized command line option "-Wno-globals"
> 
> Any idea to solve this problem?
> 
> Cheers,  Giovanni
> 
> --
> Giovanni Dolif
> Meteorologist, Msc. (USP)
> 
> 


Ticket Details
===================
Ticket ID: FDR-746069
Department: Support GEMPAK
Priority: Normal
Status: Open