Uploaded image for project: 'MusicBrainz Server'
  1. MusicBrainz Server
  2. MBS-7497

cpanm install fails with Can't locate File/Copy/Recursive.pm in @INC

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 2014-12-01
    • None
    • Database setup
    • None

      Running cpanm --installdeps --notest . results in:

      <snip>

      Running Makefile.PL
      Can't locate File/Copy/Recursive.pm in @INC (you may need to install the File::Copy::Recursive module) (@INC contains: inc /home/navap/perl5/lib/perl5 /etc/perl /usr/local/lib/perl/5.18.2 /usr/local/share/perl/5.18.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.18 /usr/share/perl/5.18 /usr/local/lib/site_perl .) at inc/Module/Install/Catalyst.pm line 11.
      BEGIN failed--compilation aborted at inc/Module/Install/Catalyst.pm line 11.
      Compilation failed in require at inc/Module/Install.pm line 283.
      Bareword "catalyst" not allowed while "strict subs" in use at Makefile.PL line 171.
      Execution of Makefile.PL aborted due to compilation errors.
      -> N/A
      ! Configuring . failed. See /home/navap/.cpanm/work/1399181496.14107/build.log for details.

      Installing File::Copy::Recursive manually fixed the issue for me.

            chirlu Ulrich Klauer
            navap Pavan Chander
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                Version Package
                2014-12-01