I appologize for being so cryptic. It is obvoius there was not enoug information in my post. so allow my to start from he top. my Makefile.PL looks like this :
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, } );
if my source tree looks like the first case illustrated in the first figure above, when I execute :
perl Makefile.PL
make
make test
sudo make install
everything is installed properly into my
/usr/local/lib/perl/5.14.2/auto/LC/Mod/...
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
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.
also if i do the smylinks i run into the same problem. What am I missing??

baxy


In reply to Re: Makefile.PL Question by baxy77bax
in thread Makefile.PL Question by baxy77bax

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.