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.
Ana, > Thank you for the answer. It guided my new search. > After all, I had 2 problems: > 1- missing CCPFLAG = -D_POSIX_SOURCE=1 (this is explained in INSTALL) > 2- I add to link the limits.h and bits folder to /usr/local/include, because > they were in /usr/include and --prefix-local option was not working for this. > > So my commands were: > cp /usr/local/include/limits.h /usr/local/include/limits.h.ori > ln -s /usr/include/limits.h /usr/local/include/limits.h > ln -s /usr/include/bits/ /usr/local/include/bits Interesting. I've never seen this solution. Perhaps your development environment is not standard. > cd /home/jjdd/Downloads/udunits-1.12.4/src > make distclean > ./configure CC=gcc CPPFLAGS='-D_POSIX_SOURCE=1 -DpgiFortran' LD_MATH=-lm &> > configure.log > make &> make.log > make test &> test.log > make install &> install.log > cp /home/jjdd/Downloads/udunits-1.12.4/bin /usr/local/bin > cp /home/jjdd/Downloads/udunits-1.12.4/include /usr/local/include > cp /home/jjdd/Downloads/udunits-1.12.4/lib /usr/local/lib That looks like it should work. You might wish to copy the "man" directory as well. Regards, Steve Emmerson Ticket Details =================== Ticket ID: NQM-991721 Department: Support UDUNITS Priority: Normal Status: Closed