Page 1 of 1

Ploticus unable to create png.

PostPosted: Fri Oct 19, 2007 11:43 am
by krondorl
Hi,

I have everything installed and would like to be able to see the graph in the server performance page as part of the system maintenance requirements of our installation. For some reason I am getting the following when trying to create the graph.

PNG not supported in this build (plpng not found).

Usage: pl -prefab prefabname [parameters] ..or.. pl scriptfile [options]
This build can produce: ps eps svg

ploticus 2.32 (unix) Copyright 1998-2005 Steve Grubb,

I have searched but have not been able to find any indications on how to get ploticus to recognize png creation. I have libpng installed and zlib.

Running the latest of all softwares (Asterisk/vicidial/gentoo)

Thanks

Kron

PostPosted: Fri Oct 19, 2007 12:48 pm
by ramindia
Hi

as mentioned in the document of scratch_install
did you copied pl to vicidial directory

ram

PostPosted: Fri Oct 19, 2007 1:10 pm
by krondorl
ramindia wrote:Hi

as mentioned in the document of scratch_install
did you copied pl to vicidial directory

ram


Yes I did. Before I had done that, I got a completely different error until I noticed I had missed that.

PostPosted: Fri Oct 19, 2007 1:47 pm
by ramindia
Hi

is this server fresh setup

or is this server running have some data

if no data available that range you selected
its not going to graph. you need to have some data.

check apache logs

ram

PostPosted: Fri Oct 19, 2007 1:50 pm
by krondorl
ramindia wrote:Hi

is this server fresh setup

or is this server running have some data

if no data available that range you selected
its not going to graph. you need to have some data.

check apache logs

ram


Hi, That was the message in the apache error-log file.

PostPosted: Fri Oct 19, 2007 1:52 pm
by ramindia
Hi

PNG not supported in this build (plpng not found)


Do you have png package installed?

what distro ?

ram

PostPosted: Fri Oct 19, 2007 1:56 pm
by krondorl
ramindia wrote:Hi

PNG not supported in this build (plpng not found)


Do you have png package installed?


# equery l libpng
[ Searching for package 'libpng' in all categories among: ]
* installed packages
[I--] [ ] media-libs/libpng-1.2.18-r1 (1.2)

# equery l ploticus
[ Searching for package 'ploticus' in all categories among: ]
* installed packages
[I--] [ ] media-libs/ploticus-2.32 (0)

ramindia wrote:what distro ?


I am using Linux version 2.6.19-gentoo-r5 as my distro.

PostPosted: Fri Oct 19, 2007 1:57 pm
by ramindia
Hi

I googled it

http://www.google.co.in/search?hl=en&q= ... d%29&meta=

check some results may help you,

i have never come across this problem

ram

PostPosted: Fri Oct 19, 2007 2:03 pm
by krondorl
ramindia wrote:Hi

I googled it

.google.co.in/search?hl=en&q=PNG+not+supported+in+this+build+%28plpng+not+found%29&meta=

check some results may help you,

i have never come across this problem

ram


Ya I saw those, the problem is, most of those are coding related to Windows systems. Not one is unix related.
<sigh> :(
I've decided to send an email to Steve Grubb about it, hopefully he will respond.

PostPosted: Fri Oct 19, 2007 3:36 pm
by krondorl
Problem resolved.....

Seems that in a base server installation of a Gentoo Distro, gd is no always installed. Ploticus requires gd to make the graphics possible. All I needed to do was add a use flag to the package.use to over-ride the gd flag and re-emerged ploticus.. All is good..