GNOME Bugzilla – Bug 703397
./configure --with-long-double fails on last version of GCC
Last modified: 2013-07-01 23:17:32 UTC
Created attachment 248153 [details] Config.log after running export CC="gcc -lm" ; ./configure --with-long-double ; I am using archlinux, a rolling-release distribution, and so the last versions of GCC and autotools is meant to be used when compiling. I just downloaded the tarball from this link : http://ftp.gnome.org/pub/GNOME/sources/gnumeric/1.12/gnumeric-1.12.3.tar.xz I extracted it and ran the configure script by doing : cd ~/src/ wget http://ftp.gnome.org/pub/GNOME/sources/gnumeric/1.12/gnumeric-1.12.3.tar.xz xz -d gnumeric-1.12.3.tar.xz ; tar xvf gnumeric-1.12.3.tar ; cd gnumeric-1.12.3 ; ./configure --with-long-double ; The script ends up failing with the two following lines : checking for lgamma_r... no checking for lgamma_r in -lm... yes checking for lgamma... yes checking sunmath.h usability... no checking sunmath.h presence... no checking for sunmath.h... no checking for go_render_generall... yes checking for fabsl... no configure: error: Long doubles require the function. This is solved if one does before running the configure script by doing : export CC="gcc -lm" ; ./configure --with-long-double ;
Can you please attach config.log from the failing configure too?
Created attachment 248166 [details] config.log in case of failure
This problem has been fixed in our software repository. The fix will go into the next software release. Thank you for your bug report.