Please read the posts in the Announcements section about the current status of Cumulus development now that I have retired

Please read this post before posting

Latest Cumulus release v1.9.4 (build 1099) - Nov 28 2014
Latest Cumulus MX release - v3.0.0 build 3043 Jan 20 2017. See this post for download

Later version of mono for Raspberry Pi 2

Discussion of version 3 of Cumulus, which runs on Windows, Linux, and OS X. All Cumulus MX queries in here, please.
endfm
Posts: 31
Joined: Sat Apr 25, 2015 8:11 am
Weather Station: XC0348
Operating System: Jessie
Location: Newcastle, Australia
Contact:

Re: Later version of mono for Raspberry Pi 2

Postby endfm » Sat Oct 14, 2017 3:24 am

yer the whole installation is a little screwed now,

libmono-i18n-west4.0-cil http://download.mono-project.com/repo/d ... n1_all.deb
libmono-system-web-http4.0-cil http://download.mono-project.com/repo/d ... n1_all.deb
libmono-sharpzip4.84-cil http://download.mono-project.com/repo/d ... n1_all.deb
libmono-system-runtime-caching4.0-cil http://download.mono-project.com/repo/d ... n1_all.deb

Do you want to ignore this warning and proceed anyway?
To continue, enter "yes"; to abort, enter "no": yes
W: Target Packages (main/binary-armhf/Packages) is configured multiple times in /etc/apt/sources.list:4 and /etc/apt/sources.list.d/mono-xamarin.list:1
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:4 and /etc/apt/sources.list.d/mono-xamarin.list:1
W: Target Translations (main/i18n/Translation-en_AU) is configured multiple times in /etc/apt/sources.list:4 and /etc/apt/sources.list.d/mono-xamarin.list:1
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:4 and /etc/apt/sources.list.d/mono-xamarin.list:1
W: Target Packages (main/binary-armhf/Packages) is configured multiple times in /etc/apt/sources.list:4 and /etc/apt/sources.list.d/mono-xamarin.list:1
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:4 and /etc/apt/sources.list.d/mono-xamarin.list:1
W: Target Translations (main/i18n/Translation-en_AU) is configured multiple times in /etc/apt/sources.list:4 and /etc/apt/sources.list.d/mono-xamarin.list:1
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:4 and /etc/apt/sources.list.d/mono-xamarin.list:1
W: Target Packages (main/binary-armhf/Packages) is configured multiple times in /etc/apt/sources.list:4 and /etc/apt/sources.list.d/mono-xamarin.list:1
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:4 and /etc/apt/sources.list.d/mono-xamarin.list:1
W: Target Translations (main/i18n/Translation-en_AU) is configured multiple times in /etc/apt/sources.list:4 and /etc/apt/sources.list.d/mono-xamarin.list:1
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:4 and /etc/apt/sources.list.d/mono-xamarin.list:1
Err http://mirrordirector.raspbian.org/raspbian stretch/main armhf ttf-bitstream-vera all 1.10-8
Cannot initiate the connection to mirrordirector.raspbian.org:80 (2a00:1098:0:80:1000:75:0:3). - connect (101: Network is unreachable) [IP: 2a00:1098:0:80:1000:75:0:3 80]
Err http://mirrordirector.raspbian.org/raspbian stretch/main armhf libart-2.0-2 armhf 2.3.21-2
Cannot initiate the connection to mirrordirector.raspbian.org:80 (2a00:1098:0:80:1000:75:0:3). - connect (101: Network is unreachable) [IP: 2a00:1098:0:80:1000:75:0:3 80]
Err http://mirrordirector.raspbian.org/raspbian stretch/main armhf libbonobo2-common all 2.32.1-3
Cannot initiate the connection to mirrordirector.raspbian.org:80 (2a00:1098:0:80:1000:75:0:3). - connect (101: Network is unreachable) [IP: 2a00:1098:0:80:1000:75:0:3 80]
Err http://mirrordirector.raspbian.org/raspbian stretch/main armhf liborbit-2-0 armhf 1:2.14.19-2
Cannot initiate the connection to mirrordirector.raspbian.org:80 (2a00:1098:0:80:1000:75:0:3). - connect (101: Network is unreachable) [IP: 2a00:1098:0:80:1000:75:0:3 80]
Err http://mirrordirector.raspbian.org/raspbian stretch/main armhf libbonobo2-0 armhf 2.32.1-3
Cannot initiate the connection to mirrordirector.raspbian.org:80 (2a00:1098:0:80:1000:75:0:3). - connect (101: Network is unreachable) [IP: 2a00:1098:0:80:1000:75:0:3 80]
Err http://mirrordirector.raspbian.org/raspbian stretch/main armhf libdbus-1-3 armhf 1.10.22-0+deb9u1
Cannot initiate the connection to mirrordirector.raspbian.org:80 (2a00:1098:0:80:1000:75:0:3). - connect (101: Network is unreachable) [IP: 2a00:1098:0:80:1000:75:0:3 80]
Err http://mirrordirector.raspbian.org/raspbian stretch/main armhf dbus armhf 1.10.22-0+deb9u1
Cannot initiate the connection to mirrordirector.raspbian.org:80 (2a00:1098:0:80:1000:75:0:3). - connect (101: Network is unreachable) [IP: 2a00:1098:0:80:1000:75:0:3 80]
Err http://mirrordirector.raspbian.org/raspbian stretch/main armhf libdbus-glib-1-2 armhf 0.108-2
Cannot initiate the connection to mirrordirector.raspbian.org:80 (2a00:1098:0:80:1000:75:0:3). - connect (101: Network is unreachable) [IP: 2a00:1098:0:80:1000:75:0:3 80]
Err http://mirrordirector.raspbian.org/raspbian stretch/main armhf gconf2-common all 3.2.6-4
Cannot initiate the connection to mirrordirector.raspbian.org:80 (2a00:1098:0:80:1000:75:0:3). - connect (101: Network is unreachable) [IP: 2a00:1098:0:80:1000:75:0:3 80]
Err http://mirrordirector.raspbian.org/raspbian stretch/main armhf libgconf-2-4 armhf 3.2.6-4
Cannot initiate the connection to mirrordirector.raspbian.org:80 (2a00:1098:0:80:1000:75:0:3). - connect (101: Network is unreachable) [IP: 2a00:1098:0:80:1000:75:0:3 80]
Err http://mirrordirector.raspbian.org/raspbian stretch/main armhf gconf-service armhf 3.2.6-4
Cannot initiate the connection to mirrordirector.raspbian.org:80 (2a00:1098:0:80:1000:75:0:3). - connect (101: Network is unreachable) [IP: 2a00:1098:0:80:1000:75:0:3 80]
Err http://mirrordirector.raspbian.org/raspbian stretch/main armhf libltdl7 armhf 2.4.6-2
Cannot initiate the connection to mirrordirector.raspbian.org:80 (2a00:1098:0:80:1000:75:0:3). - connect (101: Network is unreachable) [IP: 2a00:1098:0:80:1000:75:0:3 80]
Err http://mirrordirector.raspbian.org/raspbian stretch/main armhf libtdb1 armhf 1.3.11-2
Cannot initiate the connection to mirrordirector.raspbian.org:80 (2a00:1098:0:80:1000:75:0:3). - connect (101: Network is unreachable) [IP: 2a00:1098:0:80:1000:75:0:3 80]

DaveStLou
Posts: 15
Joined: Sun Mar 24, 2013 10:05 am
Weather Station: Davis Vantage Pro2
Operating System: Raspbian
Location: St. Louis (Oakville), Missouri, USA
Contact:

Re: Later version of mono for Raspberry Pi 2

Postby DaveStLou » Mon Oct 23, 2017 11:00 pm

I tried these instructions however when I check the version (mono -v or mono --version) it returns "Illegal instruction" :(

User avatar
Toxic17
Posts: 565
Joined: Mon May 19, 2014 10:45 pm
Weather Station: Davis Vantage Pro2 Plus
Operating System: Debian 9.1 Stretch
Location: Bangor, NI
Contact:

Re: Later version of mono for Raspberry Pi 2

Postby Toxic17 » Mon Oct 23, 2017 11:14 pm

DaveStLou wrote:I tried these instructions however when I check the version (mono -v or mono --version) it returns "Illegal instruction" :(


I think you may need to install the full package..

Code: Select all

sudo apt-get install mono-complete
Regards Simon

https://www.conligwx.org
https://www.conligwx.org/pws/
https://www.conligwx.org/pws1/

https://twitter.com/conligwx
Davis Vantage Pro2+ - CumulusMX v3.0.0 (build 3043) + Saratoga/PWS
Image

DaveStLou
Posts: 15
Joined: Sun Mar 24, 2013 10:05 am
Weather Station: Davis Vantage Pro2
Operating System: Raspbian
Location: St. Louis (Oakville), Missouri, USA
Contact:

Re: Later version of mono for Raspberry Pi 2

Postby DaveStLou » Mon Oct 23, 2017 11:40 pm

Toxic17 wrote:
I think you may need to install the full package..


Isn't that what this does? "sudo aptitude install mono-complete=4.0.5.1-0xamarin1"

User avatar
Toxic17
Posts: 565
Joined: Mon May 19, 2014 10:45 pm
Weather Station: Davis Vantage Pro2 Plus
Operating System: Debian 9.1 Stretch
Location: Bangor, NI
Contact:

Re: Later version of mono for Raspberry Pi 2

Postby Toxic17 » Tue Oct 24, 2017 5:45 am

DaveStLou wrote:
Toxic17 wrote:
I think you may need to install the full package..


Isn't that what this does? "sudo aptitude install mono-complete=4.0.5.1-0xamarin1"


then by your logs the mono installation is incomplete.

Err http://mirrordirector.raspbian.org/raspbian stretch/main armhf libdbus-1-3 armhf 1.10.22-0+deb9u1
Cannot initiate the connection to mirrordirector.raspbian.org:80 (2a00:1098:0:80:1000:75:0:3). - connect (101: Network is unreachable) [IP: 2a00:1098:0:80:1000:75:0:3 80]

I suggest finding another full source or change the version of mono.
Regards Simon

https://www.conligwx.org
https://www.conligwx.org/pws/
https://www.conligwx.org/pws1/

https://twitter.com/conligwx
Davis Vantage Pro2+ - CumulusMX v3.0.0 (build 3043) + Saratoga/PWS
Image

richard_newberry
Posts: 265
Joined: Tue Apr 12, 2011 10:23 pm
Weather Station: Watson W-8186
Operating System: Debian Stretch (VMWARE Esxi 6.5)
Location: Leicester
Contact:

Re: Later version of mono for Raspberry Pi 2

Postby richard_newberry » Tue Oct 31, 2017 1:27 pm

Can you find out which sources work so I can download and Install mono version 4.0.5 because every time I've tried I get broken packages. Mono 5 works without broken packages but I get a error saying not found. It's really time consuming and is raspbian pi with debian stretch on it be the same as a debian stretch as a virtual machine running on vmware esxi 6.5 u1 ?

Thanks.

I'm glad Steve is enjoying France.
Desford Weather
http://www.desford-weather.co.uk
http://desford-weather.co.uk
Also on Desford weather underground.
Looking forward to cumulus on Linux platform it'll rock!!

MikeM
Posts: 15
Joined: Fri Sep 02, 2016 8:11 am
Weather Station: WeatherDuino Pro2
Operating System: CumulusMX
Location: Brackenfell, Cape Town, South Africa
Contact:

Re: Later version of mono for Raspberry Pi 2

Postby MikeM » Tue Dec 05, 2017 1:12 pm

I'm having trouble installing mono-complete 4.0.5 under the new raspbian stretch.
Do anyone have a working solution?

oakview
Posts: 2
Joined: Tue Nov 27, 2012 10:52 pm
Weather Station: WH1080
Operating System: Pi3 Raspbian
Location: Derbyshire

Re: Later version of mono for Raspberry Pi 2

Postby oakview » Wed Dec 06, 2017 1:03 am

Steen9542 wrote:There have been a lot of posts regarding which mono version to use and how to install it on a Raspberry PI2.
Below is how I managed to install a working Cumulus using mono 4.0.5.

This post is primarily based on:
viewtopic.php?f=27&t=16421#p126018

Installation is based on post from:
l2k » Thu Aug 24, 2017 8:40 am

mono problems from:
SpaceHiker » Mon Sep 18, 2017 12:09 am

As I read the posts, the last unbroken mono version is 4.0.5

But it can be quite difficult to install that old version in a resent version of Linux raspberrypi.

This is a clean installation on a new formatted SD card (16GB).

Step by step guide:
Download the latest version of Linux raspberrypi (4.9.41-v7+) to a PC (win10) and flash the SD using Etcher.

Then transfer the SD card to the PI2 and fire it up.

Setup keyboard, lokalisation, time zone … from Preferences/Raspberry Pi configuration

Check that the OS is up to date:
$ sudo apt-get update
$ sudo apt-get dist-upgrade

Reboot PI2

Add the mono repository:
$ cd /etc/apt/sources.list.d
$ sudo vi mono-xamarin.list
add below line:
deb http://download.mono-project.com/repo/debian wheezy/snapshots/4.0.5 main

Update:
( "aptitude update" failed for me, therefore I used)
$ sudo apt-get update

Just ignore the warnings about signatures and conflicting distribution.

In order to fix dependencies, aptitude must be used to install mono:
$ sudo aptitude install mono-complete=4.0.5.1-0xamarin1

Then you will get a proposal from aptitude to solve the dependencies:

Keep the following packages at their current version:
1) mono-complete [Not Installed]

Do NOT accept this solution, when that would install the current version of mono(4.6.2) which has errors (as documented by SpaceHiker).

Respond with "n"

Accept the next solution from aptitude to install mono version 4.0.5 with this warning:

Leave the following dependencies unresolved:
186) libmono-webbrowser4.0-cil recommends libgluezilla (>= 2.6)

Respond with "Y"

At the next prompt:
0 packages upgraded, 186 newly installed, 0 to remove and 0 not upgraded.
Need to get 61,8 MB of archives. After unpacking 163 MB will be used.
Do you want to continue? [Y/n/?]

Respond "Y"

At the last prompt:
Do you want to ignore this warning and proceed anyway?
To continue, enter "yes"; to abort, enter "no":

Respond "yes"

Now mono-complete 4.0.5 will be installed.

In order to protect this old mono version (4.0.5) from future upgrades:
$ sudo apt-mark hold mono-runtime mono-complete

Installed version is now:
$ mono -V
Mono JIT compiler version 4.0.5 (Stable 4.0.5.1/1d8d582 Thu Nov 12 12:22:41 UTC 2015)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. http://www.mono-project.com
TLS: __thread
SIGSEGV: normal
Notifications: epoll
Architecture: armel,vfp+hard
Disabled: none
Misc: softdebug
LLVM: supported, not enabled.
GC: sgen

Now download CumulusMXDist3043.zip from this forum.

Then go to pi home:
$ cd /home/pi
and extract Cumulus:
$ unzip ./Downloads/CumulusMXDist3043.zip

Go to CumulusMX folder and start Cumulus (using your preferred localization):
$ cd CumulusMX
$ sudo mono CumulusMX.exe -lang da-DK
Current culture: Danish (Denmark)
Serial: 74FECEABEB2DA94ECB5EBA0CD11A7137
Cumulus MX v.3.0.0 build 3043
Station type not set
Cumulus running at: http://*:8998/
(Replace * with any IP address on this machine, or localhost)
Starting web socket server on port 8002
10-10-2017 11:35:55
Type Ctrl-C to terminate

Now point your browser to:
http://localhost:8998/
and set up your station in "Settings"

Then restart Cumulus:

$ sudo mono CumulusMX.exe -lang da-DK
Current culture: Danish (Denmark)
Serial: 74FECEABEB2DA94ECB5EBA0CD11A7137
Cumulus MX v.3.0.0 build 3043
Today.ini = data/today.ini
Last update=2017-10-10T11:39:46
Looking for Fine Offset station, VendorID=0x1941 ProductID=0x8021
sysname=Linux release=4.9.41 machine=armv7l
Fine Offset station found
Connected to station
Cumulus running at: http://*:8998/
(Replace * with any IP address on this machine, or localhost)
Starting web socket server on port 8002
10-10-2017 11:39:48
Type Ctrl-C to terminate

Cumulus is running and using "," as decimal separator.

Enjoy :D



Thank you for taking the time to do this step by step guide.

I have been struggling for over a week now to get MX up and working on a Rpi3 with mono and I must admit I was close to giving up,until I found your post tonight.

I followed you instructions to the letter and I'm pleased to say I have MX working on Raspberrypi Stretch (with GUI) and a WH1080..!!!

Thank You Sir :D

Dave

User avatar
Frank G
Posts: 22
Joined: Wed Sep 25, 2013 5:03 pm
Weather Station: WH1080
Operating System: Win 10
Location: Germany

Re: Later version of mono for Raspberry Pi 2

Postby Frank G » Wed Dec 06, 2017 12:49 pm

Hello,
just a question to avoid further post regarding installation/running problems with mono, .... on a RPI:

Is somebody able to describe how to install CMX, mono, ... on a Raspberry Pi (1, 2 and/or 3)? I know that there are a lot of posts regarding this issues, but it is »a lot of« and it is very difficult to find the correct installation (method) in all this posts. (I tried it without success with my RPI 1!). This post(s) could be maintained and would show always the current method(s).
This would be great!

Thanks, Frank
Image
Weather in Buchenau/Germany: http://wetter.buchenau-net.de

oakview
Posts: 2
Joined: Tue Nov 27, 2012 10:52 pm
Weather Station: WH1080
Operating System: Pi3 Raspbian
Location: Derbyshire

Re: Later version of mono for Raspberry Pi 2

Postby oakview » Wed Dec 06, 2017 8:55 pm

Frank, I was in a very similar position to you I followed "Steen9542" post in this thread to the letter and it worked first time no problems. The only thing I would say is make sure you start off with a clean install so you don't have any spurious bits of past failed installs etc.

Hang in there Frank it will work on a Pi3...!

Dave

MikeM
Posts: 15
Joined: Fri Sep 02, 2016 8:11 am
Weather Station: WeatherDuino Pro2
Operating System: CumulusMX
Location: Brackenfell, Cape Town, South Africa
Contact:

Re: Later version of mono for Raspberry Pi 2

Postby MikeM » Thu Dec 07, 2017 7:30 am

oakview wrote:The only thing I would say is make sure you start off with a clean install so you don't have any spurious bits of past failed installs etc.


I could not get the installation guide provided by "Steen9542" to work, until I restarted with a complete new install of Raspbian Stretch. :clap:

User avatar
Frank G
Posts: 22
Joined: Wed Sep 25, 2013 5:03 pm
Weather Station: WH1080
Operating System: Win 10
Location: Germany

Re: Later version of mono for Raspberry Pi 2

Postby Frank G » Sat Dec 09, 2017 5:30 pm

Hang in there Frank it will work on a Pi3...!

Thank you dave for the encouraging words! :D :clap:

I orderted a RPi3 (perhaps my problems depents on my RPi1).
The days become shorter and colder and I will spend some time to set it up again. :lol:

Frank
Image
Weather in Buchenau/Germany: http://wetter.buchenau-net.de


Return to “Cumulus MX”

Who is online

Users browsing this forum: bs85 and 7 guests