Announcement

Collapse
No announcement yet.

How to install on Ubuntu?

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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:
    [email protected]:~/Downloads$ chmod +x openMobile-0.8-linux-x64.bin 
    [email protected]:~/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:
    [email protected]:~/Downloads$ ls -l /opt/ |grep openmobile
    [email protected]:~/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:
    [email protected]:~/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
    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

    Comment


    • #3
      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!

      Comment


      • #4
        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 ---

        Comment


        • #5
          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 ---

          Comment


          • #6
            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
            03 Cadillac CTS
            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

            Comment


            • #7
              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, 08:41 AM.

              Comment


              • #8
                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.
                openMobile - Download
                Like what you see? Donations are always welcome

                Comment


                • #9
                  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

                  Comment


                  • #10
                    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.

                    Comment


                    • #11
                      Originally posted by gumby_ View Post
                      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.
                      My instructions where for Ubuntu 10.10 and it did work properly on that version but something probably changed in the later versions. Thanks for the heads up on the missing dependencies we need to make a new list when we get all the dependencies.

                      Did OM produce an debug log and / or appcrash file? If so could you pm it to me?

                      What kind of hardware are you running it on? Is it a embedded system?
                      Last edited by Borte; 03-14-2012, 03:36 PM. Reason: Additional info
                      Failure is not an option...
                      __________________________________________________ ______________________________
                      The only full multizone / multiscreen cross platform open source Front End -> OpenMobile

                      Comment


                      • #13
                        Originally posted by Borte View Post
                        My instructions where for Ubuntu 10.10 and it did work properly on that version but something probably changed in the later versions. Thanks for the heads up on the missing dependencies we need to make a new list when we get all the dependencies.

                        Did OM produce an debug log and / or appcrash file? If so could you pm it to me?

                        What kind of hardware are you running it on? Is it a embedded system?
                        Hi Borte,

                        I didn't see a debug log or appcrash file but I'll have a look tonight. What I will do is setup a VM, do a fresh 11.04 install, and and then work through dependencies and post what is necessary. I'll also get a debug log if there is one and pm it to you. (I might actually also test with the current debian stable and a lightweight WM also)

                        My hardware is basic desktop hardware other than the PSU and LCD.

                        Motherboard: Intel DG45FC
                        CPU: Intel E5300
                        Memory: 4GB DDR2
                        Video: Onboard Intel GMA
                        Display: Lilliput 669GL-70NP/C/T
                        Power: MiniBox m4-atx

                        Comment


                        • #14
                          Is Ubuntu one of the dist's that can as a live cd? If it can run as a live cd and is able to into the graphical side of it, I wouldn't mind testing it, if I can remember anything about linux. If it has to be installed, I'm kind of against that on my laptop as it's used for the family as well.

                          Off to research Ubuntu!
                          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!

                          Comment


                          • #15
                            Originally posted by detlion1643 View Post
                            Is Ubuntu one of the dist's that can as a live cd? If it can run as a live cd and is able to into the graphical side of it, I wouldn't mind testing it, if I can remember anything about linux. If it has to be installed, I'm kind of against that on my laptop as it's used for the family as well.

                            Off to research Ubuntu!
                            Yes Ubuntu does have a LiveCD. I find however that it is best to install updates before testing and if you use a livecd you will need enough memory to hold the packages that need to be downloaded for updating. I good approach for testing might be to download vmware player (free) and then download a ubuntu VM and play with it. Another benefit of this is that your testing will persist during shutdowns and reboots of the client OS (Ubuntu)

                            Comment

                            Working...
                            X