Mono on Fedora mscorlib cant install gtk-sharp-2.12.11 - mono

When I compile a simple web application on my machine it works without problems.
However when I publish to the server always gives me the following error:
Could not load type 'System.Collections.Generic.Dictionary `2' from assembly 'mscorlib, Version = 4.0.0.0,
In my local machine I have the following directory that does not exist on the server:
/usr/lib/mono/4.0/
I've tried to install gtk-sharp-2.12.11 but in the end gives the following error:
Requested 'gtk + -2.0> = 2.12.0' but version of GTK + is 2.10.4
Please help me
Thanks
Paulo Santos

The gtk# binding, in its version 2.12, simply depends on gtk+ version 2.12.
You need to upgrade your Fedora if you want to use that version.
However, take in account that the gtk platform is only useful for desktop development, not web development, so I think you're mixing things up.
Try installing the "dmcs" compiler in Fedora. (You may have a very old version of Mono that doesn't include this 4.0-profile compiler, what version of Mono do you have installed?)

Related

Scales pkg do not install in my 2009 32 bit Mac mini (El Capitan) Rstudio

I recently upgrade my 2009 Mac mini adding 2gb of ram and installing "El Capitan". For some reason when I try to install "ggplot2" the package Scales ask me for compile it, when I hit yes to continue the process a message appears saying that is unable to compile the dependency. When I check my installed packages the installed Scales version installed is the 0.4.0 and don't allow me to update it to the 0.4.1 version. I try selecting another mirror and installing manually the newer version but it dosen't work. I also install gfortran 4.2.3 and tcltk 8.5.5x11 trying to solve the compiling problem.
The messages that appears are the following:
-"ERROR: compilation failed for package ‘scales’"
-"ERROR: lazy loading failed for package ‘ggplot2’"
I will appreciate any help.
Thanks!

What is the latest version of Mono that can be run on Raspberry Pi 2?

I am currently working from Mono Version 3.2.8 and am running into trouble finding any documentation on this version. I have no idea what code will run until after I get the exceptions. Either a compatibility list to what works or an idea of what version I can compile that works would be great. Any one have experience with this?
You can manually install the latest version. I was easily able to install
Mono version 4.6.2 on Raspbian.
The http://www.mono-project.com/docs/ site gives a general answer for which major libraries work. Letting you know when there isn't full compatibility but doesn't give specifics.

Pharo 2.0 not running on CentOS 6.6

I am trying to run my pharo2.0 application on CentoOS which was previously been installed in a mac. The original version is pharo2.0 so I need to run the same image CentoOS too, but I get an error which says this below :
/lib/libc.so.6: version `GLIBC_2.15' not found (required by xxxxx)
Should I be trying to upgrade the CentoOS and see if pharo2.0 works or port my whole application to a later version of pharo?
There is now a VM build especially for systems with an older libc version. In fact there is a build for Centos specifically (which has a slight variation in linkages from Debian), the latest version of which is permalinked here. See http://pharo.org/download#custom for more info.

iReport 5.5.0 won't start

I want to use iReport on ubuntu 12.04. When I try to start it, it stands still and just gives me this error:
Java HotSpot(TM) 64-Bit Server VM warning: You have loaded library /tmp/jna4023560596826437553.tmp which might have disabled stack guard. The VM will try to fix the stack guard now.
It's highly recommended that you fix the library with 'execstack -c <libfile>', or link it with '-z noexecstack'.
How can I solve this problem ?
Edit: I tried: execstack -c /tmp/jna4023560596826437553.tmp but that didn't help.
This error seems more related to a JVM problem instead of jasper. Indeed, Java 7 on linux has a feature which blocks code written in C (or other languages like Ruby etc) and linked into Java (the so-called Java Native Interface - JNI) from halting the whole VM if it’s written badly or maliciously.
So, if you're using java version 1.7, getting back to 1.6 should do the trick. But if you want to keep this version, then try a clean uninstall and re-install of java:
Uninstall,
Install
Notice that if you're not running on 1.7 , it could be a compatibility problem. Try to match the right jars required for iReport to get it work on linux.
I'm using ubuntu and I did below,
Opened the ireport.conf
and uncomment jdkhome
and added java 7 paths (since my default is java 8)
jdkhome=/home/bhanuka/Apps/jdk-7u80-linux-x64/jdk1.7.0_80

Mono 3.2.3 + Ubuntu 12: .Net 4.5 Unavailable?

I used the following instructions to install Mono on a clean install of Ubuntu 12.
http://forums.osgrid.org/viewtopic.php?f=14&t=4625
When I run mono --runtime=v4.5 Test.exe, I get the following error:
WARNING: The runtime version supported by this application is
unavailable. Using default runtime: v2.0.50727.
If I set the runtime to v4.0, the program will run initially until it reaches a .Net 4.5 only method, specifically Monitor.IsEntered, causing a MissingMethodException to be thrown.
I do have a directory called /opt/mono-3.2.3/lib/mono/4.5.
How do I fix Mono so I can run this program under the 4.5 framework?
It looks like you found the answer: Mono hasn't implement Monitor.IsEntered() yet.
It's interesting why this TODO is not evident from the Mono Class Status page, though...