To correct the error message Can‘t locate tRNAscanSE/Utils.pm in @INC (@INC contains:... I patched /usr/local/bin/tRNAscan-SE with the following additional line use lib "/usr/local/bin"; # otherwise can‘t find modules listed below inserted at line 28
I also needed to do this (permissions were 754 previously) $ sudo chmod 755 /usr/local/bin/tRNAscanSE
And for cgi compatibility, found three system() calls to rm in /usr/local/bin/tRNAscan-SE, changed to use the full path for each of these/bin/rm