[uClibc] RRDTOOL with uClibc
Manuel Novoa III
mjn3 at codepoet.org
Thu Feb 12 03:02:19 UTC 2004
On Wed, Feb 11, 2004 at 06:59:20PM -0800, Andrew May wrote:
> On Wed, Feb 11, 2004 at 04:07:56PM -0700, Manuel Novoa III wrote:
> > On Wed, Feb 11, 2004 at 02:06:53PM -0700, Valery Companiytsev wrote:
> > > I am trying to compile rrdtool (latest stable) with uClibc 0.9.21 and it's
> > > complaining about not having proper math library support. I wonder if
> > > anybody else had this problem or knows what I should fiddle with.
> >
> > I'm assuming you're talking about http://www.rrdtool.com, as I've never
> > heard of it before and you didn't give any details. If so, I just
> > downloaded and built it without problem. So either your uClibc is too
> > old or it was built without full math lib support.
>
> I just ran into problems with the cross compile though, but I think
> it is just a bad configure script. This patch should hack it to work.
> If it detects that you are cross-compiling it doesn't even attempt to
> look for the IEEE math stuff.
>
> It also tries to do some perl stuff and I pull this out of the Makefile
> with this.
> perl -i -p -e "s,^all-local:.*,,g;" $(RRD_DIR)/Makefile
>
> diff -u rrdtool-1.0.46/configure rrdtool-1.0.46.mine/configure
> --- rrdtool-1.0.46/configure 2004-01-04 04:41:06.000000000 -0800
> +++ rrdtool-1.0.46.mine/configure 2004-02-11 18:47:18.000000000 -0800
> @@ -22112,7 +22112,7 @@
> echo $ECHO_N "(cached) $ECHO_C" >&6
> else
> if test "$cross_compiling" = yes; then
> - :
> + rd_cv_ieee_works=yes
> else
> cat >conftest.$ac_ext <<_ACEOF
> /* confdefs.h. */
Thanks. It will be in the mailing list archive for anyone interested.
Manuel
More information about the uClibc
mailing list