in reply to ExtUtils::Installed fails to find Catalyst because it doesn't have a .packlist

ls -l /perl5/perlbrew/perls/perl-5.42.0/lib/site_perl/5.42.0/darwin-2l +evel/auto/CGI -rw-r--r-- 1 user staff 1.3K Jan 2 00:34 .packlist drwxr-xr-x 3 user staff 96B Jan 10 05:23 Ajax drwxr-xr-x 3 user staff 96B Jan 10 05:24 Application drwxr-xr-x 3 user staff 96B Jan 10 05:32 Compress

That doesn't look right to me. ls does not display dotfiles by default, that requires the -a option or similar. Either you are not running a bare ls (eg. using an alias or function or other wrapper) or something else is going on which you have not explained. Either way, this casts doubt on the following snippet in which you use ls -l to "show" the absence of a dotfile.

Assuming the dotfile absence is real, however, my best guess would be that something in the Catalyst installation has not completed entirely as expected for some reason or another. It is a bit of a beast in terms of dependencies so a snag in any of those could potentially bubble up and cause a problem with the overall installation. Either go through the cpanm logfile to find it or else try installing Catalyst by hand.


🦛

Replies are listed 'Best First'.
Re^2: ExtUtils::Installed fails to find Catalyst because it doesn't have a .packlist (it has 10 packlists!)
by Anonymous Monk on Apr 17, 2026 at 16:04 UTC
    Good catch! You're right about the -a option but missed the -h :-). I do use an alias (alias ll='ls -lha') and replaced it with ls -l to prevent confusion but just created more! Anyway the dotfile absence from /Catalyst is real but I did find 10 .packlists under /Catalyst:
    /Catalyst/Action/RenderView/.packlist
    /Catalyst/Controller/POD/.packlist
    /Catalyst/Devel/.packlist
    /Catalyst/Engine/PSGI/.packlist
    /Catalyst/Manual/.packlist
    /Catalyst/Plugin/ConfigLoader/.packlist
    /Catalyst/Plugin/Session/.packlist
    /Catalyst/Plugin/Session/State/Cookie/.packlist
    /Catalyst/Plugin/Static/Simple/.packlist
    /Catalyst/Runtime/.packlist
    
    Thanks for your time.