in reply to Makefile.PL Question
if my source tree looks like the first case illustrated in the first figure above, when I execute :use ExtUtils::MakeMaker; WriteMakefile( NAME => 'LC::Mod', VERSION_FROM => 'src/lib/LC/Mod.pm', dist => { 'COMPRESS' => 'gzip' }, PREREQ_PM => { # Require Getopt::Long at least 2.42 "Getopt::Long" => '2.42', # Require any version of File::Slurp "File::Slurp" => 0, } );
directory. but if i set my source tree as in the second figure instalation does not copy my *.pm files into its required folder thus when i execute my application which uses this module i get a classic/usr/local/lib/perl/5.14.2/auto/LC/Mod/...
also if i do the smylinks i run into the same problem. What am I missing??Can't locate LC/Mod.pm in @INC (@INC contains: /etc/perl /usr/local/li +b/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/ +perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_per +l .) at t/LC.pl line 26.
baxy
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Makefile.PL Question
by stevieb (Canon) on Sep 04, 2015 at 15:51 UTC | |
by 1nickt (Canon) on Sep 04, 2015 at 16:30 UTC | |
|
Re^2: Makefile.PL Question ( ExtUtils::MakeMaker PMLIBDIRS sub MY::libscan )
by Anonymous Monk on Sep 05, 2015 at 08:11 UTC | |
by baxy77bax (Deacon) on Sep 05, 2015 at 10:23 UTC | |
|
Re^2: Makefile.PL Question
by Anonymous Monk on Sep 04, 2015 at 17:27 UTC | |
by Anonymous Monk on Sep 04, 2015 at 17:35 UTC |