Estou tentando criar o sail_align
programm seguindo estas estas instruções. Até agora, tudo correu bem e eu completei o último quarto passo sem erros:
4) sudo ./Build install
This command will install the module.
The following perl scripts will be added to your path: sail_align, sail_align_parallel
No entanto, quando executo o seguinte para testar a instalação:
sail_align -i support/data/timit_5.wav -t support/data/timit_5.txt \
-w support/test/local -e timit_sample_test -c config/timit_alignment.cfg
Recebo a mensagem de que o comando sail_align não foi encontrado. O que estou fazendo de errado?
Aqui está o script do arquivo Build
:
$progname = basename($0);
$orig_dir = Cwd::cwd();
my $base_dir = '/home/maximus/sail_align-master';
if (!magic_number_matches()) {
unless (chdir($base_dir)) {
die ("Couldn't chdir($base_dir), aborting\n");
}
unless (magic_number_matches()) {
die ("Configuration seems to be out of date, please re-run 'perl Build.PL' again.\n");
}
}
unshift @INC,
(
);
}
close(*DATA) unless eof(*DATA); # ensure no open handles to this script
use Module::Build;
Module::Build->VERSION(q{0});
# Some platforms have problems setting $^X in shebang contexts, fix it up here
$^X = Module::Build->find_perl_interpreter;
if (-e 'Build.PL' and not Module::Build->up_to_date('Build.PL', $progname)) {
warn "Warning: Build.PL has been altered. You may need to run 'perl Build.PL' again.\n";
}
# This should have just enough arguments to be able to bootstrap the rest.
my $build = Module::Build->resume (
properties => {
config_dir => '_build',
orig_dir => $orig_dir,
},
);
$build->dispatch;
EDITAR
echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
locate sail_align
não produz nada
EDIT2
executando find / 'sail_align'
gera o seguinte
/home/maximus/perl5/bin/sail_align
/home/maximus/perl5/bin/sail_align_parallel
/home/maximus/sail_align-master
/home/maximus/sail_align-master/blib/script/sail_align
/home/maximus/sail_align-master/blib/script/sail_align_parallel
/home/maximus/sail_align-master/docs/sail_align_tutorial_vlsrp2011.pdf
/home/maximus/sail_align-master/docs/sail_align_tutorial_vlsrp2011.ppt
/home/maximus/sail_align-master/scripts/sail_align
/home/maximus/sail_align-master/scripts/sail_align_parallel