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.
> <HTML> > Hello,<BR> > <BR> > I'm trying to install netCDF on an Intel Mac running os x leopard, and I encounter an error when running configure with the following command line:<BR> > <BR> > ./configure --enable-netcdf-4 --with-hdf5=/usr/bin/netcdf/required --with-zlib=/usr/bin/netcdf<BR> > <BR> > I installed both zlib 1.2.3 and HDF5 1.8.1. Also, I have a fortran compiler aliased to f77 and f90 (called ifort). gcc is also installed.<BR> > <BR> > None the less, this is the output I get:<BR> Yes, I suspect that is it. You are using (I think) the GNU C compiler, which is 64-bit by default, and the ifort compiler, which is 32 bit by default. You could try setting CFLAGS to -m32, or you could use intel's C compiler, or you could include use the intel 64-bit compilers. But the *best* thing to do would be to read and follow intel's instructions here: http://www.intel.com/support/performancetools/sb/CS-027812.htm Let me know if this doesn't work for you. Good luck! Ed Ticket Details =================== Ticket ID: ZGQ-235327 Department: Support netCDF Priority: Normal Status: Closed