Git Product home page Git Product logo

Comments (9)

GoogleCodeExporter avatar GoogleCodeExporter commented on September 28, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 28, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 28, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 28, 2024
[deleted comment]

from csshx.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 28, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 28, 2024
[deleted comment]

from csshx.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 28, 2024
(removed previous comment, it works fine)

Original comment by [email protected] on 30 Mar 2010 at 3:57

from csshx.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 28, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 28, 2024
@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.