[OS X TeX] I can't install the Perl library(ies) needed to run latexindent

Joe Heafner heafnerj at gmail.com
Fri Jul 17 05:10:29 CEST 2020


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


----------- Please Consult the Following Before Posting -----------
TeX FAQ: http://www.tex.ac.uk/faq
List Reminders and Etiquette: https://sites.esm.psu.edu/~gray/tex/
List Archives: http://dir.gmane.org/gmane.comp.tex.macosx
                https://email.esm.psu.edu/pipermail/macosx-tex/
TeX on Mac OS X Website: http://mactex-wiki.tug.org/
List Info: https://email.esm.psu.edu/mailman/listinfo/macosx-tex



More information about the macostex-archives mailing list.