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 349182 - libgnomeprint needs to link with libm for fmod() and others
libgnomeprint needs to link with libm for fmod() and others
Status: RESOLVED FIXED
Product: gnome-print
Classification: Deprecated
Component: general
CVS
Other Linux
: Normal major
: ---
Assigned To: Jody Goldberg
Jody Goldberg
Depends on:
Blocks:
 
 
Reported: 2006-07-29 15:48 UTC by Loïc Minier
Modified: 2006-10-30 11:49 UTC
See Also:
GNOME target: ---
GNOME version: 2.13/2.14


Attachments
Add an AC_CHECK_LIBM test in configure and link with -lm (742 bytes, patch)
2006-07-29 15:49 UTC, Loïc Minier
none Details | Review

Description Loïc Minier 2006-07-29 15:48:39 UTC
Hi,

libgnomeprint currently fails to build in Debian presumably since the removal of *.la files from other packages which used to link to -lm.

libgnomeprint needed a -lm link flag all along, but that is spotted only now.

I will attach a patch adding an autoconf test from libtool's macros to check for libm and adding the relevant link flag or failing.

This was reported in Debian bugs http://bugs.debian.org/379428 and http://bugs.debian.org/379429.

(If this bug report might apply to other libs as well, or if it is misdirected, please advise on which modules I should report against.)

Bye,
Comment 1 Loïc Minier 2006-07-29 15:49:09 UTC
Created attachment 69880 [details] [review]
Add an AC_CHECK_LIBM test in configure and link with -lm
Comment 2 Kjartan Maraas 2006-10-30 11:49:10 UTC
Commited.