Comments (9)
This appears to be an issue on 64bit 10.6 machines, and due to a bad build of
perl.
Hopefully Apple will look at this.
There are two work around:
1) EASY: Change the first line of the csshX code to be:
#!/usr/bin/perl5.8.9
This will work for 10.6 but break the script on all other platforms
2) FULL: Replace the first line with:
#!/bin/sh -- # --*-Perl-*--
# Mad perl detection for broken 64-bit 10.6.0
for p in perl5.8.9 perl; do
if [ -x /usr/bin/$p ]; then
exec /usr/bin/$p -x -S $0 ${1+"$@"}; fi
done
echo No valid perl found - please submit a bug at http://code.google.com/p/csshx
/issues
echo Please attach the data below:
echo --------------------
sw_vers; ls -1 /usr/bin/perl*
echo --------------------
exit 255
#!/usr/bin/perl
#line 17
This will continue to work with all 10.4+ versions and will report debug info
if it does
not work. (This is also at the top of the current SVN trunk version)
Original comment by gavin.brock
on 28 Aug 2009 at 6:20
- Changed state: Accepted
- Added labels: Priority-High
- Removed labels: Priority-Medium
from csshx.
I am working on a new version of csshX that will use the Cocoa scripting
bridge. I will
close this ticket when I release it..
Original comment by gavin.brock
on 2 Sep 2009 at 11:55
from csshx.
if you actually take the errors advice and look into man perl you'll find that
it's
just the perl version compiled isn't 64 bit compatible.
adding:
export VERSIONER_PERL_PREFER_32_BIT=yes #needed for csshx to work
to your .bash_profile should fix the problem... or at least it did for me.
Original comment by [email protected]
on 2 Oct 2009 at 1:06
from csshx.
[deleted comment]
from csshx.
Released in 0.64: http://gavcode.wordpress.com/2010/03/30/csshx-0-64/
Original comment by gavin.brock
on 30 Mar 2010 at 2:06
- Changed state: Done
from csshx.
[deleted comment]
from csshx.
(removed previous comment, it works fine)
Original comment by [email protected]
on 30 Mar 2010 at 3:57
from csshx.
Thanks gavin that works, but the line:
exec /usr/bin/$p -x -S $0 ${1+"$@"}; fi
needs to have quotes around $0 or it will break on paths with spaces.
exec /usr/bin/$p -x -S "$0" ${1+"$@"}; fi
Works great!
Original comment by [email protected]
on 31 May 2010 at 12:45
from csshx.
@mats.tornros
Thanks for the feedback - those shell expansions are always error prone.
However, this workaround is no longer needed - the current version will work
fine on 10.5 and up with the
default perl - you can get csshX 0.72 at:
http://code.google.com/p/csshx/downloads/detail?name=csshX-0.72.tgz
(Lots of other goodies and bug fixes in there too)
Original comment by gavin.brock
on 31 May 2010 at 12:51
from csshx.
Related Issues (20)
- Change screen bounds HOT 1
- Perhaps the coolest utility ever
- Terminals opening in new tab instead of same window HOT 1
- POSIX::tmpnam() is deprecated in Perl 5.22.0 HOT 8
- Csshx quits quietly HOT 1
- Some terminal windows work fine while others don't work at all. HOT 2
- Doesnot work with MacOS Ventura. HOT 3
- Question: is there a way to set an env var in the terminal that is running ssh
- Terminals Overlap between each other HOT 1
- Is possible to feature multiple tabs instead of multiple windows? HOT 1
- Repeating with range HOT 1
- Small script I use for csshX
- csshX not working with zsh HOT 2
- csshX not working on macOS High Sierra HOT 3
- Specify UserKnownHostsFile and StrictHostKeyChecking HOT 1
- I need to use iTerm2 instead of Terminal.app HOT 1
- csshx is not working in New Mac Mojave Release
- csshx is not working in New Mac OS Release MacOS Mojave HOT 59
- 使用 csshX 同步管理多个 SSH 会话
- -v Has Wrong Exit Code
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from csshx.