Page 1 of 3 123 LastLast
Results 1 to 10 of 22

Thread: How to install on Ubuntu?

  1. #1
    Newbie
    Join Date
    Feb 2012
    Posts
    22

    How to install on Ubuntu?

    Hi all,

    Openmobile looks like it has some promise, I hope the devs and testers are still working on it.

    I'm running Ubuntu Natty and tried to get OM up and running. I have not had much success thus far. Here is some information as well as error messages. Can anyone suggest where I am going wrong. Here is info and what i have done and the results.

    Info
    Code:
    cat /etc/lsb-release 
    DISTRIB_ID=Ubuntu
    DISTRIB_RELEASE=11.04
    DISTRIB_CODENAME=natty
    DISTRIB_DESCRIPTION="Ubuntu 11.04"
    Code:
    dpkg -l |grep mono |grep ii
    ii  libmono-addins-gui0.2-cil             0.4-8                                          GTK# frontend library for Mono.Addins
    ii  libmono-addins0.2-cil                 0.4-8                                          addin framework for extensible CLI applications/libraries
    ii  libmono-cairo2.0-cil                  2.6.7-5ubuntu3                                 Mono Cairo library (for CLI 2.0)
    ii  libmono-corlib2.0-cil                 2.6.7-5ubuntu3                                 Mono core library (for CLI 2.0)
    ii  libmono-data-tds2.0-cil               2.6.7-5ubuntu3                                 Mono Data Library (for CLI 2.0)
    ii  libmono-i18n-west2.0-cil              2.6.7-5ubuntu3                                 Mono I18N.West library (for CLI 2.0)
    ii  libmono-management2.0-cil             2.6.7-5ubuntu3                                 Mono Management library (for CLI 2.0)
    ii  libmono-posix2.0-cil                  2.6.7-5ubuntu3                                 Mono.Posix library (for CLI 2.0)
    ii  libmono-security2.0-cil               2.6.7-5ubuntu3                                 Mono Security library (for CLI 2.0)
    ii  libmono-sharpzip2.84-cil              2.6.7-5ubuntu3                                 Mono SharpZipLib library (for CLI 2.0)
    ii  libmono-sqlite2.0-cil                 2.6.7-5ubuntu3                                 Mono Sqlite library (for CLI 2.0)
    ii  libmono-system-data2.0-cil            2.6.7-5ubuntu3                                 Mono System.Data Library (for CLI 2.0)
    ii  libmono-system2.0-cil                 2.6.7-5ubuntu3                                 Mono System libraries (for CLI 2.0)
    ii  libmono-zeroconf1.0-cil               0.9.0-2                                        CLI library for multicast DNS service discovery
    ii  mono-2.0-gac                          2.6.7-5ubuntu3                                 Mono GAC tool (for CLI 2.0)
    ii  mono-csharp-shell                     2.6.7-5ubuntu3                                 interactive C# shell
    ii  mono-gac                              2.6.7-5ubuntu3                                 Mono GAC tool
    ii  mono-gmcs                             2.6.7-5ubuntu3                                 Mono C# 2.0 and C# 3.0 compiler for CLI 2.0
    ii  mono-runtime                          2.6.7-5ubuntu3                                 Mono runtime
    ii  ubuntu-mono                           0.0.30                                         Ubuntu Mono Icon theme
    OM Installation
    As User

    Code:
    user@machine:~/Downloads$ chmod +x openMobile-0.8-linux-x64.bin 
    user@machine:~/Downloads$ ./openMobile-0.8-linux-x64.bin
    The setup screen comes up. I click "Forward" and use the default path of "/home/user/openMobile" as my installation path and click Forward. Setup is now ready to begin.... I click "Forward" and the installer runs and then says "Installation Completed" but only the "Cancel" button has the option to be selected. I then notice on the command line
    Code:
    [sudo] password for user:
    Ok, so it is waiting for a sudo password, I enter it. This results in second window come up with the following

    "Error running sudo mono '/opt/openMobile/Tools/OpenInstaller.exe' -install : child process exited abnormally"

    I click "OK" to close the error message, and then the first windows tells me that "Setup has finished installing Open Mobile on your computer" and gives me the option to click "Finish". Odd, since I received an error while installing.

    Lets see what is going on
    Code:
    user@machine:~/Downloads$ ls -l /opt/ |grep openmobile
    user@machine:~/Downloads$
    Hrmmm, it looks like /opt/openMobile never gets created, perhaps an issue with waiting for elevated sudo privileges. The installer never really completely like it said it did.

    Let me try by running the installer using sudo

    Code:
    user@machine:~/Downloads$ sudo ./openMobile-0.8-linux-x64.bin
    The setup screen comes up. I click "Forward" and use the default path of "/opt/openMobile" as my installation path and click Forward. Setup is now ready to begin.... I click "Forward" and the installer runs and then says "Installation Completed" but 1 second later a window pops up with the following

    Window Title = ROOT:Error
    Code:
    Error running sudo mono '/opt/openMobile/Tools/OpenInstaller.exe' -install : 
    ** (/opt/openMobile/Tools/OpenInstaller.exe:21644): WARNING **: The following assembly referenced from /opt/openMobile/Tools/OpenInstaller.exe could not be loaded:
         Assembly:   System.Windows.Forms    (assemblyref_index=1)
         Version:    2.0.0.0
         Public Key: b77a5c561934e089
    The assembly was not found in the Global Assembly Cache, a path listed in the MONO_PATH environment variable, or in the location of the executing assembly (/opt/openMobile/Tools/).
    
    
    ** (/opt/openMobile/Tools/OpenInstaller.exe:21644): WARNING **: Could not load file or assembly 'System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies.
    
    Unhandled Exception: System.IO.FileNotFoundException: Could not load file or assembly 'System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies.
    File name: 'System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'

  2. #2
    Newbie
    Join Date
    Feb 2012
    Posts
    22
    It looks like installing libmono-winforms2.0-cil did the trick.

    Code:
    sudo apt-get install libmono-winforms2.0-cil
    Still trying to figure a few things out but I'm one step further now

  3. #3
    Variable Bitrate
    Join Date
    Jul 2010
    Posts
    320
    Openmobile looks like it has some promise, I hope the devs and testers are still working on it.
    Thanks! Dev's and testers are still around...

    On to the issue though: I am not a linux guy at all fyi, but here, all the way at the bottom, is a rev671-linux.zip (http://openmobile.sourceforge.net/main/trunk/). Would you mind trying that one please. The 671 for windows doesn't need to be installed, so not sure about the linux side. But I did notice that the version you had said 0.8. and OM's come a long way since then. Just be aware that the build isn't 100% bug free.
    Current Worklog: TBA - '05 Rav4 (Mobo Dead).
    www.rav4world.com - Forums for Rav4 owners
    www.flavorfeasts.com - Cooking website/forums
    -Basic forums live atm, come contribute!

  4. #4
    Newbie
    Join Date
    Feb 2012
    Posts
    22
    Quote Originally Posted by detlion1643 View Post
    Thanks! Dev's and testers are still around...

    On to the issue though: I am not a linux guy at all fyi, but here, all the way at the bottom, is a rev671-linux.zip (http://openmobile.sourceforge.net/main/trunk/). Would you mind trying that one please. The 671 for windows doesn't need to be installed, so not sure about the linux side. But I did notice that the version you had said 0.8. and OM's come a long way since then. Just be aware that the build isn't 100% bug free.
    Thanks for your response. It is great to hear from someone so promptly. I downloaded the rev671-linux-zip as you suggested. I unzipped the file then ran mono OpenMobile.exe, the results were not happy. Did I miss instructions on how to properly run Trunk (or any other version) in Linux?
    Code:
    mono ./OpenMobile.exe
    
    Unhandled Exception: System.TypeInitializationException: An exception was thrown by the type initializer for OpenMobile.Core ---> System.TypeInitializationException: An exception was thrown by the type initializer for OpenMobile.PluginHost ---> System.TypeInitializationException: An exception was thrown by the type initializer for OpenMobile.DisplayDevice ---> System.PlatformNotSupportedException: This platform is not supported.
      at OpenMobile.Platform.Factory+UnsupportedPlatform.CreateDisplayDeviceDriver () [0x00000] in <filename unknown>:0 
      at OpenMobile.DisplayDevice..cctor () [0x00000] in <filename unknown>:0 
      --- End of inner exception stack trace ---
      at OpenMobile.PluginHost..cctor () [0x00000] in <filename unknown>:0 
      --- End of inner exception stack trace ---
      at OpenMobile.Core..cctor () [0x00000] in <filename unknown>:0 
      --- End of inner exception stack trace ---

  5. #5
    Newbie
    Join Date
    Feb 2012
    Posts
    22
    I've downloaded many versions and anything after version 626 I get errors trying to run OM. Were there dependency or dependency version changes from revision 626 to 627?
    Code:
     mono Open\ Mobile.exe
    
    Unhandled Exception: System.TypeInitializationException: An exception was thrown by the type initializer for OpenMobile.Core ---> System.TypeInitializationException: An exception was thrown by the type initializer for OpenMobile.PluginHost ---> System.TypeInitializationException: An exception was thrown by the type initializer for OpenMobile.DisplayDevice ---> System.PlatformNotSupportedException: This platform is not supported.
      at OpenMobile.Platform.Factory+UnsupportedPlatform.CreateDisplayDeviceDriver () [0x00000] in <filename unknown>:0 
      at OpenMobile.DisplayDevice..cctor () [0x00000] in <filename unknown>:0 
      --- End of inner exception stack trace ---
      at OpenMobile.PluginHost..cctor () [0x00000] in <filename unknown>:0 
      --- End of inner exception stack trace ---
      at OpenMobile.Core..cctor () [0x00000] in <filename unknown>:0 
      --- End of inner exception stack trace ---

  6. #6
    Maximum Bitrate jmullan99's Avatar
    Join Date
    Feb 2009
    Location
    Niagara Falls, Ontario
    Posts
    562
    Hi Gumby. I'm one of the testers. Although I only test on Windows.

    As Detlion mentioned, devs are still around. The latest build was just done yesterday in fact. However, everyone is in different timezones and work different hours, etc. So it may take a day to get some additional responses.

    Now, if I recall, there was a call out for somebody to check and test against Linux. Perhaps you are interested in being this person? I will try to have one of the others get back to you on this issue.

    John
    ZOTAC G43ITX-A-E 2.5ghz Core i3 2GB 160GB SSD
    Win7 Ultimate - OpenMobile - Directed HD - Wifi
    OMMaps + MS GPS Puck - WiFi via LTE Android phone
    2 Zones - Matrix Orbital LCD - Arduino - Build Pics

  7. #7
    Newbie
    Join Date
    Sep 2005
    Posts
    37
    I've had Ubuntu 11.10 installed for a week, so maybe I can help. I haven't tried the installer yet (maybe I can try it tonight), but can you see if you have System.*.dll in /usr/lib/mono/2.0 ? Specifically System.Windows.Forms.dll

    Edit- for some reason I didn't read the rest of your posts, and your current issue about initializing the display - it didn't detect that you're running under linux and never created an X11 display device.

    I can help more when I'm out of work (I'm east coast US)
    Last edited by Efess; 03-14-2012 at 08:41 AM.

  8. #8
    Variable Bitrate heezer7's Avatar
    Join Date
    May 2004
    Location
    IL, USA
    Posts
    255
    Yeah I can't say I have run it under linux in months and yes the easiest way was to just upzip the latest build and mono openmobile.exe it. Based on the exception my guess would be Justin was working on the opengl code to work on ARM chips and under opengles. Something in there must has messed with the linux detection process.

  9. #9
    Variable Bitrate Borte's Avatar
    Join Date
    Jan 2006
    Location
    Norway
    Posts
    445
    I'm not a Linux guru at all but I did set up a "how to" in this thread for OM on ubuntu: http://www.mp3car.com/openmobile/147...on-ubuntu.html maybe some off this might be of help.

    Btw: The latest builds (rev 671) isn't fully tested on Linux yet so they might fail. I'll see if I can do a quick test tonight.
    Failure is not an option...
    __________________________________________________ ______________________________
    The only full multizone / multiscreen cross platform open source Front End -> OpenMobile

  10. #10
    Newbie
    Join Date
    Feb 2012
    Posts
    22
    Quote Originally Posted by Borte View Post
    I'm not a Linux guru at all but I did set up a "how to" in this thread for OM on ubuntu: http://www.mp3car.com/openmobile/147...on-ubuntu.html maybe some off this might be of help.

    Btw: The latest builds (rev 671) isn't fully tested on Linux yet so they might fail. I'll see if I can do a quick test tonight.
    Good morning/afternoon/evening to you all. Thanks for all your responses, it is good to see an active community.

    @Borte: Thanks for the suggestions. I did read and follow your thread however you missed a few dependencies or they have changed or are different in later versions of Ubuntu. Missing were libmono-windowsbase3.0-cil and libmono-corlib1.0-cil and most likely some of the dependencies that apt brought in when installing them.

    @heezer7: You may be on the right track.

    @Efess: I'm not a developer but I can usually follow through a bit of code for troubleshooting purposes. If I have some time maybe I will try to find the OS detection snippet of code and see what it is trying to detect and why it is failing for me.

    @John: I may be interested in testing and helping out. I generally use Linux as my primary OS of choice.

Page 1 of 3 123 LastLast

Similar Threads

  1. Ubuntu 10, is it right for what I want to do?
    By HiJackZX1 in forum Off Topic
    Replies: 12
    Last Post: 10-14-2010, 04:55 PM
  2. Ubuntu 10.10
    By SapporoGuy in forum Linux
    Replies: 2
    Last Post: 08-27-2010, 03:09 PM
  3. Ubuntu MID OS
    By GatorGolfer11 in forum LinuxICE
    Replies: 3
    Last Post: 02-25-2010, 04:44 PM
  4. Ubuntu as a car PC
    By danmiddle2 in forum Linux
    Replies: 32
    Last Post: 01-26-2009, 08:45 AM
  5. cup o' ubuntu
    By tripzero in forum Linux
    Replies: 7
    Last Post: 09-19-2006, 01:35 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •