Hi,
I have installed MaSuRCA-3.3.1-foss-2018b-Perl-5.28.0.eb. Instead of
relying on PATH to be set correctly, the scripts which are part of
MaSuRCA try to do some strange gymnastics in order to work out the
correct path to other scripts. In particular, several scripts contain
the code
sub getInstallDirectory () {
my @t = split '/', "$FindBin::RealBin";
pop @t; # bin
pop @t; # arch, e.g., FreeBSD-amd64
my $installDir = join '/', @t; # path to the assembler
return($installDir);
}
sub getBinDirectory () {
my $installDir = getInstallDirectory();
my $syst = `uname -s`; chomp $syst; # OS implementation
my $arch = `uname -m`; chomp $arch; # Hardware platform
my $name = `uname -n`; chomp $name; # Name of the system
$arch = "amd64" if ($arch eq "x86_64");
$arch = "ppc" if ($arch eq "Power Macintosh");
my $path = "$installDir/$syst-$arch/bin";
...
I can't see how this would ever work with EB, as no directory
$syst-$arch
is created, the path needed for the EB build being
$installDir/3.3.1-foss-2018b-Perl-5.28.0/bin
However, as there are several ECs for MaSuRCA, I guess some people have
got it working, so maybe I'm doing something wrong.
Has anyone come across this issue? Any insights greatly appreciated.
Cheers,
Loris
--
Dr. Loris Bennett (Mr.)
ZEDAT, Freie Universität Berlin Email [email protected]