I've been trying compile mdk3-v6 but I run into errors.

Started off by trying sudo apt-get install that didn't work. Downloaded from another source and tried tar -xjf mdk3-v6.tar.bz2

Keep getting No such file directory error. Also downloaded all the 32bit support since I'm running 64bit & have the build essentials and all that. Tried using -xzf instead of -xjf and other tasks. Changed Makefile to -pthread. I think I've tried everything.

If someone could help me out I'd appreciate it.


It looks like you're in your home directory but your file probably downloaded in the Downloads directory or something similar.

You need to be in the same directory as the file or specify by doing tar xjf Downloads/blah.tar.bz2

A good trick I use instead of typing it all out is just type in the first few keys and hit Tab and the shell will autocomplete the filename for you. If you do that and the file doesn't complete, you know you're in the wrong directory.

  • I tried that and I got the same type of message. tar -xjf Downloads/mdk3-v6.tar.bz2 tar (child): Downloads/mdk3-v6.tar.bz2: Cannot open: No such file or directory tar (child): Error is not recoverable: exiting now tar: Child returned status 2 tar: Error is not recoverable: exiting now Could it be that I'm missing bzip2 somehow? – Josec Aug 3 '12 at 23:14
  • You need to put where you actually saved the file as your path. – Jorge Castro Aug 4 '12 at 0:48

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.