Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
4.0k views
in Technique[技术] by (71.8m points)

symlink - Building softlink inside a file in Linux : Not a directory

I am running the script tedlium/s5/run.sh of Kaldi repository https://github.com/kaldi-asr/kaldi/tree/master/egs, and encountered the following error :

run.sh: line 30: utils/parse_options.sh: Not a directory

Therefore it must be that for some reason in running run.sh, the utils dir goes wrong, which led me to debug what actually when wrong. After some study of the code structure, in tedlium/s5/utils, I found a path ../../wsj/s5/utils is directing to a real directory utils. However, as I expect there should be a command building such softlink using ln -s, I did not find such in the compilation procedure.

Also one bash command before the error s5/path.sh seems to be related, but it only adds utils file to the path.

Of course I could build it manually using ln, but which should not occur as I expect (since not mentioned at all in the repo readme). I then wonder how should this softlink be built ? Is there other way to build softlink besides ln ?


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神解答

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...