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

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개)

질문:

2015년 9월 10일

댓글:

2021년 6월 28일

Community Treasure Hunt

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

Start Hunting!

Translated by