Subject: | GD::Group load statement in line 158 of simple.pm throws errors |
Date: | Tue, 04 Nov 2008 14:33:51 +0100 |
To: | bug-GD [...] rt.cpan.org |
From: | "Dr. Josef Maier - IStLS" <josef.maier [...] istls.de> |
Hello dear GD programers,
we used GD::Simple in a web application, which reports an error, when using GD 2.41:
Software error:
Can't locate GD/Group.pm in @INC (@INC contains: C:/Programme/Perl/site/lib
C:/Programme/Perl/lib .) at C:/Programme/Perl/site/lib/GD/Simple.pm line 158.
BEGIN failed--compilation aborted at C:/Programme/Perl/site/lib/GD/Simple.pm line 158.
Commenting line 158 in simple.pm restores the full functinality in our case:
158 # use GD::Group;
Since module GD::Group is no more included in GD 2.41, this line should perhaps be
deleted. I assume, you have the functionality of GD::Group implemented elsewhere, since it
is greyed out on the CPAN site.
Code for reproduction of the error:
Enter in terminal window:
perl -e "use GD::Simple;"
Suggested solution:
Delete line 158 in simple.pm
This will perhaps also resolve bug 39947?
My test system is Apache 2.2.9/PHP5.2.6 and ActiveState Perl 5.10.0 build 1003 running on
Windows NT build 2600.
Anyway GD is a nice software!
With best regards,
Josef
--
Dr. Josef Maier
IStLS
Information Services to Life Science
Haerlestr. 24/1
78727 Oberndorf am Neckar/Boll
Germany
Phone: ++49 (0)7423-8772786
Fax: ++49 (0)7423-8772796
e-mail: josef.maier@istls.de
http://www.istls.de
VAT-No.: DE245718194