Thanks Michael,
I myself wrote a Makefile.PL. That is working fine
now, I can install the module in the proper directory.
I would like to show you my Makefile.PL.
use ExtUtils::MakeMaker;
WriteMakefile(
'NAME' => 'Bio::Tools::Local::Plantgenome',
'VERSION_FROM' => 'Plantgenome.pm',
'AUTHOR' => 'Soumyadeep Nandi
<[EMAIL PROTECTED]>',
'INSTALLARCHLIB' =>
'/usr/lib/perl5/site_perl/5.8.0/Bio/Tools/Local',
'INSTALLDIRS' => 'site',
);
----END of Makefile.PL--------
What I did is, took the module to the other machine
and wrote the above Makefile.PL and ran "perl
Makefile.PL" where I was getting the following
warning:
WARNING: Setting VERSION via file 'Plantgenome.pm'
failed
at /usr/lib/perl5/5.8.0/ExtUtils/MakeMaker.pm line
523
Writing Makefile for Bio::Tools::Local::Plantgenome
----END of output of perl Makefile.PL--------
But as I added "$VERSION = '0.01';" to the top of
Plantgenome.pm this warning didn't appear.
And after "make" and "make install" the module is
being installed into the proper directory. Thank you
very much for your kind guidance.
But, in my system when I run "make dist" after "perl
Makefile.PL" in the directory Local where Makefile.PL
and Plantgenome.pm residing I am getting the following
output:
rm -rf Bio-Tools-Local-Plantgenome-0.01
/usr/bin/perl "-MExtUtils::Manifest=manicopy,maniread"
\
-e
"manicopy(maniread(),'Bio-Tools-Local-Plantgenome-0.01',
'best');"
MANIFEST: No such file or directory at
/usr/lib/perl5/5.8.0/ExtUtils/Manifest.pm line 182.
mkdir Bio-Tools-Local-Plantgenome-0.01
tar cvf Bio-Tools-Local-Plantgenome-0.01.tar
Bio-Tools-Local-Plantgenome-0.01
Bio-Tools-Local-Plantgenome-0.01/
rm -rf Bio-Tools-Local-Plantgenome-0.01
gzip --best Bio-Tools-Local-Plantgenome-0.01.tar
-----End of the output of make dist-------
And after untaring the tar.gz file in some other
system I cant find any file in the untared directory.
Could you please suggest me where I am making the
mistake.
With my sincere regards,
Soumyadeep
__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com