[rrd-developers] Re[3]: national characters in font; size of png; LINEx - width

Tobias Oetiker oetiker at ee.ethz.ch
Wed Apr 27 19:25:50 MEST 2005


Today Gabriel Borkowski wrote:

> >>> 2) PNGs are big
>
> > well: minmax.png - 109298
> > i'll try to change libpng to older version, to see if the generated
> > graphs are still so big...
>
> ok.
> it looks that the problem was in newest libpng from debian packet...
> (1.2.1 + fixes, afaik). I've forced use of 1.2.8 (watch out - lib name
> from debian packet is libpng.3.1.2.1 and builded from 1.2.8 sources:
> libpng.3.0.0 - it was confusing ldconfig - symlink @libpng.3 pointed
> to libpng.3.1.2.1). Now it looks normal - minmax.png - 16195.

hmpf this is nasty ... I didn't know that there are such problems
... does anyone on the list have experiance with this ?

> during compilation i had problems when upgrading from 1.0 to 1.2 with
> perl bindings. 'make test' was reporting errors - running ldconfig after
> 'make install' of rrdtool and then compiling perl bindings again
> solved the problem.

shared libraries can be so evil :-)


> PSS.
> php4-rrdtool needs slight update:
[...]

thanks will integrate on the svn server ... I have not published
these extensions though ... I know that the cacti people want to
get them maintained ...

cheers
tobi

> --- rrdtool.corig       Sat Dec 22 21:10:58 2001
> +++ rrdtool.c   Fri Apr 22 15:10:53 2005
> @@ -297,6 +297,7 @@
>         zval            *p_calcpr;
>         HashTable       *args_arr;
>         int                     i, xsize, ysize, argc;
> +       double          ymin, ymax;
>         char            **argv, **calcpr;
>
>
> @@ -344,7 +345,7 @@
>                 }
>
>                 optind = 0; opterr = 0;
> -               if ( rrd_graph(argc-1, &argv[1], &calcpr, &xsize, &ysize) != -1 )
> +               if ( rrd_graph(argc-1, &argv[1], &calcpr, &xsize, &ysize, NULL, &ymin, &ymax) != -1 )
>                 {
>                         array_init(return_value);
>                         add_assoc_long(return_value, "xsize", xsize);
>
>

-- 
 ______    __   _
/_  __/_  / /  (_) Oetiker @ ISG.EE, ETL F24.2, ETH, CH-8092 Zurich
 / // _ \/ _ \/ /  System Manager, Time Lord, Coder, Designer, Coach
/_/ \.__/_.__/_/   http://people.ee.ethz.ch/oetiker +41(0)44-632-5286

--
Unsubscribe mailto:rrd-developers-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-developers-request at list.ee.ethz.ch?subject=help
Archive     http://lists.ee.ethz.ch/rrd-developers
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi



More information about the rrd-developers mailing list