[OS X TeX] Problem with lualatexmk script in TeXShop v. 3.92

Herbert Schulz herbs at wideopenwest.com
Sat Dec 2 22:44:16 CET 2017

> On Dec 2, 2017, at 12:15 PM, Herbert Schulz <herbs at wideopenwest.com> wrote:
> Howdy,
> Do the other latexmk based engines still work properly? This sounds a bit like a problem between the latexmk Perl script and the version of Perl in MacOS 10.8. 
> Good Luck,
> Herb Schulz
>> On Dec 2, 2017, at 12:15 PM, Franck Pastor <franck.pastor at skynet.be> wrote:
>> Début du message réexpédié :
>>> De : Franck Pastor <franck.pastor at skynet.be>
>>> Objet : Problem with lualatexmk script in TeXShop v. 3.92
>>> Date : 2 décembre 2017 18:14:02 UTC+01:00
>>> À : TeX on Mac OS X Mailing List <MacOSX-TeX at email.esm.psu.edu>
>>> Hello,
>>> Since I have upgraded TeXShop to its latest version (3.92), the lualatexmk script (in ~/Library/TeXShop/Engines) doesn't work. Each time I want to use it I get this message from the console window:
>>> "bsd_glob" is not defined in %File::Glob::EXPORT_TAGS at /Users/fp/Library/TeXShop/bin/tslatexmk/latexmk line 132
>>>   main::BEGIN() called at /System/Library/Perl/5.12/Carp.pm line 132
>>>   eval {...} called at /System/Library/Perl/5.12/Carp.pm line 132
>>> Can't continue after import errors at /Users/fp/Library/TeXShop/bin/tslatexmk/latexmk line 132
>>> BEGIN failed--compilation aborted at /Users/fp/Library/TeXShop/bin/tslatexmk/latexmk line 132.
>>> I've no idea of what this means. Can anyone see what the problem is ?
>>> Thanks in advance,
>>> Franck Pastor
>> I forgot to mention I'm using Mac OS X Mountain Lion 10.8.5 on this computer.


Assuming all of the latexmk based engines fail in a similar fashion I'm quite sure the problem is that the updated latexmk Perl script is having a problem with the Perl installation under MacOS 10.8. If you let me know the version of Perl on your system I'll pass that information and the output you were seeing to John Collins that maintainer of the latexmk script. Note: I know he made changes to the GLOB stuff from Perl because that will be changing in upcoming versions of Perl.

To get the Perl version run

 Perl --version

in Terminal.app.

In any case I'm attaching a copy of latexmk 4.53a (the version used in previous versions of TeXShop for a while) in zipped form. I suggest you save a copy of the zipped version in case some updates automatically happen in the future. Unzip a copy and copy the latexmk file into the ~/Library/TeXShop/bin/tslatexmk folder, replacing the version supplied with TeXShop 3.91 and later and see if that fixes the problem.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: latexmk.zip
Type: application/zip
Size: 95983 bytes
Desc: not available
URL: <http://tug.org/pipermail/macostex-archives/attachments/20171202/bca2ecd5/attachment-0001.zip>
-------------- next part --------------

Good Luck,

Herb Schulz
(herbs at wideopenwest dot com)

-------------- next part --------------
----------- Please Consult the Following Before Posting -----------
TeX FAQ: http://www.tex.ac.uk/faq
List Reminders and Etiquette: https://www.esm.psu.edu/~gray/tex/
List Archives: http://dir.gmane.org/gmane.comp.tex.macosx
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