Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

I have a fairly simple Makefile.PL that when run doesn't create the META.yml or MANIFEST files. Where am I going wrong? Thanks!
use lib qw(.); use inc::Module::Install; $ENV{'WITH_SUBDIRS'} = 'sbin,lib,etc,html,bin'; RTx ('AssetTracker'); author ('Todd Chapman <todd@mydomain>'); license ('gpl'); version_from ('lib/RTx/AssetTracker.pm.in'); my ($lp) = $INC{'RT.pm'} =~ /^(.*)[\\\/]/; my $lib_path = join( ' ', "$RT::LocalPath/lib", $lp ); print `./configure --with-rt-lib='$lib_path' --with-rt-local='$RT::Loc +alPath'`; build_requires ('Test::More'); &WriteAll;

Replies are listed 'Best First'.
Re: Module::Install not creating META.yml
by PodMaster (Abbot) on Feb 02, 2005 at 04:56 UTC
    Which version of Module::Install do you have?

    Try deleting "inc" and then invoke perl Makefile.PL again. That should create META.yml.

    To create the manifest try make dist (it will tell you to run make manifest).

    MJD says "you can't just make shit up and expect the computer to know what you mean, retardo!"
    I run a Win32 PPM repository for perl 5.6.x and 5.8.x -- I take requests (README).
    ** The third rule of perl club is a statement of fact: pod is sexy.

Re: Module::Install not creating META.yml
by itub (Priest) on Feb 02, 2005 at 04:45 UTC
    Do you mean literally "when running Makefile.PL"? It think that shouldn't create those files; you can create the manifest with make manifest and I believe META.yml is created when you do make dist.
Re: Module::Install not creating META.yml
by dragonchild (Archbishop) on Feb 02, 2005 at 03:41 UTC
    Create a simple test case (preferably a .t file that can be run with 'make test'), include your OS and Perl version, then submit a bug report to the RT que for Module::Install on http://rt.cpan.org.

    Being right, does not endow the right to be rude; politeness costs nothing.
    Being unknowing, is not the same as being stupid.
    Expressing a contrary opinion, whether to the individual or the group, is more often a sign of deeper thought than of cantankerous belligerence.
    Do not mistake your goals as the only goals; your opinion as the only opinion; your confidence as correctness. Saying you know better is not the same as explaining you know better.

      So you believe it is a bug?
        I don't use Module::Install, so I have no idea. However, you feel that the behavior is, at the very least, counter-intuitive. So, open an RT ticket. If the maintainer doesn't feel that it's a bug, they'll close the ticket with (hopefully) some useful information as to why they feel it's not a bug.

        At this point, you know have documentation that someone thought this wasn't good and the maintainer explaining why it's ok. And, this is the worst case scenario. Sounds good to me ...

        Being right, does not endow the right to be rude; politeness costs nothing.
        Being unknowing, is not the same as being stupid.
        Expressing a contrary opinion, whether to the individual or the group, is more often a sign of deeper thought than of cantankerous belligerence.
        Do not mistake your goals as the only goals; your opinion as the only opinion; your confidence as correctness. Saying you know better is not the same as explaining you know better.