installation error: tar sctk-2.4.10-20151007-1312Z.tar.bz2

450 views
Skip to first unread message

Ali

unread,
Jul 15, 2016, 4:35:15 PM7/15/16
to kaldi-help
Hi,

I am pretty new on Kaldi and followed the instruction to install it. Currently, the "Make" procedure gives me the following error:

tar xojf sctk-2.4.10-20151007-1312Z.tar.bz2
tar: sctk-2.4.10/src/hubscr/test1-sastt.base/sastt-case1.sys.rttm.filt.alignments/ICSI_20011030-1030_d*_NONE_1.html: Cannot open: Protocol error
tar: Exiting with failure status due to previous errors
make: *** [sctk] Error 2

I am not sure why I get this error. I cloned kaldi from the github source following this link: http://kaldi-asr.org/doc/install.html

Please let me know what should I do.

Thanks

Daniel Povey

unread,
Jul 15, 2016, 4:39:39 PM7/15/16
to kaldi-help
I would guess that maybe the bz2 file has become corrupted.
Try removing and re-dowloading it.'
Dan
> --
> You received this message because you are subscribed to the Google Groups
> "kaldi-help" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to kaldi-help+...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

Ali

unread,
Jul 15, 2016, 5:08:41 PM7/15/16
to kaldi-help, dpo...@gmail.com
Thanks for reply Dan.

I already tried that and it gave me the same error. I also tried to replace the previous version (the file sctk-2.4.9-20141015-1634Z.tar.bz2) in the Makefile script and addressed the proper changes in Makefile script, but it gave me the same error as following:

tar xojf sctk-2.4.9-20141015-1634Z.tar.bz2
tar: sctk-2.4.9/src/hubscr/test1-sastt.base/sastt-case1.sys.rttm.filt.alignments/ICSI_20011030-1030_d*_NONE_1.html: Cannot open: Protocol error

tar: Exiting with failure status due to previous errors
make: *** [sctk] Error 2


Ali

Daniel Povey

unread,
Jul 15, 2016, 6:49:00 PM7/15/16
to Ali, kaldi-help
The following info may help narrow it down:

md5sum ../../../tools/sctk-2.4.9-20141015-1634Z.tar.bz2

8cdab2a1263fe103481e23776e2178a1
../../../tools/sctk-2.4.9-20141015-1634Z.tar.bz2

a09:s5: ls -l ../../../tools/sctk-2.4.9-20141015-1634Z.tar.bz2

-rw-r--r-- 1 dpovey fax 2011173 Jul 21 2015
../../../tools/sctk-2.4.9-20141015-1634Z.tar.bz2

tar --version

tar (GNU tar) 1.26

Copyright (C) 2011 Free Software Foundation, Inc.

License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.

This is free software: you are free to change and redistribute it.

There is NO WARRANTY, to the extent permitted by law.


Written by John Gilmore and Jay Fenlason.

Ali

unread,
Jul 15, 2016, 7:37:00 PM7/15/16
to kaldi-help, dpo...@gmail.com
Here are the outcome on my machine:

$ md5sum sctk-2.4.9-20141015-1634Z.tar.bz2

8cdab2a1263fe103481e23776e2178a1  sctk-2.4.9-20141015-1634Z.tar.bz2


$ ls -l sctk-2.4.9-20141015-1634Z.tar.bz2

-rwxrwxrwx 1 root root 2011173 Jul 15 16:30 sctk-2.4.9-20141015-1634Z.tar.bz2


$  tar --version

tar (GNU tar) 1.27.1
Copyright (C) 2013 Free Software Foundation, Inc.

License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by John Gilmore and Jay Fenlason.



Daniel Povey

unread,
Jul 15, 2016, 7:50:49 PM7/15/16
to Ali, kaldi-help
I think what is happening is that your files are on a Windows share
which does not allow asterisks in filenames, and that filename has an
asterisk, so the file operation returns 'protocol error'.
You can try extracting it with

tar --exclude '*NONE*html' -xvojf sctk-2.4.10-20151007-1312Z.tar.bz2

The automated tests won't work but it should build OK.

Dan

Ali

unread,
Jul 15, 2016, 9:10:13 PM7/15/16
to kaldi-help, bostonb...@gmail.com, dpo...@gmail.com
Thank you so much Dan for the note. I did manually use tar as following:

tar --exclude '*_NONE_1.html'  -xojf sctk-2.4.10-20151007-1312Z.tar.bz2

and it seems it worked out. Then I commented out the related scripts to sctk in the Makefile script and the ran the "make" agian. It seems the installation went through for now. However, at the end it gave me this error (that is ignored):

rm -f openfst
ln -s openfst-1.3.4 openfst
ln: failed to create symbolic link ‘openfst’: Read-only file system
make: [openfst] Error 1 (ignored)

Warning: IRSTLM is not installed by default anymore. If you need IRSTLM
Warning: use the script extras/install_irstlm.sh
All done OK.

Is this looks fine?

Daniel Povey

unread,
Jul 15, 2016, 9:12:34 PM7/15/16
to Ali, kaldi-help
Should be OK.
But my advice is to stay as far away from Windows products as possible.
Dan
Reply all
Reply to author
Forward
0 new messages