Borrar filtros
Borrar filtros

Silent mode instalation of my matlab program does not work

3 visualizaciones (últimos 30 días)
Stepan Subik
Stepan Subik el 23 de Mzo. de 2020
Comentada: el 7 de Oct. de 2023
Hi,
I am still wondering how to run my Matlab program on a distant Linux machine that has no Matlab installed. I did a linux compilation on my laptop with the Matlab Runtime included in it. I ended up with 3 folders and 1 file (Test.prj). In the first folder is MyAppInstaller_mcr.install, the second contains: readme.txt, run_Test.sh, splash.png and Test. Third has mccExcludedFiles.log, readme.txt, requiredMCRProducts.txt, run_Test.sh, splash.png, Test.
I have tried everything:
  1. ./run_Test.sh - that needs the deployedMCRroot. As I wrote, the MCR is not
  2. ./Test - error while loading shared libraries: libmwlaunchermain.so: cannot open shared object file: No such file or directory
  3. sudo ./MyAppInstaller_mcr.install -mode silent -agreeToLicence yes - with result:
Installing ...
(Mar 23, 2020 14:58:29) ##################################################################
(Mar 23, 2020 14:58:29) #
(Mar 23, 2020 14:58:29) # Today's Date:
(Mar 23, 2020 14:58:29) Mon Mar 23 14:58:28 CET 2020
(Mar 23, 2020 14:58:29)
(Mar 23, 2020 14:58:29) System Info
(Mar 23, 2020 14:58:29) OS: Linux 2.6.32-279.el6.x86_64
(Mar 23, 2020 14:58:29) Arch: amd64
(Mar 23, 2020 14:58:29) Data Model: 64
(Mar 23, 2020 14:58:29) Language: en
(Mar 23, 2020 14:58:29) Java Vendor: Oracle Corporation
(Mar 23, 2020 14:58:29) Java Home: /tmp/mw7VobyA/sys/java/jre/glnxa64/jre
(Mar 23, 2020 14:58:29) Java Version: 1.8.0_202
(Mar 23, 2020 14:58:29) Java VM Name: Java HotSpot(TM) 64-Bit Server VM
(Mar 23, 2020 14:58:29) Java Class Path: /tmp/mw7VobyA/java/config/installagent/pathlist.jar
(Mar 23, 2020 14:58:29) User Name: root
(Mar 23, 2020 14:58:29) Current Directory: /home/subik/Test/for_redistribution
(Mar 23, 2020 14:58:29) Input arguments:
(Mar 23, 2020 14:58:29) root /tmp/mw7VobyA
(Mar 23, 2020 14:58:29) libdir /tmp/mw7VobyA
(Mar 23, 2020 14:58:29) installbundle /tmp/mw7VobyA/bundle.zip
(Mar 23, 2020 14:58:29) mode silent
(Mar 23, 2020 14:58:29) agreeToLicence yes
(Mar 23, 2020 14:58:29) standalone true
(Mar 23, 2020 14:58:29) connectionMode OFFLINE_ONLY
(Mar 23, 2020 14:58:30) Starting local product/component search in download directory
(Mar 23, 2020 14:58:30) Searching for archives...
(Mar 23, 2020 14:58:30) Reading /tmp/mw7VobyA/archives
(Mar 23, 2020 14:58:30) Assembling product list...
(Mar 23, 2020 14:58:30) 459 files found in /tmp/mw7VobyA/archives
(Mar 23, 2020 14:58:30) Reading /tmp/mw7VobyA
(Mar 23, 2020 14:58:30) 11 files found in /tmp/mw7VobyA
(Mar 23, 2020 14:58:30) Archive search complete. 470 total files found.
(Mar 23, 2020 14:58:31) Completed local product/component search
(Mar 23, 2020 14:58:31) Target update level: 0
(Mar 23, 2020 14:58:31) ##################################################################
(Mar 23, 2020 14:58:31) #
(Mar 23, 2020 14:58:31) # Today's Date:
(Mar 23, 2020 14:58:31) Mon Mar 23 14:58:31 CET 2020
(Mar 23, 2020 14:58:31)
(Mar 23, 2020 14:58:31) System Info
(Mar 23, 2020 14:58:31) OS: Linux 2.6.32-279.el6.x86_64
(Mar 23, 2020 14:58:31) Arch: amd64
(Mar 23, 2020 14:58:31) Data Model: 64
(Mar 23, 2020 14:58:31) Language: en
(Mar 23, 2020 14:58:31) Java Vendor: Oracle Corporation
(Mar 23, 2020 14:58:31) Java Home: /tmp/mw7VobyA/sys/java/jre/glnxa64/jre
(Mar 23, 2020 14:58:31) Java Version: 1.8.0_202
(Mar 23, 2020 14:58:31) Java VM Name: Java HotSpot(TM) 64-Bit Server VM
(Mar 23, 2020 14:58:31) Java Class Path: /tmp/mw7VobyA/java/config/installagent/pathlist.jar
(Mar 23, 2020 14:58:31) User Name: root
(Mar 23, 2020 14:58:31) Current Directory: /home/subik/Test/for_redistribution
(Mar 23, 2020 14:58:31) Target update level: 0
(Mar 23, 2020 14:58:31) ##################################################################
(Mar 23, 2020 14:58:31) #
(Mar 23, 2020 14:58:31) # Today's Date:
(Mar 23, 2020 14:58:31) Mon Mar 23 14:58:31 CET 2020
(Mar 23, 2020 14:58:31)
(Mar 23, 2020 14:58:31) System Info
(Mar 23, 2020 14:58:31) OS: Linux 2.6.32-279.el6.x86_64
(Mar 23, 2020 14:58:31) Arch: amd64
(Mar 23, 2020 14:58:31) Data Model: 64
(Mar 23, 2020 14:58:31) Language: en
(Mar 23, 2020 14:58:31) Java Vendor: Oracle Corporation
(Mar 23, 2020 14:58:31) Java Home: /tmp/mw7VobyA/sys/java/jre/glnxa64/jre
(Mar 23, 2020 14:58:31) Java Version: 1.8.0_202
(Mar 23, 2020 14:58:31) Java VM Name: Java HotSpot(TM) 64-Bit Server VM
(Mar 23, 2020 14:58:31) Java Class Path: /tmp/mw7VobyA/java/config/installagent/pathlist.jar
(Mar 23, 2020 14:58:31) User Name: root
(Mar 23, 2020 14:58:31) Current Directory: /home/subik/Test/for_redistribution
(Mar 23, 2020 14:58:31) When running the installer with an input file, you must accept the license agreement by setting the agreeToLicense option to yes.
(Mar 23, 2020 14:58:31) Exiting with status -2
(Mar 23, 2020 14:58:31) End - Unsuccessful.
Finished
None of the options are working. Am I missing something or it is impossible to run Matlab on a linux with no matlab installed?

Respuestas (0)

Categorías

Más información sobre Introduction to Installation and Licensing en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by