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.
Ellyn, > Well, my colleague appears to have figured it out- sigh. I don't even > have the portland compiler, so have no idea why the make appears to have > worked doing what he did (below)... > > Is this about the right size for the libraries? > -rw-r--r-- 1 root root 2136 Oct 11 13:53 libudport.a > -rw-r--r-- 1 root root 47658 Oct 11 13:53 libudunits.a > > Thanks for all the help! Ellyn > > < from Rich Signell> > I just tried downloading udunits-1.12.4 and this worked for me: > > 1099 export CFLAGS=-DpgiFortran > 1100 export LDFLAGS=-lm > 1101 export CC=gcc > 1102 ./configure > 1104 make Yup. In my "configure" example, I forgot to include a specification of a Fortran compiler, i.e., ./configure CPPFLAGS=-D_XOPEN_SOURCE=500 LD_MATH=-lm should have been, instead, ./configure CPPFLAGS='-Df2cFortran -D_XOPEN_SOURCE=500' LD_MATH=-lm Regards, Steve Emmerson Ticket Details =================== Ticket ID: RMZ-185423 Department: Support UDUNITS Priority: Normal Status: Closed