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";
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.