The SHARP/autoSHARP version (SHARP 2.6.0 and Sushi 3.8.0) will not run with Perl 5.12.X out-of-the box. Some changes between Perl 5.10 and 5.12 require changes to our software (which will be done for the next release).

In the meantime it is recommended to install a 5.10 version of Perl in case your system only comes with Perl 5.12. There are two possibilities:

1. Use a pre-compiled Perl distribution

If you Linux or Os X version doesn't come with a Perl version other than 5.12, a good source of binary packages is http://www.perl.org/get.html.

2. Compile your own 5.10 version

Something like this should work (tested on Linux, Ubuntu 10.04):

  • create a new directory:
    % mkdir /some/where     # just an example - adapt to your setup!
    % cd /some/where
  • set a parameter:
    % cdir=`pwd`          # sh/bash/ksh/zsh
      - or -
    % set cdir=`pwd`      # csh/tcsh
  • get Perl 5.10:
    % wget http://www.cpan.org/src/perl-5.10.1.tar.gz
      - or -
    % curl -o perl-5.10.1.tar.g http://www.cpan.org/src/perl-5.10.1.tar.gz
  • unpack, confiugre, compile and install:
    % tar -xzvf perl-5.10.1.tar.gz
    % cd perl-5.10.1
    % ./Configure -d -Dprefix=$cdir
    % make
    % make install
    % ls -l $cdir/bin/perl
  • Alternate: use perlbrew (Thanks to Jesper Lykkegaard Karlsen):
    % wget --no-check-certificate http://install.perlbrew.pl
    % sh perlbrew-install
    % ~/perl5/perlbrew/bin/perlbrew install perl-5.10.1
    # installs 5.10.1 into ~/perl5/perlbrew/perls/perl-5.10.1

The resulting binary should be in /some/where/bin/perl (or similar). This approach has the advantage that you don't have to change anything inside your operating system and that you can maintain a special Perl 5.10 installation only for the SHARP/autoSHARP version SHARP 2.6.0 (and Sushi 3.8.0).


Using the 5.10 binary right from the start

You can make your life easier by running

% BDG_perl=/where/ever/bin/perl ; export BDG_perl    # sh/bash/ksh/zsh
 - or -
% setenv BDG_perl /where/ever/bin/perl               # csh/tcsh

followed by the normal installation commands.


As mentioned: the next release will be able to run under Perl 5.12 out-of-the box.