[GRASSLIST:5133] RE: error compiling PNGdriver

Glynn Clements glynn.clements at virgin.net
Mon Dec 2 11:33:47 EST 2002


John Gillette wrote:

> I erased my grass5.0.0 source and untared it to have a fresh copy.
> I ./configure with the appropriate paths to GD.  This time the -lm
> was added by configure to GDLIB.
> 
> So perhaps you don't need to add another permutation.

No, I do. GD 2.x depends directly upon atan2, cos, sin, and sqrt, so
libm should be tested as a dependency.

The reason why we got away with it for so long is that one of the
other dependencies (JPEG, PNG, FreeType or Xpm) had libm as a
dependency, so the dependency was satisfied "accidentally".

-- 
Glynn Clements <glynn.clements at virgin.net>




More information about the grass-user mailing list