Page 1 of 3

Mono 4.0.2.5 packages now available for Raspbian

Posted: Sun 23 Aug 2015 8:20 pm
by merkur
User plugwash on the raspberrypi.org-forum compiled a current version of Mono (4.0.2.5) for Raspbian wheezy and jessie, that work on both, RasPi1 and RasPi2:
just add the corresponding line to your /etc/apt/sources.list, then run apt-get update && apt-get install mono-complete
Ok, packages are available.

for wheezy:
deb http://plugwash.raspbian.org/mono4 wheezy-mono4 main

for jessie:
deb http://plugwash.raspbian.org/mono4 jessie-mono4 main

Please test and say what works and what doesn't.

signing key is the same as the raspbian repos, so you don't need to add any keys.
Source: https://www.raspberrypi.org/forums/view ... 95#p798116

With it, CumulusMX runs fine on my RasPi1.

Re: Mono 4.0.2.5 packages now available for Raspbian

Posted: Mon 24 Aug 2015 7:01 am
by steve
Thanks for posting that, it should help people trying to use non-English locales. I check that thread from time to time, but hadn't looked recently. I'll upgrade my Pi when I get chance.

Re: Mono 4.0.2.5 packages now available for Raspbian

Posted: Tue 25 Aug 2015 12:24 pm
by jank
merkur wrote:User plugwash on the raspberrypi.org-forum compiled a current version of Mono (4.0.2.5) for Raspbian wheezy and jessie, that work on both, RasPi1 and RasPi2:
this is interesting. I went into this decimal comma problem (because of my locale) and I bought a Raspberry Pi 2 to install Mono 4.x. Now since Mono 4.x is also running on Raspberry Pi1, I will will switch back to this old Raspberry and will use the new Raspberry for Openelec....
I will give an update as far I finnished (Need to buy a SD card first)

btw: Just updated my Raspberry Pi2 and installed Mono Verison is: Mono JIT compiler version 4.0.3 (Stable 4.0.3.20/d6946b4

Re: Mono 4.0.2.5 packages now available for Raspbian

Posted: Tue 25 Aug 2015 8:25 pm
by jank
Hi
I did the installation of Mono 4 on my old RaspberryPi B
Please stop CumulusMX first

1.)
sudo apt-get update
sudo apt-get upgrade


2) Check installed Verison.
sudo mono -V
Mono JIT compiler version 3.2.8 (Debian 3.2.8+dfsg-4+rpi1)

3) uninstall old Mono
sudo apt-get remove mono-complete
sudo apt-get autoremove

4) Edit source list
sudo nano /etc/apt/sources.list.d/raspi.list or sudo nano /etc/apt/sources.list
insert in a new line
deb http://plugwash.raspbian.org/mono4 wheezy-mono4 main

5) Install new Version of Mono
sudo apt-get install mono-complete

6) Check if new Version was successfully installed
sudo mono -V
Mono JIT compiler version 4.0.2 (Debian 4.0.2.5+dfsg-2~rpi1)

I started CumulusMX -> sudo mono CumulusMX.exe -lang de-DE
At least no errors in the console and I was able to connect with Webbrowser on Port 8998.
Weatherstation is still plugged in my other System, but I assume everything is running as expected......at least no negative influence with new Mono at a first glance
Checked Records Page which contain old entries from last month, when I started with this Raspberry Pi and it is dispalying values Comma Seperated

High temperature 10,6 °C Freitag, 3. April 2015 16:00

Jan

Re: Mono 4.0.2.5 packages now available for Raspbian

Posted: Wed 02 Sep 2015 6:44 am
by Werk_AG
Thanks merkur for posting this info, and also thank you jank, for the detailed guide.

After installing mono 4.0.2, I started CumulusMX with: sudo mono CumulusMX.exe -lang pt-PT
... and it seems to be working properly!
Finally there is hope for my PI B+ :D

Re: Mono 4.0.2.5 packages now available for Raspbian

Posted: Wed 02 Sep 2015 1:23 pm
by jank
Werk_AG wrote:Thanks merkur for posting this info, and also thank you jank, for the detailed guide.

After installing mono 4.0.2, I started CumulusMX with: sudo mono CumulusMX.exe -lang pt-PT
... and it seems to be working properly!
Finally there is hope for my PI B+ :D
I assume, you succesfully get it running with your plugged in (connected) Weatherstation ?
This is what I did not tested so far. thats great.
Steve, I think this might be a good reason to add the availabillity of Mono 4.x also for older Raspberry's in your dokumentation?

Re: Mono 4.0.2.5 packages now available for Raspbian

Posted: Wed 02 Sep 2015 3:52 pm
by rogerthn
4.0.2 doesn't have the fix for short Swedish month
I get Sep but it should be sep i.e. lower case s
However, downloading mono-4.2.0.179.tar.bz2 and building on my Raspberry PI B+ as below give me lower case s.

Code: Select all

time ./configure
real    7m45.704s
user    4m17.910s
sys     1m57.590s

time make
real    393m6.076s
user    371m48.260s
sys     13m28.990s

time sudo make install
real    12m47.068s
user    10m23.540s
sys     1m19.450s
Almost 7 hours for the make :lol:

Code: Select all

pi@hallonpaj ~ $ mono -V
Mono JIT compiler version 4.2.0 (Stable 4.2.0.179/a224653 Fri Aug 28 02:31:13 CEST 2015)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
        TLS:           __thread
        SIGSEGV:       normal
        Notifications: epoll
        Architecture:  armel,vfp+hard
        Disabled:      none
        Misc:          softdebug
        LLVM:          supported, not enabled.
        GC:            sgen
pi@hallonpaj ~ $ echo $LANG
sv_SE.UTF-8
pi@hallonpaj ~ $ mono HelloWorldMMM.exe
Hello World, below is DateTime.Now.ToString MMM, MMMM, ddd and dddd
sep
september
ons
onsdag
I'll give CumulusMX a try with 4.2 but it might be that I've to wait until next week :(

Re: Mono 4.0.2.5 packages now available for Raspbian

Posted: Wed 02 Sep 2015 7:11 pm
by jank
rogerthn wrote:4.0.2 doesn't have the fix for short Swedish month
I am not the specialist but if I understand you correctly we are now here:

Official Mono Verison for Raspberry Pi1 available on the debian feed: V 3.2.8
Mono Version for Raspberry Pi1 available on this feed deb http://plugwash.raspbian.org/mono4 : V 4.0.2.5
Official Mono Version for Raspberry Pi2 available on the debian feed: V 4.0.3.20
Mono Version for Raspberry Pi1 compiled by RogerTM: V 4.2.0.179


I am a little bit confused, looking on the Mono Project website I can read: The latest Mono release is: 4.0.3 SR 3 (4.0.3.20) , Beta ?

anyway, now there are several Versions available and at least Mono V4 for all Pi's
thanks Roger

Re: Mono 4.0.2.5 packages now available for Raspbian

Posted: Wed 02 Sep 2015 7:19 pm
by rogerthn

Re: Mono 4.0.2.5 packages now available for Raspbian

Posted: Wed 02 Sep 2015 7:33 pm
by steve
4.2.0 is apparently the alpha version. 4.0.4 is beta.

Re: Mono 4.0.2.5 packages now available for Raspbian

Posted: Thu 03 Sep 2015 3:18 am
by Werk_AG
jank wrote: I assume, you succesfully get it running with your plugged in (connected) Weatherstation ?
This is what I did not tested so far. thats great.
Yes, it is running with a weather station plugged in since yesterday. Until now running perfectly. No errors in any of the MX Diags files.

Below some lines from Set15log.txt, showing the commas as decimal separator.

Code: Select all

03/09/15;04:00;17,0;82;13,9;20,2;33,2;343;0,0;0,0;1013,95;0,0;21,2;65;18,7;17,0;17,0;0,0;0;0,00;0,00;14,3;0;0,0;355;0,0;0,0
03/09/15;04:05;17,1;82;14,0;18,0;32,4;342;0,0;0,0;1013,95;0,0;21,2;65;26,7;17,1;17,1;0,0;0;0,00;0,00;14,8;0;0,0;351;0,0;0,0
03/09/15;04:10;17,0;82;13,9;17,3;37,5;344;0,0;0,0;1013,85;0,0;21,2;65;23,8;17,0;17,0;0,0;0;0,00;0,00;14,9;0;0,0;329;0,0;0,0

Re: Mono 4.0.2.5 packages now available for Raspbian

Posted: Thu 03 Sep 2015 12:52 pm
by jank
Great, thanks for the report. :clap:

since I also use comma seperated values in Germany, I should now be able to move back to my old Raspberry PI B running CumulusMX and use the new Raspberry PI2 for other things like Openelec :-)
Jan

Re: Mono 4.0.2.5 packages now available for Raspbian

Posted: Wed 30 Sep 2015 8:00 pm
by laulau
I followed the installation instructions for mono V4.
jank wrote:Hi
I did the installation of Mono 4 on my old RaspberryPi B
Please stop CumulusMX first

1.)
sudo apt-get update
sudo apt-get upgrade


2) Check installed Verison.
sudo mono -V
Mono JIT compiler version 3.2.8 (Debian 3.2.8+dfsg-4+rpi1)

3) uninstall old Mono
sudo apt-get remove mono-complete
sudo apt-get autoremove

4) Edit source list
sudo nano /etc/apt/sources.list.d/raspi.list or sudo nano /etc/apt/sources.list
insert in a new line
deb http://plugwash.raspbian.org/mono4 wheezy-mono4 main

5) Install new Version of Mono
sudo apt-get install mono-complete

6) Check if new Version was successfully installed
sudo mono -V
Mono JIT compiler version 4.0.2 (Debian 4.0.2.5+dfsg-2~rpi1)


Jan
But sudo mono -V still give me : Mono JIT compiler version 3.2.8 (Debian 3.2.8+dfsg-4+rpi1) :(
Some hints ?

Re: Mono 4.0.2.5 packages now available for Raspbian

Posted: Wed 30 Sep 2015 8:24 pm
by jank
laulau wrote:I followed the installation instructions for mono V4.
But sudo mono -V still give me : Mono JIT compiler version 3.2.8 (Debian 3.2.8+dfsg-4+rpi1) :(
Some hints ?
At which step? Step 2 in my instruction?
Unfortunately I moved back to my RaspberryPi2, but I am sure, I did it twice on my Raspberry Pi B and it worked.
Did you follow the steps really exactly?

Maybe double check all the files in each step after you made changes ?

For exampkle Step 4: Can you check if you really inserted the new Source for new Mono ?
sudo nano /etc/apt/sources.list.d/raspi.list
or
sudo nano /etc/apt/sources.list

Can you please post both files here ?

cat /etc/apt/sources.list.d/raspi.list
cat /etc/apt/sources.list


Jan

Re: Mono 4.0.2.5 packages now available for Raspbian

Posted: Thu 01 Oct 2015 4:41 am
by laulau
Hi,

I followed exactly all the steps. I still have mono V3.2.8 at step 6

At step 4 the new line is inserted
Rasp.jpg