@INC is the path perl uses to find modules
add something like:
#----begin
BEGIN {
push @INC, "/usr/local/lib/perl5/site_perl/5.8.3/Bio/DB/GFF/Adaptor";
}
#----end
to the top of your script and perl should be able to find dbi, of course you
may have to add other paths if you get the same complaint from other
modules... you get the idea.
-----Original Message-----
From: Ying Sun [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 02, 2004 5:09 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Could someone help me?
Dear there:
I am the beginner of the Bioperl.
Now I try to convert Genebank format into GFF format. I use
bp_genbank2gff.pl to convert it.
For example: bp_genbank2gff.pl -d genbank -f NC_006274.gbk
But when I run it,I got the error report like this:
Can't locate DBI.pm in @INC (@INC contains: .
/usr/local/lib/perl5/5.8.3/sun4-s
BEGIN failed--compilation aborted at
/usr/local/lib/perl5/site_perl/5.8.3/Bio/D
Compilation failed in require at
/usr/local/lib/perl5/site_perl/5.8.3/Bio/DB/GF
BEGIN failed--compilation aborted at
/usr/local/lib/perl5/site_perl/5.8.3/Bio/D
Compilation failed in require at
/usr/local/lib/perl5/site_perl/5.8.3/Bio/DB/GF
BEGIN failed--compilation aborted at
/usr/local/lib/perl5/site_perl/5.8.3/Bio/D
Compilation failed in require at /usr/local/bin/bp_genbank2gff.pl line 76.
BEGIN failed--compilation aborted at /usr/local/bin/bp_genbank2gff.pl line
76.
Actually, dbi.pm is installed in the
directory:/usr/local/lib/perl5/site_perl/5.8.3/Bio/DB/GFF/Adaptor
Is the dbi.pm different form DBI.pm? or Some other problems?
Will you give me some kind help?
Thanks a lot.
Ying