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

John Burt burt at brandeis.edu
Fri Jul 17 06:09:28 EDT 2020


Just looking at your post it appears to me that you need to download cpanm,
which is a program from retrieving modules from CPAN.
John

On Thu, Jul 16, 2020 at 11: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
>
>
> ----------- 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://email.esm.psu.edu/pipermail/macosx-tex/attachments/20200717/ba28bccd/attachment.htm>


More information about the MacOSX-TeX mailing list