OK, I tried in ubuntu and since it runs slow, I just switched back. Here is 
how it worked in my BBB (or How to get mono in the Beaglebone Black):


   1. Configure the SD 
   
https://groups.google.com/forum/embed/?place=forum/beagleboard&showsearch=true&showpopout=true&showtabs=true&hideforumtitle=true&parenturl=http%3A%2F%2Fbeagleboard.org%2FCommunity%2FForums#!category-topic/beagleboard/support/-I08ZxSpau8
   2. Change dir to the SD, run
   git clone git://github.com/mono/mono.git
   3. sudo apt-get install automake
   sudo apt-get install libtool
   sudo apt-get install gettext
   sudo apt-get install libgdiplus
   sudo apt-get install pkg-config
   4. ./autogen.sh --prefix=/usr/local
   ...wait few minutes....
   5. make get-monolite-latest
   6. make EXTERNAL_MCS=${PWD}/mcs/class/lib/monolite/gmcs.exe
   ...wait few hours....
   7. make install
   ...wait about an hour....
   
Mono should be running by now, check that:

root@beaglebone:/home/debian/Desktop/test# mono --version
Mono JIT compiler version 3.4.1 (master/02b95e9 Sat Mar 29 01:45:18 UTC 
2014)
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

And compiling something:


   1. nano test.cs
   2. Type/paste the code below*
   3. mcs test.cs
   4. mono test.exe
   5. Profit!


using System;
internal class Program
{
    private static void Main()
    {
        var d = DateTime.Now.AddSeconds(1); // Just to test Hard-float stuff
        Console.WriteLine("Mono reporting for duty at {0}", d);
    }
} 
 


   1. 
   2. 




On Thursday, March 27, 2014 4:52:49 PM UTC-3, Erwin Ried wrote:
>
> Thanks, I will try in Ubuntu too (because the touchscreen maybe it works 
> in there)
>
> On Thursday, March 27, 2014 12:41:52 PM UTC-3, mickeyf wrote:
>>
>> Try:
>>
>> https://github.com/alexrp/mono/tree/armhf
>>
>> With build instructions here:
>>
>> https://github.com/alexrp/mono/tree/armhf
>>
>> We are using this with RCN's Ubuntu. Last built it many months ago though 
>> and are considering that version stable for our purposes,  so can't speak 
>> to any recent changes or updates.
>>
>>
>> On Wednesday, March 26, 2014 11:46:45 PM UTC-7, Erwin Ried wrote:
>>>
>>> Hi, any hint how to install mono in the last debian image? (I need this 
>>> because a little touchscreen, very jittery in angstrom)
>>>
>>> I get:
>>> root@beaglebone:/# apt-get install mono-runtime
>>> Reading package lists... Done
>>> Building dependency tree
>>> Reading state information... Done
>>> Some packages could not be installed. This may mean that you have
>>> requested an impossible situation or if you are using the unstable
>>> distribution that some required packages have not yet been created
>>> or been moved out of Incoming.
>>> The following information may help to resolve the situation:
>>>
>>> The following packages have unmet dependencies:
>>>  mono-runtime:armel : Depends: mono-gac:armel (= 2.10.8.1-8) but it is 
>>> not installable
>>>                       Recommends: binfmt-support:armel (>= 1.1.2)
>>> E: Unable to correct problems, you have held broken packages.
>>>
>>> And something similar for mono-complete.
>>>
>>> Thanks!
>>>
>>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to