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.
Gilbert Sebenste wrote: > > On Fri, 27 Apr 2001, anne wrote: > > > Hmm, "CC"? Will you send me that line of output? Also, what does 'which > > cc' show you? And, make sure the output of 'which cc' isn't itself a > > link to some other compiler. > > ./configure > loading cache ./config.cache > checking for xlc... (cached) cc > checking C compiler... works > checking the installation prefix... /home/ldm/ldm-5.1.3 > checking domain name... (none) > checking how to run the C preprocessor... (cached) cc -E > checking for AIX... no > checking for HP-UX... no > checking whether memory-mapping by region is appropriate... yes > checking the C preprocessor... works > checking for ar... (cached) ar > checking for perl... (cached) /usr/bin/perl > checking for POSIX shell... /bin/sh > checking for yacc... (cached) yacc > checking mmap()... yes > checking LDMHOME... /home/ldm/ldm-5.1.3 > checking size of int... (cached) 4 > > > I just now compiled 5.1.3 under my new Redhat 7.1 with no problem. My > > /usr/bin/cc points to gcc. (However, I'm having a small problem > > starting my ldm - more on that later if you need it.) > > Here is where it dies, during a make (configure runs fine): > > Making `all' in directory /home/ldm/ldm-5.1.3/src/pqutil > > make[2]: Entering directory `/home/ldm/ldm-5.1.3/src/pqutil' > cc -g -I../config -I. -I../misc -I../ulog -I../protocol -I../pq > -DHAVE_CONFIG_H -c -o pqutil.o pqutil.c > pqutil.c: In function `parse_time': > pqutil.c:135: storage size of `time_conv' isn't known > make[2]: *** [pqutil.o] Error 1 > make[2]: Leaving directory `/home/ldm/ldm-5.1.3/src/pqutil' > make[1]: *** [subdir_target] Error 1 > make[1]: Leaving directory `/home/ldm/ldm-5.1.3/src' > make: *** [pqutil/all] Error 2 > > Gilbert, So, what does 'which cc' show you? Anne ******************************************************************************* > Gilbert Sebenste ******** > Internet: address@hidden (My opinions only!) ****** > Staff Meteorologist, Northern Illinois University **** > E-mail: address@hidden *** > web: http://weather.admin.niu.edu ** > Work phone: 815-753-5492 * > ******************************************************************************* -- *************************************************** Anne Wilson UCAR Unidata Program address@hidden P.O. Box 3000 Boulder, CO 80307 ---------------------------------------------------- Unidata WWW server http://www.unidata.ucar.edu/ ****************************************************