I noticed a problem with compiling rasqal just after the release
configure will fail to link in -lm when it is needed when you
are BOTH
a) on an OS where ceil/round/trunc are in libm (-lm) and not builtin
(this seems to be Solaris but might be others, depends on compiler)
b) using --with-decimal=gmp OR --with-decimal=mpfr
I've made a fix commit for this in the GIT configure.ac:
https://github.com/dajobe/rasqal/commit/6d5682cf11d0f64403564c8f26c4d94f31bf2252
but you can easier patch the generated configure with with attached patch.
That's what I'm using for the debian packages.
I'm not sure if this justifies a new release but I'll think about it.
Dave
--- rasqal-0.9.26/configure.orig 2011-06-26 21:36:40.000000000 -0700
+++ rasqal-0.9.26/configure 2011-06-28 13:18:21.000000000 -0700
@@ -13707,7 +13707,7 @@
$as_echo "$decimal_libraries_available" >&6; }
-need_ceil_floor_round=0
+need_ceil_floor_round=1
need_libm=0
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking decimal library to use" >&5
$as_echo_n "checking decimal library to use... " >&6; }
@@ -13815,7 +13815,7 @@
DECIMAL_LIBS="-lgmp"
fi
if test $need_libm = 1; then
- DECIMAL_LIBS="-lm"
+ RASQAL_EXTERNAL_LIBS="$RASQAL_EXTERNAL_LIBS -lm"
fi
RASQAL_INTERNAL_CPPFLAGS="$RASQAL_INTERNAL_CPPFLAGS $DECIMAL_INCLUDES"
RASQAL_EXTERNAL_LIBS="$RASQAL_EXTERNAL_LIBS $DECIMAL_LIBS"
_______________________________________________
redland-dev mailing list
[email protected]
http://lists.librdf.org/mailman/listinfo/redland-dev