NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.

To learn about what's going on, see About the Archive Site.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

20040526: building UDUNITS on Linux using gcc: missing pow()



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