[Bioperl-l] Can't locate loadable object for module GD

Eileen goh e_lyn_goh at yahoo.com
Thu Oct 2 01:36:53 EDT 2003


hi, 
 i am trying create graphics for my output but i encounter the following exception :
 
Can't locate loadable object for module GD in @INC (@INC contains: C:/Perl/lib C
:/Perl/site/lib .) at C:/Perl/site/lib/Bio/Graphics/Glyph/Factory.pm line 55
Compilation failed in require at C:/Perl/site/lib/Bio/Graphics/Glyph/Factory.pm
line 55.
BEGIN failed--compilation aborted at C:/Perl/site/lib/Bio/Graphics/Glyph/Factory
.pm line 55.
Compilation failed in require at C:/Perl/site/lib/Bio/Graphics/Panel.pm line 4.
BEGIN failed--compilation aborted at C:/Perl/site/lib/Bio/Graphics/Panel.pm line
 4.
Compilation failed in require at C:/Perl/site/lib/Bio/Graphics.pm line 3.
BEGIN failed--compilation aborted at C:/Perl/site/lib/Bio/Graphics.pm line 3.
Compilation failed in require at chart.pl line 4.
BEGIN failed--compilation aborted at chart.pl line 4.
 
i have downloaded and installed the module GD but i doesnt work. could it be i installed wrongly?
 
 
my codes:
#!/usr/bin/perl
use strict;
use Bio::Graphics;
use Bio::SeqFeature::Generic;
my $panel = Bio::Graphics::Panel->new(-length => 1000,-width => 800);
my $track = $panel->add_track(-glyph => 'generic',-label =>1);
while(<>) {
 chomp;
 next if /^\#/;
 my($name, $score, $start, $end) = spilt/\t+/;
 my $feature = Bio::SeqFeature::Generic->new(-display_name=>$name,-score=>$score,
          -start=>$start, -end=>$end);
 $tracj->add_feature($feature);
}
print $panel->png;

 
Thanks 
blur queen



---------------------------------
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search


More information about the Bioperl-l mailing list