Hi,

set INSTALLDIRS => 'perl' and LIB => '/usr/lib/perl5/site_perl/5.8.0/Bio/Tools'. The PMs should be installed where you want them to be. You will still see the i386-linux-thread-multi/auto/ show up. This will contain a .packlist file in it. Hope that helps.

-Ian


Soumyadeep nandi wrote:


Hi,
As a novice to perl programming I am stuck to a
problem for which I seek your help. I have written a
module in perl, and I want to make it installable
module. As such, I ran the following commands:
  h2xs -n Local::Plantgenome
  perl Makefile.PL
  make dist
I want this module to be installed in a particular
location (/usr/lib/perl5/site_perl/5.8.0/Bio/Tools/),
on the other systems.
Thus I have tried, while running
perl Makefile.PL
LIB=/usr/lib/perl5/site_perl/5.8.0/Bio/Tools

But the module is being installed in
"/usr/lib/perl5/site_perl/5.8.0/Bio/Tools/i386-linux-thread-multi/auto/Local/"

Even I have tried with the key-value parameter to WriteMakefile(
'INSTALLDIRS' =>
'/usr/lib/perl5/site_perl/5.8.0/Bio/Tools',
'NAME => 'Local::Plantgenome',
...
But as I try to intall this, I am ending up with the
following error as
make: *** No rule to make target
`pure_/usr/lib/perl5/site_perl/5.8.0/Bio/Tools_install',
needed by `pure_install'. Stop.


Could you please suggest me how to write the
Makefile.PL so that I can install it in the prefered
location.
Is there any mailling archive so that I can get
further help.

Hopping to hear from you.

With regards,
Soumyadeep

__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com





Reply via email to