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

1 view (last 30 days)
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)'

Answers (1)

Gyan Vaibhav
Gyan Vaibhav on 6 Mar 2024
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

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Products


Release

R2023b

Community Treasure Hunt

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

Start Hunting!