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

20050314: compiling udunits requires -lm on mandrake



Pat,

>Date: Mon, 14 Mar 2005 17:32:52 +0100
>From: Patrice Dumas <address@hidden>
>Organization: ?
>To: Steve Emmerson <address@hidden>
>Subject: Re: 20050314: compiling udunits requires -lm on mandrake

The above message contained the following:

> > ...  I wonder if
> > 
> >     CPPFLAGS='-Df2cFortran -D_XOPEN_SOURCE=500'
> > 
> > would work?
> 
> Yes, it does.

Thanks!

> This doesn't work. Indeed, in udunits/Makefile.in, the line for LIBS is
> LIBS            = $(ld_udunits) $(ld_udport) $(ld_yacc) $(ld_math)
> 
> If I transform that line to 
> LIBS            = $(ld_udunits) $(ld_udport) $(ld_yacc) $(ld_math) @LIBS@
> it works as expected (and indeed it is a cleaner fix). 

Oops!  I did not know that was broken.  It will work correctly in the
next release.

Thanks again.

Regards,
Steve Emmerson