Dear Pal,
Please check whether ImageMagick is installed in your system. By default,
the module would
plot the graph in PS and then convert to the required format using
ImageMagick's convert.
If ImageMagick is not installed, you may either install it or use the
"terminal" option of the
Chart object, e.g.
my $c = Chart::Gnuplot->new(
terminal => 'png',
......
);
However, due to the limitation of gnuplot, some features would not work or
not behave as
expected if the terminal is not "postscript" (i.e. the default).
If ImageMagick is install and you still get the error, please use the
"convert" option of the Chart
object to tell where it is installed, e.g.
my $c = Chart::Gnuplot->new(
convert => '/usr/bin/convert',
......
);
Regards,
Ka-Wai
2016-01-23 13:57 GMT+08:00 Pal Jarugula via RT <
bug-Chart-Gnuplot@rt.cpan.org>:
Show quoted text> Sat Jan 23 00:57:47 2016: Request 111389 was acted upon.
> Transaction: Ticket created by tjarugula@gmail.com
> Queue: Chart-Gnuplot
> Subject: util.c is on system - but getting error
> Broken in: (no value)
> Severity: (no value)
> Owner: Nobody
> Requestors: tjarugula@gmail.com
> Status: new
> Ticket <URL:
https://rt.cpan.org/Ticket/Display.html?id=111389 >
>
>
> Respected Ka-Wai Mak,
>
> Please help me with the following error:
>
> --------------------------------
> util.c: No such file or directory
> --------------------------------
>
> But, it is available on my system.
>
> [root@tjarugul-linux ~]# find / -type f -name 'util.c'
> /home/tjarugul/GNU_Plot/gnuplot-5.0.0/src/util.c
> /usr/src/kernels/2.6.39-400.17.1.el6uek.x86_64/scripts/kconfig/util.c
>
> /usr/src/kernels/2.6.39-400.17.1.el6uek.x86_64/scripts/kconfig/lxdialog/util.c
> /usr/src/kernels/2.6.39-400.17.1.el6uek.x86_64/scripts/dtc/util.c
> /usr/src/kernels/2.6.32-358.el6.x86_64/scripts/kconfig/util.c
> /usr/src/kernels/2.6.32-358.el6.x86_64/scripts/kconfig/lxdialog/util.c
> /usr/share/doc/db4-devel-4.7.25/examples_c/csv/util.c
> [root@tjarugul-linux ~]#
> -------------------------
>
>
> Please help.
>
> -Respectfully yours,
> Pal
>
>