Dynalon / Rainy

Simple Tomboy/Tomdroid cloud/syncing server. Written in C# with AngularJS web frontend. Supports SQLite & Postgres Backends.
http://dynalon.github.io/Rainy
GNU Affero General Public License v3.0
88 stars 15 forks source link

Rainy dosn't run ARM hard-float arch (armhf) like Raspbian #18

Closed cptwunderlich closed 10 years ago

cptwunderlich commented 11 years ago

I tried to build Rainy on my Raspberry Pi: Linux raspberrypi 3.6.11+ #387 PREEMPT Sun Mar 3 23:54:39 GMT 2013 armv6l GNU/Linux

It fails with /usr/lib/mono/4.0/Microsoft.Common.targets: error : Error executing task ResolveAssemblyReference: Division by zero

There are quite some references to "x86". Like in "Rainy/Rainy.csproj", "JsonConfig/JsonConfig.sln", "Rainy.sln" etc. Unfortunately, I have never worked with C#/.Net/Mono. But wasn't the whole point that its supposed to be platform independent?

Anyways, running the "Rainy.exe" from the downloads section, as expected, also fails: log4net:ERROR Error occurred while converting date. System.DivideByZeroException: Division by zero

...and some more.

Dynalon commented 11 years ago

What OS on the RPi are you using? AFAIK you can't use Raspbian, as it uses the armhf (hard-float) architecture, which is not yet supported with mono, see: http://www.raspberrypi.org/phpBB3/viewtopic.php?f=66&t=11634

I have a successfull build report on an RPi using debian wheezy (arm port, NOT armhf), see http://jjjjango.blogspot.de/2013/02/tomboys-new-sync-server-rainy-running.html

Don't worry about those x86 occurences in the .sln and .csproj files, it is just default names without any meaning. Rainy is 100% managed code, so if mono runs on the arch, so does rainy.

cptwunderlich commented 11 years ago

Oh ups, I wasn't aware of this issue. I am indeed running raspian with armhf Since mono-complete installed without any problem, I didn't assume there was an issue with that.

Thanks for your effort. Looks like this issue can be closed.

2013/3/19 Dynalon notifications@github.com

What OS on the RPi are you using? AFAIK you can't use Raspbian, as it uses the armhf (hard-float) architecture, which is not yet supported with mono, see: http://www.raspberrypi.org/phpBB3/viewtopic.php?f=66&t=11634

I have a successfull build report on an RPi using debian wheezy (arm port, NOT armhf), see http://jjjjango.blogspot.de/2013/02/tomboys-new-sync-server-rainy-running.html

Don't worry about those x86 occurences in the .sln and .csproj files, it is just default names without any meaning. Rainy is 100% managed code, so if mono runs on the arch, so does rainy.

— Reply to this email directly or view it on GitHubhttps://github.com/Dynalon/Rainy/issues/18#issuecomment-15144229 .

Send me an encrypted or signed mail, my Public Key: http://keyserver.ubuntu.com:11371/pks/lookup?op=get&search=0xB568F31ED76F3A76 --- Whats GPG? http://de.wikipedia.org/wiki/GNU_Privacy_Guard

Dynalon commented 11 years ago

There was no issue reported, until now ^^ I keep this issue open, maybe mono will one day support armhf architecture. There is a bug entry at xamarin's bugtracker: https://bugzilla.xamarin.com/show_bug.cgi?id=7938

A workaround is to use stock Debian wheezy arm instead of Raspbian armhf.

Dynalon commented 10 years ago

With the latest commits added to mono's git master, Rainy runs on arm-hf hardware like the RaspberryPi. See my blog post for a precompiled build: http://exceptionrethrown.wordpress.com/2013/12/07/running-rainy-on-raspbianarm-hf-on-my-raspberry-pi/

Closing this. All kudos to Alex Rønne Peterson and the mono/Xamarin guys.