DESKTOP EDITION CLOUD EDITION SERVER EDITION GUIDES FORUM

Running Manager on Fedora Linux (20/Heisenberg)


#1

I managed to convert the Manager .deb file to an rpm using alien, and then edit out some errors related to filesystem/directory creation using repmrebuild. After getting the RPM to install I found I had to install mono packages which were dependencies to get the application to work, and then link the /usr/bin/mono file to /usr/bin/cli (all done to get to this stage).

I’m now able to run the manager-accouting executable, however I’m now presented with what looks like an error with assembly referencing (see pasted error information below).

Has anyone managed to get Mono working under Fedora Linux? If so, did you get the issue below?

Thanks,

*Eto.HandlerInvalidException: type Eto.Forms.IWebView could not be found in this generator
  at Eto.Generator.CreateHandler (System.Type type, Eto.Widget widget) [0x00000] in <filename unknown>:0 
  at Eto.Widget..ctor (Eto.Generator generator, System.Type type, Boolean initialize) [0x00000] in <filename unknown>:0 
  at Eto.InstanceWidget..ctor (Eto.Generator generator, System.Type handlerType, Boolean initialize) [0x00000] in <filename unknown>:0 
  at Eto.Forms.Control..ctor (Eto.Generator generator, System.Type type, Boolean initialize) [0x00000] in <filename unknown>:0 
  at Eto.Forms.WebView..ctor (Eto.Generator generator, System.Type type, Boolean initialize) [0x00000] in <filename unknown>:0 
  at Eto.Forms.WebView..ctor (Eto.Generator generator) [0x00000] in <filename unknown>:0 
  at Eto.Forms.WebView..ctor () [0x00000] in <filename unknown>:0 
  at Manager.Form+<>c__DisplayClass18.<CreateMainForm>b__d (System.Object param0, System.EventArgs param1) [0x00000] in <filename unknown>:0 
  at Eto.Forms.Control.OnLoadComplete (System.EventArgs e) [0x00000] in <filename unknown>:0 
  at Eto.Forms.Container.OnLoadComplete (System.EventArgs e) [0x00000] in <filename unknown>:0 
  at Eto.Forms.Form.Show () [0x00000] in <filename unknown>:0 
  at Manager.Form+<>c__DisplayClass3.<Show>b__1 (System.Object param0, System.EventArgs param1) [0x00000] in <filename unknown>:0 
  at Eto.Forms.Application.OnInitialized (System.EventArgs e) [0x00000] in <filename unknown>:0 
  at Eto.Platform.GtkSharp.ApplicationHandler.Run (System.String[] args) [0x00000] in <filename unknown>:0 
  at Eto.Forms.Application.Run (System.String[] args) [0x00000] in <filename unknown>:0 
  at Manager.Form.Show () [0x00000] in <filename unknown>:0 
  at Manager.Program.Main (System.String[] args) [0x00000] in <filename unknown>:0*

#2

I’m not familiar with RPM-based linux distributions as much but if you look into DEB control file, you will see Manager requires following dependencies

  • mono-runtime,
  • libmono-system-xaml4.0-cil,
  • libgtk2.0-cil-dev,
  • libwebkit1.1-cil,
  • libmono-system-web4.0-cil,
  • libmono-system-data-linq4.0-cil,
  • libmono-wcf3.0-cil | libmono-wcf3.0a-cil

The error message implies you are probably missing equivalent of libwebkit1.1-cil

Can you try install server edition on Fedora? Server edition doesn’t require libwebkit1.1-cil so if you can get server edition working, at least we know it is missing dependency problem.


#3

Actually I rebooted after posting this message, (and performing the steps I detailed)… then it all started working. Although I noticed the icon has changed from the red “M” to the default icon strangely enough.

I’m still Interested in knowing if anyone else has managed to get it working under Fedora.


#4

Glad to hear that. You might be actually the first one to get desktop edition working on Fedora since it required some major technical knowledge.

I will be looking into RPM soon to make it easier to install for less technical audience. There have been requests to provide RPM package.

Which dependencies have you installed on Fedora to get Manager working? I suspect names of dependencies will be different from those available on Ubuntu.


What is the latest on getting an rpm package?
#5

So the steps I took are as follows:

  1. Downloaded .deb file
  2. Ran alien -r Manager.deb which produced manager-accounting-14.10.4-2.noarch.rpm
  3. Ran rpmrebuild -pe manager-accounting-14.10.4-2.noarch.rpm (opens editor showing RPM “makefile” equivilent).
  4. Edited file to remove directories which already existed (got conflicts initially with filesystem package)
  5. Saved file produced which then subsequently produced new rpm (in ~/rpmbuild).
  6. Ran yum install ~/rpmbuild/manager-accounting-14.10.4-2.noarch.rpm
  7. Edited group permissions on install directory so I was in a group with execute permissions (sudo chgrp -R users /opt/manager-accounting/).
  8. Installed package list at the bottom of this post (these are the only dependancies I knew were missing, but I’ve got alot of developer packages installed already on my system so there may be more on “vanilla” Fedora installs).
  9. Linked /usr/bin/mono to /usr/bin/cli (sudo ln -sf /usr/bin/mono /usr/bin/cli)
  10. Ran executeable (/opt/manager-accounting/manager-accounting), Got the error I posted initially.
  11. Rebooted, logged back in, ran application again… bingo! It works!

Hope that helps, a native RPM would definately be useful, especially if it could get added to the official repositories so people can install it via yum.

Thanks,

–Owen.

Packages Altered:
Dep-Install ColPack-1.0.9-3.fc20.x86_64 @updates
Dep-Install NLopt-2.4.2-2.fc20.x86_64 @updates
Dep-Install arpack-3.1.3-1.fc20.x86_64 @fedora
Dep-Install arprec-2.2.17-1.fc20.x86_64 @updates
Dep-Install atlas-3.8.4-11.fc20.x86_64 @updates
Dep-Install glpk-4.52.1-2.fc20.x86_64 @fedora
Dep-Install gpm-libs-1.20.7-3.fc20.x86_64 @fedora
Dep-Install hdf5-1.8.11-6.fc20.x86_64 @fedora
Dep-Install libgfortran-4.8.3-7.fc20.x86_64 @updates
Dep-Install libquadmath-4.8.3-7.fc20.x86_64 @updates
Dep-Install links-1:2.6-6.fc20.x86_64 @fedora
Install mono-addins-0.6.2-8.fc20.x86_64 @fedora
Install mono-debugger-debuginfo-2.10-7.fc20.x86_64 @fedora-debuginfo
Install mono-mvc-devel-2.10.8-5.fc20.x86_64 @fedora
Install mono-reflection-0.1-0.7.20110613git304d1d.fc20.x86_64 @fedora
Install mono-shogun-3.2.0.1-0.10.git20140313.9b6dcd2.fc20.x86_64 @updates
Install mono-tools-2.10-9.fc20.x86_64 @fedora
Install mono-zeroconf-0.9.0-10.fc20.x86_64 @fedora
Dep-Install qscintilla-2.7.2-2.fc20.x86_64 @fedora
Dep-Install qwt5-qt4-5.2.2-23.fc20.x86_64 @fedora
Install qyoto-4.14.1-1.fc20.x86_64 @updates
Dep-Install shogun-3.2.0.1-0.10.git20140313.9b6dcd2.fc20.x86_64 @updates
Dep-Install smokegen-4.14.1-1.fc20.x86_64 @updates
Dep-Install smokeqt-4.14.1-1.fc20.x86_64 @updates
Dep-Install snappy-1.1.0-2.fc20.x86_64 @fedora
Dep-Install webkit-sharp-0.3-11.fc20.x86_64 @fedora


#6

Thanks, this is really helpful.


#7

Any news on an RPM? I am using OpenSUSE (Ubuntu did support my hardware) and Windows. Recently lost windows hardware and would like to use Manager on OpenSUSE. Previous attempts to install DEB files by me have not went well. A ready to go RPM would be best for me.

Regards,

DC


#8

Just wanted to add that I get a similar error message as posted by obr on 1Oct '14 with regard to Eto forms in my attempts to run desktop version of Manager in Puppy linux (latest try is in Tahr Pup). Can’t find Gtk Sharp libraries even though I installed Mono complete. Rebooting after installation didn’t help. I would love to get this working. Anyone out there with any interest in this?