Results 1 to 1 of 1
I am having a problem installing, or getting it to work right the perl GD module. When installing libGD (2.0.35), I have these options Code: Support for PNG library: yes ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 06-25-2007 #1
- Join Date
- Jun 2007
problem with JPEG after installing GD for perl
When installing libGD (2.0.35), I have these options
Support for PNG library: yes Support for JPEG library: yes Support for Freetype 2.x library: yes Support for Fontconfig library: no Support for Xpm library: no Support for pthreads: yes
When I install the actual GD module (2.35) the makefile says:
Included Features: GD_JPEG GD_FREETYPE GD_PNG GD_GIF GD_GIFANIM GD_OPENPOLYGON GD_UNCLOSEDPOLY GD_ANIMGIF GD_FTCIRCLE VERSION_33
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/GD..........Testing using gif support. t/GD..........ok 3/12 skipped: various reasons t/Polyline....ok All tests successful, 3 subtests skipped. Files=2, Tests=13, 1 wallclock secs ( 0.26 cusr + 0.06 csys = 0.32 CPU)
GIF support now works fine with GD, however I get this error when dealing with JPEG:
Can't locate object method "newFromJpeg" via package "GD::Image" at /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/GD/Image.pm line 81.