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.
Steve, > Great - thanks. That got me past the gcc problem I think but > configure exits with errors. Here is the output, and below my signature > the config.log > > > > > > [cdrgscp:bin/udunits-1.12.11/src] piper% ./configure CC=/sw/bin/gcc > checking for catman... no > checking for makewhatis... no > checking for /usr/lib/makewhatis... no > checking for manual-page index command... > checking for C compiler... /sw/bin/gcc > checking type of operating system... darwin > checking for dependency generation mechanism... /sw/bin/gcc -M > checking for gcc... /sw/bin/gcc > checking for C compiler default output file name... > configure: error: C compiler cannot create executables > See `config.log' for more details. > > > Dr. Stephen C. Piper > Scripps CO2 Program > Scripps Institution of Oceanography > La Jolla, CA 92093-0244 > tel: 858-534-3991 > fax: 858-534-8814 The "config.log" file contained this: > configure:2755: checking for C compiler default output file name > configure:2782: /sw/bin/gcc -g -I/usr/local/include -I/usr/local/X11/ > include -I/usr/local/include -I/usr/local/X11/include -L/usr/local/lib > conftest.c >&5 > gcc: installation problem, cannot exec 'as': No such file or directory Looks like there's a problem with your C compiler installation. Regards, Steve Emmerson Ticket Details =================== Ticket ID: DHG-255203 Department: Support UDUNITS Priority: Normal Status: Closed