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 件のコメント

Walter Roberson
Walter Roberson 2015 年 9 月 10 日
At the terminal command line (/Applications/Utilities/Terminal.app ), please enter the following and tell us what the output is:
which awk
ls -l /usr/bin/awk
which dirname
ls -l /usr/bin/dirname
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 日

0 投票

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 件のコメント

William Silva
William Silva 2015 年 9 月 11 日
編集済み: William Silva 2015 年 9 月 11 日
I'm having the same issue where the InstallForMACOSX (2015b) does not open however I do have a /usr/bin directory. When I launch the installer I can see the following message in the Console:
9/11/15 10:15:33.534 AM Dock[1161]: no information back from LS about running process LSASN:{hi=0x0;lo=0x3dd3dd}
silvambp:~ willsilva$ which awk
/usr/local/bin/awk
silvambp:~ willsilva$ ls -l /usr/bin/awk
lrwxr-xr-x 1 root wheel 10 Aug 20 16:03 /usr/bin/awk -> which gawk
silvambp:~ willsilva$ which dirname
/usr/bin/dirname
silvambp:~ willsilva$ ls -l /usr/bin/dirname
-rwxr-xr-x 1 root wheel 14048 Sep 9 2014 /usr/bin/dirname
Walter Roberson
Walter Roberson 2015 年 9 月 11 日
This is a completely unrelated issue that should be in a Question of its own.
When I look for more information about that error message, the contexts I find it usually talk about there being permission problems with an executable, that they needed to chmod +x something to get whatever they were doing to run.
William Silva
William Silva 2015 年 9 月 11 日
Fair enough, I've created a new question here:
I've tried using chmod to give the installer app full executable permissions to no avail.
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