[tex-k] Running (g)make check on FreeBSD: lib/t1lib, utils/tpic2pdftex

Paul Vojta vojta at math.berkeley.edu
Fri Dec 11 19:32:57 CET 2009


On Fri, Dec 11, 2009 at 02:38:08PM +0100, Peter Breitenlohner wrote:
> On Thu, 10 Dec 2009, Nikola Le?i? wrote:
> 
> >1. libs/t1lib
> >
> >  - additional -lm linking is necessary, for the test only; I am not
> >    sure if this is an acceptable way to achieve this and if this is
> >    a *BSD-specific issue;
> 
> Hi Nikola,
> 
> nice to know that I am not the only person doing 'make check'.
> 
> The need for libm seems to be *BSD-specific (or maybe it is Linux-specific
> not to require libm for sqrt, floor, and similar math functions).  Please
> tell me which functions were unresolved (probably sqrt, floor, ...), such
> that I can add a suitable test in configure.  I wouldn't mind
> unconditionally adding '-lm', except that I seem to remember that some
> systems neither need nor have that library.

Solaris also requires -lm for sqrt(); in addition the linux man page says,
"link with -lm".

I think it's a POSIXism :-).

--Paul Vojta, vojta at math.berkeley.edu


More information about the tex-k mailing list