Can't install XMind: Zen .rpm

Hello, I’m new to openSuse! Need a little help.

I tried to install XMind ZEN by downloading .rpm file. Then installing it with Yast.
Got the following error (check 1st picture): https://imgur.com/a/SJJr7l5

libappindicator needed by xmind-vana-9.0.6-1.x86_64

I tried find and install the libappindicator, but my system didn’t find it.
Check 2nd picture: https://imgur.com/a/SJJr7l5

How can I resolve this?

Hi and welcome to the Forum :slight_smile:
If you ignore the error I think you will find it works, else download the later version…

The libappindicator package

https://software.opensuse.org/package/libappindicator

TSU

Hi
It’s available in the release, for the newer version it doesn’t use it. I think the OP is running an older version which is free and based on the Deb/Ub* version. It could also just need the appindicator typelib installed, or wanting version 1.0 and not version 3.0 which is the default, running ldd on the binary in /opt will confirm.

I’m a bit reluctant to ignore the error, since maybe its something this software needs to work without issues. I want fully functionaly software, if possible.
“download later version” - not sure I understand; I downloaded .rpm from original software vendor homepage.

I tried that nothing changed. It’s like it didn’t install or something.

Is it a package, if it is I dont find it in Yast. Or I don’t know how to find it.

…or wanting version 1.0 and not version 3.0 which is the default…

Correct me if I’m wrong, the software is asking for older package for some reason, even though my system has newer package (libappindicator3-1) which should work better than previous version (libappindicator) ?

…running ldd on the binary in /opt will confirm.

No idea what that means.

Update!

Got a reply from XMind team:

Hi, for Linux system, we still on test, I suggest you download XMind 8 on your Linux system.
Download - Xmind - Mind Mapping App


I tried open setup.sh it asked me if I want Open or Execute. I choose execute. Nothing happened.

Do I need to do something via terminal or what?

As far I understand I don’t need install anything if I don’t need it. I just can launch executable.
Which is what I tried. But got error:
https://i.imgur.com/JUC3KtF.png

!SESSION 2019-07-29 12:00:18.095 -----------------------------------------------
eclipse.buildId=R3.7.8.201807240049
java.version=11.0.3
java.vendor=Oracle Corporation
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Framework arguments:  -eclipse.keyring @user.home/.xmind/secure_storage_linux
Command-line arguments:  -os linux -ws gtk -arch x86_64 -data ../workspace -eclipse.keyring @user.home/.xmind/secure_storage_linux

!ENTRY org.xmind.cathy 1 0 2019-07-29 12:00:21.464
!MESSAGE Skip unrecognized command line argument: '-eclipse.keyring'

!ENTRY org.xmind.cathy 1 0 2019-07-29 12:00:21.465
!MESSAGE Skip unrecognized command line argument: '@user.home/.xmind/secure_storage_linux'

!ENTRY org.eclipse.osgi.compatibility.state.nl_ja 2 0 2019-07-29 12:00:21.663
!MESSAGE Could not resolve module: org.eclipse.osgi.compatibility.state.nl_ja [845]
  Unresolved requirement: Fragment-Host: org.eclipse.osgi.compatibility.state
  Unresolved requirement: Fragment-Host: org.eclipse.osgi.compatibility.state


!ENTRY org.eclipse.osgi.compatibility.state.nl_zh 2 0 2019-07-29 12:00:21.663
!MESSAGE Could not resolve module: org.eclipse.osgi.compatibility.state.nl_zh [850]
  Unresolved requirement: Fragment-Host: org.eclipse.osgi.compatibility.state
  Unresolved requirement: Fragment-Host: org.eclipse.osgi.compatibility.state


!ENTRY org.eclipse.osgi.compatibility.state.nl_da 2 0 2019-07-29 12:00:21.664
!MESSAGE Could not resolve module: org.eclipse.osgi.compatibility.state.nl_da [840]
  Unresolved requirement: Fragment-Host: org.eclipse.osgi.compatibility.state
  Unresolved requirement: Fragment-Host: org.eclipse.osgi.compatibility.state


!ENTRY org.eclipse.osgi.compatibility.state.nl_fr 2 0 2019-07-29 12:00:21.664
!MESSAGE Could not resolve module: org.eclipse.osgi.compatibility.state.nl_fr [843]
  Unresolved requirement: Fragment-Host: org.eclipse.osgi.compatibility.state
  Unresolved requirement: Fragment-Host: org.eclipse.osgi.compatibility.state


!ENTRY org.eclipse.osgi.compatibility.state.nl_de 2 0 2019-07-29 12:00:21.665
!MESSAGE Could not resolve module: org.eclipse.osgi.compatibility.state.nl_de [841]
  Unresolved requirement: Fragment-Host: org.eclipse.osgi.compatibility.state
  Unresolved requirement: Fragment-Host: org.eclipse.osgi.compatibility.state


!ENTRY org.eclipse.osgi.compatibility.state.nl_ko 2 0 2019-07-29 12:00:21.665
!MESSAGE Could not resolve module: org.eclipse.osgi.compatibility.state.nl_ko [846]
  Unresolved requirement: Fragment-Host: org.eclipse.osgi.compatibility.state
  Unresolved requirement: Fragment-Host: org.eclipse.osgi.compatibility.state


!ENTRY org.eclipse.osgi.compatibility.state.nl_ar 2 0 2019-07-29 12:00:21.665
!MESSAGE Could not resolve module: org.eclipse.osgi.compatibility.state.nl_ar [839]
  Unresolved requirement: Fragment-Host: org.eclipse.osgi.compatibility.state
  Unresolved requirement: Fragment-Host: org.eclipse.osgi.compatibility.state


!ENTRY org.eclipse.osgi.compatibility.state.nl_pt_BR 2 0 2019-07-29 12:00:21.665
!MESSAGE Could not resolve module: org.eclipse.osgi.compatibility.state.nl_pt_BR [847]
  Unresolved requirement: Fragment-Host: org.eclipse.osgi.compatibility.state
  Unresolved requirement: Fragment-Host: org.eclipse.osgi.compatibility.state


!ENTRY org.eclipse.osgi.compatibility.state.nl_zh_TW 2 0 2019-07-29 12:00:21.666
!MESSAGE Could not resolve module: org.eclipse.osgi.compatibility.state.nl_zh_TW [851]
  Unresolved requirement: Fragment-Host: org.eclipse.osgi.compatibility.state
  Unresolved requirement: Fragment-Host: org.eclipse.osgi.compatibility.state


!ENTRY org.eclipse.osgi.compatibility.state.nl_ru 2 0 2019-07-29 12:00:21.666
!MESSAGE Could not resolve module: org.eclipse.osgi.compatibility.state.nl_ru [848]
  Unresolved requirement: Fragment-Host: org.eclipse.osgi.compatibility.state
  Unresolved requirement: Fragment-Host: org.eclipse.osgi.compatibility.state


!ENTRY org.eclipse.osgi.compatibility.state.nl_es 2 0 2019-07-29 12:00:21.666
!MESSAGE Could not resolve module: org.eclipse.osgi.compatibility.state.nl_es [842]
  Unresolved requirement: Fragment-Host: org.eclipse.osgi.compatibility.state
  Unresolved requirement: Fragment-Host: org.eclipse.osgi.compatibility.state


!ENTRY org.eclipse.osgi.compatibility.state.nl_sl 2 0 2019-07-29 12:00:21.667
!MESSAGE Could not resolve module: org.eclipse.osgi.compatibility.state.nl_sl [849]
  Unresolved requirement: Fragment-Host: org.eclipse.osgi.compatibility.state
  Unresolved requirement: Fragment-Host: org.eclipse.osgi.compatibility.state


!ENTRY org.eclipse.osgi.compatibility.state.nl_it 2 0 2019-07-29 12:00:21.667
!MESSAGE Could not resolve module: org.eclipse.osgi.compatibility.state.nl_it [844]
  Unresolved requirement: Fragment-Host: org.eclipse.osgi.compatibility.state
  Unresolved requirement: Fragment-Host: org.eclipse.osgi.compatibility.state


!ENTRY org.eclipse.osgi 4 0 2019-07-29 12:00:21.672
!MESSAGE Application error
!STACK 1
org.eclipse.e4.core.di.InjectionException: java.lang.NoClassDefFoundError: javax/annotation/PostConstruct
	at org.eclipse.e4.core.internal.di.InjectorImpl.internalMake(InjectorImpl.java:386)
	at org.eclipse.e4.core.internal.di.InjectorImpl.make(InjectorImpl.java:294)
	at org.eclipse.e4.core.contexts.ContextInjectionFactory.make(ContextInjectionFactory.java:162)
	at org.eclipse.e4.ui.internal.workbench.swt.E4Application.createDefaultHeadlessContext(E4Application.java:490)
	at org.eclipse.e4.ui.internal.workbench.swt.E4Application.createDefaultContext(E4Application.java:504)
	at org.eclipse.e4.ui.internal.workbench.swt.E4Application.createE4Workbench(E4Application.java:203)
	at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:626)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:604)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:148)
	at org.xmind.cathy.internal.CathyApplication.start(CathyApplication.java:137)
	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:673)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:610)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1519)
	at org.eclipse.equinox.launcher.Main.main(Main.java:1492)
Caused by: java.lang.NoClassDefFoundError: javax/annotation/PostConstruct
	at org.eclipse.e4.core.internal.di.InjectorImpl.inject(InjectorImpl.java:151)
	at org.eclipse.e4.core.internal.di.InjectorImpl.internalMake(InjectorImpl.java:375)
	... 23 more
Caused by: java.lang.ClassNotFoundException: javax.annotation.PostConstruct cannot be found by org.eclipse.e4.core.di_1.6.0.v20160319-0612
	at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:398)
	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:361)
	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:353)
	at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:161)
	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
	... 25 more

!ENTRY org.eclipse.e4.ui.workbench 4 0 2019-07-29 12:00:21.684
!MESSAGE FrameworkEvent ERROR
!STACK 0
java.lang.NoClassDefFoundError: javax/annotation/PreDestroy
	at org.eclipse.e4.core.internal.di.InjectorImpl.disposed(InjectorImpl.java:426)
	at org.eclipse.e4.core.internal.di.Requestor.disposed(Requestor.java:154)
	at org.eclipse.e4.core.internal.contexts.ContextObjectSupplier$ContextInjectionListener.update(ContextObjectSupplier.java:78)
	at org.eclipse.e4.core.internal.contexts.TrackableComputationExt.update(TrackableComputationExt.java:111)
	at org.eclipse.e4.core.internal.contexts.TrackableComputationExt.handleInvalid(TrackableComputationExt.java:74)
	at org.eclipse.e4.core.internal.contexts.EclipseContext.dispose(EclipseContext.java:176)
	at org.eclipse.e4.core.internal.contexts.osgi.EclipseContextOSGi.dispose(EclipseContextOSGi.java:106)
	at org.eclipse.e4.core.internal.contexts.osgi.EclipseContextOSGi.bundleChanged(EclipseContextOSGi.java:139)
	at org.eclipse.osgi.internal.framework.BundleContextImpl.dispatchEvent(BundleContextImpl.java:903)
	at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
	at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
	at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEventPrivileged(EquinoxEventPublisher.java:213)
	at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEvent(EquinoxEventPublisher.java:120)
	at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEvent(EquinoxEventPublisher.java:112)
	at org.eclipse.osgi.internal.framework.EquinoxContainerAdaptor.publishModuleEvent(EquinoxContainerAdaptor.java:156)
	at org.eclipse.osgi.container.Module.publishEvent(Module.java:476)
	at org.eclipse.osgi.container.Module.doStop(Module.java:634)
	at org.eclipse.osgi.container.Module.stop(Module.java:498)
	at org.eclipse.osgi.container.SystemModule.stop(SystemModule.java:191)
	at org.eclipse.osgi.internal.framework.EquinoxBundle$SystemBundle$EquinoxSystemModule$1.run(EquinoxBundle.java:165)
	at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: java.lang.ClassNotFoundException: javax.annotation.PreDestroy cannot be found by org.eclipse.e4.core.di_1.6.0.v20160319-0612
	at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:398)
	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:361)
	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:353)
	at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:161)
	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
	... 21 more

Any guidance would be appreciated!

Hi
Download the main package, not the update. AFAIK the update is run after install of the main package to update it.

They probably should name that .zip file something else to avoid confusion.

Anyway, I downloaded what was available in homepage

For Windows and Linux users, XMind even offers a special package - XMind Portable version, which is a zip file. After unzipping it to a clear folder, you can directly launch XMind from this folder without installation.

This is what I got.

But I cannot get it to launch. Getting error:

P.S. What is the syntax if i want to resize above image a bit?

And all that data from /home/juris/Downloads/xmind-8-update8-linux/workspace/.metadata/.log file is gibberish to me.

So can anybody help me a bit to resolve this?

Regarding what has been posted…

When you see a “setup.sh” that is intended to be executed from within a console/terminal, you cannot simply click on it to execute from within a graphical File Manager.

When an application is available to be downloaded in various forms, a “portable” version means the app and its various pieces won’t be installed in standard locations on your system, instead typically everything is installed in a single directory tree. In theory, this allows the entire directory tree to be "portable,"which can be copied in its entirety from one place to another and it will “just work.” You can’t simply copy files from one place to another in a standard installation and expect the app to work.

Especially if you have a “portable” install, it’s very possible you can simply click on the application executable and it will “just work” without a proper installation because once you’ve extracted a portable install, the files and directory tree are all ready to work immediately. But, a finished install may also copy the contents to a specified location for your convenience only.

The errors you’re seeing are build errors which is a sign that either you didn’t download the correct package or the download has requirements you haven’t satisfied, most likely including a compiler for the language the code is written in.

If you want to post a large logfile for inspection, upload it to a pastebin like www.pastebin.com or paste.opensuse.org, then post the URL for your paste in a Forum post.

HTH,
TSU

First of all, tsu2:
Thanks for your detailed post!
Great explanation.

OK, this is what I tried:

juris@linux-5m2u:~/Downloads/xmind-8-update8-linux> sudo ./setup.sh
[sudo] password for root: 
[setup] Installing dependencies....
Loading repository data...
Reading installed packages...
'libc6' not found in package names. Trying capabilities.
No provider of 'libc6' found.
'libglib2.0-0' not found in package names. Trying capabilities.
No provider of 'libglib2.0-0' found.
'libgtk2.0-0' not found in package names. Trying capabilities.
No provider of 'libgtk2.0-0' found.
'libwebkitgtk-1.0-0' not found in package names. Trying capabilities.
No provider of 'libwebkitgtk-1.0-0' found.
'openjdk-8-jre' not found in package names. Trying capabilities.
No provider of 'openjdk-8-jre' found.
juris@linux-5m2u:~/Downloads/xmind-8-update8-linux> 

A. "‘libc6’ not found in package names."

Is it even the right package?

B. “libglib2.0-0’ not found in package names.”
Yast: Have.

C. “libgtk2.0-0’ not found in package names.”
Yast: Have (libgtk-2_0-0 as well libgtk-3-0).

D. “libwebkitgtk-1.0-0’ not found in package names.”

E. “‘openjdk-8-jre’ not found in package names.”

  • Yast: No results. But I have java-11-openjdk though.
  • openSuse Sofware: openjdk-8-jre

Also additional info from XMind Help section:

Linux users should meet below requirements,

  • GTK.
  • Some features need lame.
  • Only Sun JRE/OpenJDK/IBM JRE/BEA JRockit are supported. Don’t use unsupported JVM.

What should I do now?

The application install is written somewhat poorly when its manifest references dependencies by package names and not files. When package names are referenced, the install will work only with a specific package management system, and packages from a specific repository.

So,
For instance a quick Google search for “libc6” confirms the package name is used in a Debian Jessie system.
Therefor, what you downloaded is unusable on anything other than Debian,
You need to look for an install download for Fedora or openSUSE (both use packages named similarly),
Or, look for a TAR download that works on any distro.
On some installs, if the errors can be overridden, you can try to find the openSUSE equivalent of the Debian package names, and if you’ve identified and installed your dependencies correctly, a build might succeed (Apparently your app will compile on your machine).

You’re making progress, if you can’t find the right download on your own you may need to ask the Project (or their support) for assistance.

TSU

Hi
Not sure why your trying an update route? Just install the rpm?


zypper in XMind-ZEN-for-Linux-64bit.rpm


Problem: nothing provides libappindicator needed by xmind-vana-9.0.6-1.x86_64
 Solution 1: do not install xmind-vana-9.0.6-1.x86_64
 Solution 2: break xmind-vana-9.0.6-1.x86_64 by ignoring some of its dependencies

Choose from above solutions by number or cancel [1/2/c] (c): 2
Resolving dependencies...
Resolving package dependencies...

The following 2 NEW packages are going to be installed:
  libnotify-tools xmind-vana

2 new packages to install.
Overall download size: 57.6 MiB. Already cached: 0 B. After the operation, additional 254.9 MiB will be used.
Continue? [y/n/v/...? shows all options] (y): y
Retrieving package libnotify-tools-0.7.7-lp151.3.2.x86_64                                                                                                 (1/2),  15.7 KiB ( 14.5 KiB unpacked)
Retrieving: libnotify-tools-0.7.7-lp151.3.2.x86_64.rpm .....................................................................................................................[done (17.2 KiB/s)]
Retrieving package xmind-vana-9.0.6-1.x86_64                                                                                                              (2/2),  57.6 MiB (254.9 MiB unpacked)
XMind-ZEN-for-Linux-64bit.rpm:
    Package is not signed!

xmind-vana-9.0.6-1.x86_64 (Plain RPM files cache): Signature verification failed [6-File is unsigned]
Abort, retry, ignore? [a/r/i] (a): i
Checking for file conflicts: ............................................................................................................................................................[done]
(1/2) Installing: libnotify-tools-0.7.7-lp151.3.2.x86_64 ................................................................................................................................[done]
(2/2) Installing: xmind-vana-9.0.6-1.x86_64 .............................................................................................................................................[done]

Screenshot from 2019-07-31 15-20-14.jpg

From #1 post:

How can I resize this? No code for resizing provided: https://forums.opensuse.org/misc.php?do=bbcode

I didn’t want ignore this error. Error means something is wrong. Before I ignored it and tried install anyway, wanted to know is it the right thing to do, since I’m new to openSUSE and linux in general.

As for “Not sure why your trying an update route?”
Meanwhile I got response from XMind support, that I should go for other version XMind 8 aka what you called “update route”.
So I immediately tried to get working XMind 8 and disregarded XMind ZEN.

Got it. This is what I was trying do in my first post. Just noone really explained why should I ignore the error.

So I did go: “2: break xmind-vana-9.0.6-1.x86_64 by ignoring some of its dependencies” and the software installed successfully. :slight_smile: Let’s see if everything works smoothly later on.

I’m still not sure about all that dependency error thing: should I just blindly ignore all these type of errors when installing software on my system? And only investigate in more detail if something not working?

OR isn’t a better way to investigate that dependency issue before installing something and make a educated guess how to proceed after getting some more info: “ok I think this is error shouldn’t give me much problems; we can safely try ignore these particular depencies for X, Y, Z reasons”
Its just that I’m a newbie in openSUSE and I dont know how to investigate these type things yet.

Hi
In this particular case, yes. Likely packaged to look for appindicator rather than a version which is how openSUSE packages it. I’m not sure it’s even needed as it’s not in the ldd output;


ldd /usr/local/bin/XMind