GNOME Bugzilla – Bug 396654
libgnomeprint ./configure fails on Mac OS X
Last modified: 2008-01-29 15:40:02 UTC
Please describe the problem: I am trying to compile libgnomeprint on Mac OS X. ./configure says: [...] checking for GP_F... yes checking for glib-genmarshal... /opt/gtk/bin/glib-genmarshal configure: error: You need -lm(mathematic library) for this version of libgnomeprint. I do have libm installed. If I hardwire "LIBM=-lm" right before "if test "x$LIBM" = "x"; then" in the configure script, then the package configures and compiles. Steps to reproduce: Actual results: Expected results: Does this happen every time? Other information:
Well, do you have -lm on your system? This comes with glibc on linux so you probably need the equivalent of glibc-devel.
I do have Apple's development package, including libm installed. The configure script is failing to detect libm. As I mentioned, if I "fool" the configure script into thinking libm exists (it does), then everything builds fine.
I just tried libgnomeprint from the SVN trunk as of 20 Sep 07. This tree still has this problem.
*** This bug has been marked as a duplicate of 471730 ***