tarsqi / ttk

Tarsqi Toolkit
Apache License 2.0
25 stars 10 forks source link

GUTime fails on MacOS Big Sur #105

Closed marcverhagen closed 3 years ago

marcverhagen commented 3 years ago

The issue here is that Big Sur uses Perl 5.28 and that version 5.26 took the current working directory out of @INC for security reasons.

marcverhagen commented 3 years ago

Fixed by taking a suggestion from https://stackoverflow.com/questions/728597/how-can-my-perl-script-find-its-module-in-the-same-directory and adding the following to components/gutime/TimeTag.pl:

use File::Basename;
use lib dirname (__FILE__);