- Try installing with administrative privileges (sudo in Linux).
- Redownload the installer from the official Matlab download page and follow the official installation guide. https://www.mathworks.com/help/install/ug/install-products-with-internet-connection.html
- If you continue to have problems, contact Mathworks Technical Support here https://www.mathworks.com/support/contact_us.html
When installing the latest matlab version on linux I have errors in makebinary executable (), how can I fix this?
1 次查看(过去 30 天)
显示 更早的评论
I have the following problem when installing matlab:
> Make binaries executable Warning: Failed to make /home/jufer/Apps/Raven/RAVEN/software/blast+/blastp executable:
/bin/bash: -c: line 1: syntax error near unexpected token `('
/bin/bash: -c: line 1: `chmod +x
"/home/jufer/Apps/Raven/RAVEN/software/blast+/blastp".(mexa64|mexglx|mexmaci64|mac|bat)'
> In checkInstallation>makeBinaryExecutable (line 338)
In checkInstallation (line 107)
Warning: Failed to make /home/jufer/Apps/Raven/RAVEN/software/blast+/makeblastdb
executable: /bin/bash: -c: line 1: syntax error near unexpected token `('
/bin/bash: -c: line 1: `chmod +x
"/home/jufer/Apps/Raven/RAVEN/software/blast+/makeblastdb".(mexa64|mexglx|mexmaci64|mac|bat)'
> In checkInstallation>makeBinaryExecutable (line 338)
In checkInstallation (line 107)
Warning: Failed to make /home/jufer/Apps/Raven/RAVEN/software/cd-hit/cd-hit executable:
/bin/bash: -c: line 1: syntax error near unexpected token `('
/bin/bash: -c: line 1: `chmod +x
"/home/jufer/Apps/Raven/RAVEN/software/cd-hit/cd-hit".(mexa64|mexglx|mexmaci64|mac|bat)'
> In checkInstallation>makeBinaryExecutable (line 338)
In checkInstallation (line 107)
Warning: Failed to make /home/jufer/Apps/Raven/RAVEN/software/diamond/diamond
executable: /bin/bash: -c: line 1: syntax error near unexpected token `('
/bin/bash: -c: line 1: `chmod +x
"/home/jufer/Apps/Raven/RAVEN/software/diamond/diamond".(mexa64|mexglx|mexmaci64|mac|bat)'
> In checkInstallation>makeBinaryExecutable (line 338)
In checkInstallation (line 107)
Warning: Failed to make /home/jufer/Apps/Raven/RAVEN/software/hmmer/hmmbuild executable:
/bin/bash: -c: line 1: syntax error near unexpected token `('
/bin/bash: -c: line 1: `chmod +x
"/home/jufer/Apps/Raven/RAVEN/software/hmmer/hmmbuild".(mexa64|mexglx|mexmaci64|mac|bat)'
0 个评论
回答(1 个)
Gyan Vaibhav
2024-3-6
Hi Juan,
Looking from the terminal output, it seems that the installation script is trying to make the binaries executable ("chmod +x"). However, the error suggests that there is some invalid syntax in the script. This could be either due to you modified the script or was corrupted. If you could provide the steps you are following for installation, it would be more helpful for people here to diagnose.
In the meantime, here are a few things you can try:
Official download page: https://www.mathworks.com/downloads/
Hope this helps.
Thanks
Gyan
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!