Skip Menu |

This queue is for tickets about the GD-Dashboard CPAN distribution.

Report information
The Basics
Id: 720
Status: open
Priority: 0/
Queue: GD-Dashboard

People
Owner: Nobody in particular
Requestors: p.florijn [...] tooh.myweb.nl
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: (no value)
Fixed in: (no value)



Windows XP Home Edition This is perl, v5.6.1 built for MSWin32-x86-multi-thread (with 1 registered patch, see perl -V for more detail) Show quoted text
> cd C:\GD-Dashboard-0.04\examples > perl ex2.pl
C:\GD-Dashboard-0.04\examples>perl ex2.pl Can't use an undefined value as a symbol reference at C:/Perl/site/lib/GD.pm line 139.
Subject: Still Unfixed..
From: Matt Rosin
same problem, unfixed for 2 years! yeesh. I am using 5.8.0 with libgd.so.2.0.0, GD 2.16. Same error for ex2.pl. For some reason the write_jpeg routine fails to make a filehandle and passes an undef to GD. Error is now: Can't use an undefined value as a symbol reference at /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/GD.pm line 183. [guest - Sat Jun 8 04:03:49 2002]: Show quoted text
> Windows XP Home Edition > > This is perl, v5.6.1 built for MSWin32-x86-multi-thread > (with 1 registered patch, see perl -V for more detail) >
> > cd C:\GD-Dashboard-0.04\examples > > perl ex2.pl
> > > C:\GD-Dashboard-0.04\examples>perl ex2.pl > Can't use an undefined value as a symbol reference at > C:/Perl/site/lib/GD.pm line 139.
Subject: make test fix on UNIX platform
From: K Turner-Rustin
On Sat Oct 16 14:44:36 2004, guest wrote: Show quoted text
> same problem, unfixed for 2 years! > yeesh. > I am using 5.8.0 with libgd.so.2.0.0, GD 2.16. > Same error for ex2.pl. For some reason the write_jpeg routine fails to > make a filehandle and passes an undef to GD. > Error is now: > Can't use an undefined value as a symbol reference at > /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/GD.pm line 183.
On my testing platform (GD-Dashboard-0.04, GD-2.30, gd-2.0.33, Perl 5.6.0, AIX 5.1), this failure (which also occurs during 'make test') was caused by the use of a DOS type directory separator in the filespec used to create the GD::Dashboard object in test.pl. That is: my $d1 = new GD::Dashboard(FNAME=>'examples\m1.jpg'); caused GD::Image to fail when attempting to open the file that was actually located at 'examples/m1.jpg'. Changing the separator to match my platform allowed make test to run to completion. Perhaps the author could move test.pl to the examples subdirectory then launch the tests from there rather than pass the dir separator as above.