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 Kommentare

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 am 10 Sep. 2015
Bearbeitet: Walter Roberson am 10 Sep. 2015
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 am 10 Sep. 2015
Bearbeitet: Max Lu am 10 Sep. 2015
I guess this would be easier to read. Thanks.

Melden Sie sich an, um zu kommentieren.

 Akzeptierte Antwort

Walter Roberson
Walter Roberson am 10 Sep. 2015

0 Stimmen

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 Kommentare

William Silva
William Silva am 11 Sep. 2015
Bearbeitet: William Silva am 11 Sep. 2015
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 am 11 Sep. 2015
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 am 11 Sep. 2015
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 am 28 Jun. 2021
I also have the same problem?
Do you solve this problem?
Please help.
Walter Roberson
Walter Roberson am 28 Jun. 2021
Naiem: which problem are you encountering? William's problem was different than the original problem.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by