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*
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.
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.
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.
Ran alien -r Manager.deb which produced manager-accounting-14.10.4-2.noarch.rpm
Ran rpmrebuild -pe manager-accounting-14.10.4-2.noarch.rpm (opens editor showing RPM “makefile” equivilent).
Edited file to remove directories which already existed (got conflicts initially with filesystem package)
Saved file produced which then subsequently produced new rpm (in ~/rpmbuild).
Ran yum install ~/rpmbuild/manager-accounting-14.10.4-2.noarch.rpm
Edited group permissions on install directory so I was in a group with execute permissions (sudo chgrp -R users /opt/manager-accounting/).
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).
Linked /usr/bin/mono to /usr/bin/cli (sudo ln -sf /usr/bin/mono /usr/bin/cli)
Ran executeable (/opt/manager-accounting/manager-accounting), Got the error I posted initially.
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.
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.
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?