-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
KeePass Plugins cannot be loaded #67
Comments
This exception occurs in an mcs process, apparently keepass is trying to compile C# code to create a .dll for the plugin. It seems we are missing this "isatty" function or we should be using a codepath that doesn't require it. |
This is the code that's failing: https://github.com/mono/mono/blob/master/mcs/mcs/support.cs#L206 We do have an "isatty" function in Wine's libc (well, msvcrt), I'm not sure why it isn't found in this case. |
Well, this was a hassle to find the actual error messages but:
They seem to be invoking mcs.exe directly from within wine-mono, which probably means they are using Microsoft.CSharp.CSharpCodeGenerator. So the question is, why can't mcs.exe find libraries to link to when invoked from within a wine-mono install? |
OK, so the issue is in how we package wine-mono. Normally, lib/mono/4.5 contains symlinks to the libraries in lib/mono/gac. We aren't able to package symlinks properly, so we remove these to not waste space. It seems mcs searches this directory for libraries to link to by default. I can work around this with We still don't want to put the real libraries there, but as a packaging step we may copy the reference assemblies from 4.8-api. |
Fixes pushed to master branch: Expect this in the next wine-mono release. For now, you should be able to work around this by copying .dll files as explained in my previous comment (the -n switch is important, we don't want to overwrite anything already in lib/4.5), and editing etc/mono/config. |
Whereas they work with mono complete, plugins cannot be loaded because according to different sources the easiest way to make plugins work is installing mono-complete and wine-mono-5.1.1 seems not equal to mono-complete ! ...
The text was updated successfully, but these errors were encountered: