After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 396654 - libgnomeprint ./configure fails on Mac OS X
libgnomeprint ./configure fails on Mac OS X
Status: RESOLVED DUPLICATE of bug 471730
Product: gnome-print
Classification: Deprecated
Component: general
2.17.x
Other All
: Normal normal
: ---
Assigned To: Jody Goldberg
Jody Goldberg
Depends on:
Blocks:
 
 
Reported: 2007-01-14 21:21 UTC by W. Michael Petullo
Modified: 2008-01-29 15:40 UTC
See Also:
GNOME target: ---
GNOME version: 2.17/2.18



Description W. Michael Petullo 2007-01-14 21:21:29 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:
Comment 1 Kjartan Maraas 2007-04-17 14:02:58 UTC
Well, do you have -lm on your system? This comes with glibc on linux so you probably need the equivalent of glibc-devel.
Comment 2 W. Michael Petullo 2007-07-13 03:13:31 UTC
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.
Comment 3 W. Michael Petullo 2007-09-20 23:29:00 UTC
I just tried libgnomeprint from the SVN trunk as of 20 Sep 07.  This tree still has this problem.
Comment 4 Kjartan Maraas 2008-01-29 15:40:02 UTC

*** This bug has been marked as a duplicate of 471730 ***