[OS X TeX] I can't install the Perl library(ies) needed to run latexindent
Herbert Schulz
herbs at wideopenwest.com
Fri Jul 17 17:57:08 EDT 2020
> On Jul 16, 2020, at 10:10 PM, Joe Heafner <heafnerj at gmail.com> wrote:
>
> I’m trying to use latexindent on my iMac running MacTeX 2020 under Catalina 10.15.6. I’m following the instructions in the latexindent documentation. When I attempt to run the installer script
>
> perl latexindent-module-installer.pl
>
> it fails becuase Perl can’t find the script. So when I give the full path to the script, the run still fails and I get:
>
> ============
> latexindent.pl module installer
> ============
> Would you like to run the following commands?
> cpanm YAML::Tiny
> cpanm File::HomeDir
> cpanm Unicode::GCString
> cpanm Log::Log4perl
> cpanm Log::Dispatch
> Press Y to run the above commands (Y/N): Y
> Can't exec "cpanm": No such file or directory at /usr/local/texlive/2020/texmf-dist/doc/support/latexindent/latexindent-module-installer.pl line 29, <STDIN> line 1.
> Can't exec "cpanm": No such file or directory at /usr/local/texlive/2020/texmf-dist/doc/support/latexindent/latexindent-module-installer.pl line 29, <STDIN> line 1.
> Can't exec "cpanm": No such file or directory at /usr/local/texlive/2020/texmf-dist/doc/support/latexindent/latexindent-module-installer.pl line 29, <STDIN> line 1.
> Can't exec "cpanm": No such file or directory at /usr/local/texlive/2020/texmf-dist/doc/support/latexindent/latexindent-module-installer.pl line 29, <STDIN> line 1.
> Can't exec "cpanm": No such file or directory at /usr/local/texlive/2020/texmf-dist/doc/support/latexindent/latexindent-module-installer.pl line 29, <STDIN> line 1.
> (base) heafnerj at Betelgeuse ~ %
>
> Any help would be appreciated.
>
>
> Joe Heafner
> Sent from one of my Macs
Howdy,
Take a look at <https://learn.perl.org/installing/osx.html> for some information that might help.
Good Luck,
Herb Schulz
(herbs at wideopenwest dot com)
More information about the MacOSX-TeX
mailing list