in reply to Installation error of Spreadsheet::ParseXLSX in CPAN on Linux ( RedHat) server

Spreadsheet::ParseXLSX has Crypt::Mode::CBC as a dependency. IIRC the defaults for cpan are to follow dependencies, if you've altered this:

cpan> o conf prerequisites_policy 'follow' cpan> o conf build_requires_install_policy yes cpan> o conf commit

cpanm is a better, faster installer IMHO. If you are using the system perl consider yum could install perl-Spreadsheet-ParseExcel.

Replies are listed 'Best First'.
Re^2: Installation error of Spreadsheet::ParseXLSX in CPAN on Linux ( RedHat) server
by chandantul (Scribe) on Feb 04, 2021 at 23:25 UTC

    I have done the below settings but its still not able to install the dependencies cpan> o conf prerequisites_policy 'follow' cpan> o conf build_requires_install_policy yes cpan> o conf commit Do you want me to install from command line of the linux server by downloading DOY/Spreadsheet-ParseXLSX-0.27.tar.gz through cpanm?

      its still not able to install the dependencies

      Is it at least trying to install Crypt::Mode::CBC ?
      What happens if you run cpan -i Crypt::Mode::CBC before running cpan -i Spreadsheet::ParseXLSX

      Cheers,
      Rob

        I was able to install by installing cpanm though yum and then cpanm to all modules fine. Thanks for your help