InstallForMacOSX doesn't work

16 次查看(过去 30 天)
Hi, I'm using a Mac OS X Yosemite and when I double click to launch the installer (named InstallForMacOSX) for R2015b nothing happens. On the dock, an empty space briefly emerges as if an application is launching but then immediately disappears and nothing happens. And when I try to launch the Unix Executable File in the same folder (named install), it gives me the following:
/Users/maxlu/Desktop/matlab_R2015b_maci64/install ; exit;
Maxs-MacBook-Air:~ maxlu$ /Users/maxlu/Desktop/matlab_R2015b_maci64/install ; exit;
/Users/maxlu/Desktop/matlab_R2015b_maci64/install: line 158: awk: command not found
/Users/maxlu/Desktop/matlab_R2015b_maci64/install: line 330: dirname: command not found
/Users/maxlu/Desktop/matlab_R2015b_maci64/install: line 332: /bin/unknown/install_unix: No such file or directory
logout
[Process completed]
I get the same problem when I try to install matlab 2015a.
Does anyone have any idea what I should do?
Thanks!
  3 个评论
Max Lu
Max Lu 2015-9-10
编辑:Walter Roberson 2015-9-10
Hi, I got:
Maxs-MacBook-Air:~ maxlu$ which awk
-bash: which: command not found
Maxs-MacBook-Air:~ maxlu$ ls -l /usr/bin/awk
ls: /usr/bin/awk: No such file or directory
Maxs-MacBook-Air:~ maxlu$ which dirname
-bash: which: command not found
Maxs-MacBook-Air:~ maxlu$ ls -l /usr/bin/dirname
ls: /usr/bin/dirname: No such file or directory
Max Lu
Max Lu 2015-9-10
编辑:Max Lu 2015-9-10
I guess this would be easier to read. Thanks.

请先登录,再进行评论。

采纳的回答

Walter Roberson
Walter Roberson 2015-9-10
Your /usr/bin directory is not present. You may need to reinstall OS-X. At the very least, enter your TimeMachine Backup and restore the directory. If you do not have a TimeMachine backup (or equivalent) you will probably have to reinstall OS-X. Reinstalling OS-X would be safer: /usr/bin is a critical directory and if it is messed up there could be many other things messed up.
  5 个评论
Naiem Foysal
Naiem Foysal 2021-6-28
I also have the same problem?
Do you solve this problem?
Please help.
Walter Roberson
Walter Roberson 2021-6-28
Naiem: which problem are you encountering? William's problem was different than the original problem.

请先登录,再进行评论。

更多回答(0 个)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by