Syntactic Confectionery Delight | |
PerlMonks |
Did GD::Graph not install correctly?by red888 (Initiate) |
on Oct 06, 2015 at 17:18 UTC ( [id://1143949]=perlquestion: print w/replies, xml ) | Need Help?? |
red888 has asked for the wisdom of the Perl Monks concerning the following question:
I am trying to install a program called FlowViewer(http://sourceforge.net/p/flowviewer/wiki/Home/) on CentOS 7.
The program uses perl cgi scripts and requires GD::Graph.
So I installed GD with yum and have the following packages installed: - gd-devel-2.0.35-26.el7.x86_64 - gd-2.0.35-26.el7.x86_64 - perl-GD-2.49-3.el7.x86_64 But when I try to run the program (open the webpage that runs the program) it throws an error and I see this in apache error log: [Tue Oct 06 12:39:24.937697 2015] [cgi:error] [pid 26710] [client 10.1.1.1:14025] AH01215: Undefined subroutine &GD::Graph::colour::read_rgb called at /var/www/cgi-bin/FlowViewer_4.6/FlowViewer_Main.cgi line 121., referer: http://10.2.2.2/cgi-bin/FlowViewer_4.6/FlowViewer.cgi?Performance^filter_hash=FV_^DDDMyRouter So does this mean it isn't installed correctly? It looks like apache either can't find GD or some specific function in GD. Is this correct or am I misinterpreting this? This is the actual line in the cgi script causing this error: GD::Graph::colour::read_rgb("FlowGrapher_Colors") or die "cannot read colors";
Back to
Seekers of Perl Wisdom
|
|