Ploticus unable to create png.

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

Ploticus unable to create png.

Postby krondorl » Fri Oct 19, 2007 11:43 am

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
krondorl
 
Posts: 35
Joined: Wed Oct 17, 2007 2:09 pm

Postby ramindia » Fri Oct 19, 2007 12:48 pm

Hi

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

ram
Kindly post your feedback, if this solution works.
so its very usefull for others who join later as a NEWBIE.
ramindia
 
Posts: 688
Joined: Wed Oct 11, 2006 4:06 am
Location: India

Postby krondorl » Fri Oct 19, 2007 1:10 pm

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.
krondorl
 
Posts: 35
Joined: Wed Oct 17, 2007 2:09 pm

Postby ramindia » Fri Oct 19, 2007 1:47 pm

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
Kindly post your feedback, if this solution works.
so its very usefull for others who join later as a NEWBIE.
ramindia
 
Posts: 688
Joined: Wed Oct 11, 2006 4:06 am
Location: India

Postby krondorl » Fri Oct 19, 2007 1:50 pm

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.
krondorl
 
Posts: 35
Joined: Wed Oct 17, 2007 2:09 pm

Postby ramindia » Fri Oct 19, 2007 1:52 pm

Hi

PNG not supported in this build (plpng not found)


Do you have png package installed?

what distro ?

ram
Kindly post your feedback, if this solution works.
so its very usefull for others who join later as a NEWBIE.
ramindia
 
Posts: 688
Joined: Wed Oct 11, 2006 4:06 am
Location: India

Postby krondorl » Fri Oct 19, 2007 1:56 pm

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.
krondorl
 
Posts: 35
Joined: Wed Oct 17, 2007 2:09 pm

Postby ramindia » Fri Oct 19, 2007 1:57 pm

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
Kindly post your feedback, if this solution works.
so its very usefull for others who join later as a NEWBIE.
ramindia
 
Posts: 688
Joined: Wed Oct 11, 2006 4:06 am
Location: India

Postby krondorl » Fri Oct 19, 2007 2:03 pm

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.
krondorl
 
Posts: 35
Joined: Wed Oct 17, 2007 2:09 pm

Postby krondorl » Fri Oct 19, 2007 3:36 pm

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..
krondorl
 
Posts: 35
Joined: Wed Oct 17, 2007 2:09 pm


Return to Support

Who is online

Users browsing this forum: No registered users and 252 guests