[rt-users] sorting out GD for Statistics in RT3
David M Dennis
dmd at speakeasy.org
Wed Feb 25 16:15:24 EST 2004
Hello,
Have read the archives on this topic, am attempting to sort out the various
libgd / GD / GD::Graph.pm issues.
The README being followed is the one supplied with the Statistics3.tgz, which
suggests his working platform had GD version 2.0.15, GD::Graph is version 1.43.
My platform currently is libgd.so.2.0.20, GD::Graph.pm,v 1.53 2003/07/01,
GD.pm is 2.11, and the error occurs when attempting to plot graphics.
I hope someone can help make sense of the dependencies, as I am using libgd >
1.8 and GD::Graph > 1.43 . Here is the error:
System error
error: Can't locate object method "_new" via package "GD::Image" at
/usr/lib/perl5/GD.pm line 156.
context:
...
152: seek($fh,0,0);
153: my $method = "newFrom${type}";
154: return $pack->$method($fh);
155: }
156: return $pack->_new(@_);
157: }
158:
159: sub GD::Image::newTrueColor {
160: my $pack = shift;
...
code stack: /usr/lib/perl5/GD.pm:156
/usr/share/perl5/GD/Graph.pm:286
/usr/share/perl5/GD/Graph.pm:230
/usr/share/perl5/GD/Graph/axestype.pm:203
/usr/share/perl5/GD/Graph/bars.pm:29
/usr/share/perl5/GD/Graph.pm:136
/var/rt3/local/html/Statistics/DayOfWeek/Elements/Chart:11
/var/rt3/share/html/autohandler:195
raw error
TIA,
+-------------------------
+ Dave Dennis
+ Seattle, WA
+ dmd at speakeasy.org
+ http://www.dmdennis.com
+-------------------------
More information about the rt-users
mailing list