Installation error: com.google​.inject.Pr​ovisionExc​eption: Guice provision errors

4 次查看(过去 30 天)
This is my first time to install MATLAB to my debian system on VirtualBox. But it gives an error with the following log:
(Nov 12, 2012 00:52:13) ##################################################################
(Nov 12, 2012 00:52:13) #
(Nov 12, 2012 00:52:13) # Today's Date:
(Nov 12, 2012 00:52:13) Mon Nov 12 00:52:13 EET 2012
(Nov 12, 2012 00:52:13)
(Nov 12, 2012 00:52:13) System Info
(Nov 12, 2012 00:52:13) OS: Linux 3.2.0-4-amd64
(Nov 12, 2012 00:52:13) Arch: amd64
(Nov 12, 2012 00:52:13) Data Model: 64
(Nov 12, 2012 00:52:13) Language: en
(Nov 12, 2012 00:52:13) Java Vendor: Sun Microsystems Inc.
(Nov 12, 2012 00:52:13) Java Home: /tmp/mathworks_5638/sys/java/jre/glnxa64/jre
(Nov 12, 2012 00:52:13) Java Version: 1.6.0_17
(Nov 12, 2012 00:52:13) Java VM Name: Java HotSpot(TM) 64-Bit Server VM
(Nov 12, 2012 00:52:13) Java Class Path: .
(Nov 12, 2012 00:52:13) User Name: root
(Nov 12, 2012 00:52:13) Current Directory: /media/cdrom0
(Nov 12, 2012 00:52:13) Input arguments:
(Nov 12, 2012 00:52:13) root /media/cdrom0
(Nov 12, 2012 00:52:13) tmpdir /tmp/mathworks_5638
(Nov 12, 2012 00:52:13) standalone true
(Nov 12, 2012 00:52:14) com.google.inject.ProvisionException: Guice provision errors:
1) Error in custom provider, java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
at com.mathworks.installwizard.InstallerModule.provideIpConfig(InstallerModule.java:53)
while locating com.mathworks.instutil.system.HostIdProvider
for parameter 2 at com.mathworks.installwizard.workflow.InstallWorkflowFactoryImpl.(InstallWorkflowFactoryImpl.java:30)
while locating com.mathworks.installwizard.workflow.InstallWorkflowFactoryImpl
while locating com.mathworks.installwizard.workflow.InstallWorkflowFactory
at com.mathworks.installwizard.InstallerModule.provideWorkflow(InstallerModule.java:39)
while locating com.mathworks.wizard.Workflow
1 error
at com.google.inject.InjectorImpl$4.get(InjectorImpl.java:767)
at com.google.inject.InjectorImpl.getInstance(InjectorImpl.java:793)
at com.mathworks.wizard.WizardLauncher.startWizard(WizardLauncher.java:168)
at com.mathworks.wizard.WizardLauncher.start(WizardLauncher.java:75)
at com.mathworks.wizard.AbstractLauncher.launch(AbstractLauncher.java:27)
at com.mathworks.wizard.AbstractLauncher.launchStandalone(AbstractLauncher.java:18)
at com.mathworks.professionalinstaller.Launcher.main(Launcher.java:21)
Caused by: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
at com.google.inject.internal.ProviderMethod.get(ProviderMethod.java:106)
at com.google.inject.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:48)
at com.google.inject.SingleParameterInjector.inject(SingleParameterInjector.java:42)
at com.google.inject.SingleParameterInjector.getAll(SingleParameterInjector.java:66)
at com.google.inject.ConstructorInjector.construct(ConstructorInjector.java:84)
at com.google.inject.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:111)
at com.google.inject.FactoryProxy.get(FactoryProxy.java:56)
at com.google.inject.InjectorImpl$4$1.call(InjectorImpl.java:758)
at com.google.inject.InjectorImpl.callInContext(InjectorImpl.java:811)
at com.google.inject.InjectorImpl$4.get(InjectorImpl.java:754)
at com.google.inject.spi.ProviderLookup$1.get(ProviderLookup.java:89)
at com.google.inject.spi.ProviderLookup$1.get(ProviderLookup.java:89)
at com.google.inject.spi.ProviderLookup$1.get(ProviderLookup.java:89)
at com.google.inject.spi.ProviderLookup$1.get(ProviderLookup.java:89)
at com.google.inject.internal.ProviderMethod.get(ProviderMethod.java:95)
at com.google.inject.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:48)
at com.google.inject.InjectorImpl$4$1.call(InjectorImpl.java:758)
at com.google.inject.InjectorImpl.callInContext(InjectorImpl.java:804)
at com.google.inject.InjectorImpl$4.get(InjectorImpl.java:754)
... 6 more
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.google.inject.internal.ProviderMethod.get(ProviderMethod.java:101)
... 24 more
Caused by: com.mathworks.instutil.JNIException: java.lang.UnsatisfiedLinkError: /media/cdrom0/bin/glnxa64/libinstutil.so: /media/cdrom0/bin/glnxa64/libinstutil.so: failed to map segment from shared object: Operation not permitted
at com.mathworks.instutil.NativeUtility.loadNativeLibrary(NativeUtility.java:39)
at com.mathworks.instutil.NativeUtility.(NativeUtility.java:24)
at com.mathworks.instutil.system.HostIdProviderImpl.(HostIdProviderImpl.java:23)
at com.mathworks.installwizard.InstallerModule.provideIpConfig(InstallerModule.java:53)
... 29 more
Caused by: java.lang.UnsatisfiedLinkError: /media/cdrom0/bin/glnxa64/libinstutil.so: /media/cdrom0/bin/glnxa64/libinstutil.so: failed to map segment from shared object: Operation not permitted
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(Unknown Source)
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.load0(Unknown Source)
at java.lang.System.load(Unknown Source)
at com.mathworks.instutil.NativeUtility.loadNativeLibrary(NativeUtility.java:37)
... 32 more
(Nov 12, 2012 00:52:14) Error: The application encountered an unexpected error and needs to close. You may want to try re-installing your product(s). More information can be found at /tmp/mathworks_root.log
(Nov 12, 2012 00:52:15) Exiting with status -1
(Nov 12, 2012 00:52:15) End - Unsuccessful
Does anyone know how to get it through? Thank you!
  1 个评论
Walter Roberson
Walter Roberson 2012-11-11
编辑:Walter Roberson 2012-11-11
Is it the Student Version you are trying to install? The Student Version is for 32 bit Linux.
Are you installing as root? "Operation not permitted" often hints that you do not have enough privs.

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile 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!

Translated by