3 ms·
When I try to run mosh on my Mac (after installing from the .pkg provided) I get this error: Can't locate IO/Pty.pm in @INC (@INC contains: /opt/local/lib/
by joejohnson 15y ago
When I try to run mosh on my Mac (after installing from the .pkg provided) I get this error:
Can't locate IO/Pty.pm in @INC (@INC contains:
/opt/local/lib/perl5/site_perl/5.12.3/darwin-multi-2level
/opt/local/lib/perl5/site_perl/5.12.3
/opt/local/lib/perl5/vendor_perl/5.12.3/darwin-multi-2level
/opt/local/lib/perl5/vendor_perl/5.12.3
/opt/local/lib/perl5/5.12.3/darwin-multi-2level
/opt/local/lib/perl5/5.12.3 /opt/local/lib/perl5/site_perl
/opt/local/lib/perl5/vendor_perl .) at /usr/bin/mosh line 24.
BEGIN failed--compilation aborted at /usr/bin/mosh line 24.
Is anyone else getting this error?
- SeoxyS 15y agoYou're using MacPort's install of Perl, instead of the OSX's default. Edit the shebang in /usr/local/bin/mosh to point to /url/bin/perl. Anyway, that did the trick for me.
- joejohnson 15y agoNever mind, the latest package (mosh-1.1.3-2.pkg) fixed it.
- peterwwillis 15y agoI found this annoying too. It's not a core Perl module so it should be listed on requirements page. And really, do we need this complicated of a perl wrapper when they already wrote a C++ client?