Hi fellow monks, Here's a problem that's been getting the best of me all morning. ExtUtils::MakeMaker seems to work just fine on my OS X laptop. I've been writing, testing, and installing there for months now.

I create a tarball with make dist and scp it over to the server so that my entire group can test the application. I untar it, and do perl Makefile.PL ; make ; make install. Everything appears to be going fine until the very last moment, when I realize that it's not actually installing any of my modules:
Writing /usr/local/apache/share/cgi-lib/policymaker/auto/PolicyMaker/. +packlist Appending installation info to /usr/local/lib/perl5/5.8.0/i686-linux/p +erllocal.pod
... is all I get after the entering/leaving directories bit. I find this incredibly strange, since it's working without a hitch on my laptop.

For reference, here's the Makefile.PL:
[Freyja:~/CVSdev/policymaker] janet% more Makefile.PL use strict; use Data::Dumper; use ExtUtils::MakeMaker; use ExtUtils::Manifest; use ExtUtils::Install; use Config::Tiny; my $config_file = 'data/config.ini'; # parse the config file my $conf = Config::Tiny->read($config_file); my $paths = $conf->{paths}; my %opts = ( NAME => 'PolicyMaker', VERSION => "1.0", INSTALLSITELIB => $paths->{cgilib}, realclean => {FILES => '$(INST_ARCHAUTODIR)/*.old *,v'} , test => {TESTS => 't/*.t'}, dist => {COMPRESS => 'gzip', SUFFIX => '.gz'}, #VERBINST => $conf->{_}->{verbose} ); WriteMakefile( %opts );
And here's what the directory looks like:
[Freyja:~/CVSdev/policymaker] janet% ls CVS MANIFEST.SKIP Makefile.old data MANIFEST + Makefile.PL README lib
I know that MakeMaker needs a Makefile.PL at every level (yes?), so here's what lib looks like:
[Freyja:~/CVSdev/policymaker] janet% ls lib CVS PolMaker-Rate-DiscountType Makefile.PL PolMaker-Rate-Legal PolMaker-AffUnderwriter PolMaker-Rate-MaxValsCoverage PolMaker-Affiliate PolMaker-Rate-Medical PolMaker-AutoPolicy PolMaker-Rate-Surcharge PolMaker-AutoQuote PolMaker-Rate-SurchargeType PolMaker-DBI PolMaker-Rate-Travel PolMaker-Insured PolMaker-Rate-TravelMexpro PolMaker-ItemValue PolMaker-Territory PolMaker-MMUnderwriter PolMaker-Towed PolMaker-Make PolMaker-TowedType PolMaker-Model PolMaker-Underwriter PolMaker-PolicyTowed PolMaker-User PolMaker-PowerUnit PolMaker-Util PolMaker-Quote PolMaker-VehicleCoverageType PolMaker-Rate PolMaker-VehicleType PolMaker-Rate-AutoLiability config.pl PolMaker-Rate-AutoPremium handler.pl PolMaker-Rate-Discount
Each of those directories contains the requisite module, a Makefile.PL, and various other things (I generated 'em all with h2xs.) Note that nothing from this directory actually gets installed. Here's lib/Makefile.PL:
[Freyja:~/CVSdev/policymaker] janet% cat lib/Makefile.PL use strict; use ExtUtils::MakeMaker; WriteMakefile( NAME => "Modules");
That's it. And it's working like a charm on my laptop. Both the server and the laptop are using perl 5.8.0. The server is running the latest version of RedHat Linux.

I don't think it's a permissions issue; I've double- and triple-checked that, and I've tried installing the modules as root. Is there anything at all I could be missing?

Thanks for any pointers you can give.

In reply to MakeMaker not installing any modules by janjan

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.