When installing the latest matlab version on linux I have errors in makebinary executable (), how can I fix this?

2 次查看(过去 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)'

回答(1 个)

Gyan Vaibhav
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:
  1. Try installing with administrative privileges (sudo in Linux).
  2. 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
  3. If you continue to have problems, contact Mathworks Technical Support here https://www.mathworks.com/support/contact_us.html
Official download page: https://www.mathworks.com/downloads/
Hope this helps.
Thanks
Gyan

类别

Help CenterFile Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息

产品


版本

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by