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.
Marcelo, >Date: Wed, 26 May 2004 16:10:42 GMT >From: Marcelo Barreiro <address@hidden> >Organization: Princeton University >To: Steve Emmerson <address@hidden> >Subject: Re: 20040526: building UDUNITS on Linux using gcc: missing pow() > Keywords: 200405260358.i4Q3wWtK004490 The above message contained the following: > Output of "make install" > > make =/usr/local/lib LIBDIR==/usr/local/lib > make: *** empty variable name. Stop. > make: *** [install] Error 2 Apparently, the makefile macro LIBDIR is defined as "=/usr/local/lib" in the makefile "port/misc/Makefile". The equals-sign prefix is causing the problem. Why it has an equals-sign prefix is a puzzle. It could happen if the "--prefix" option of the "configure" script was specified with an extra equals-sign, e.g. ./configure --prefix==/usr/local This can be checked by going to the top-level source directory and executing the command grep exec_prefix config.status If that's the case, then you'll have to do another "make distclean" and rebuild the package. Regards, Steve Emmerson