Page 1 of 2 12 LastLast
Results 1 to 10 of 15

Thread: OM on Ubuntu

  1. #1
    Variable Bitrate Borte's Avatar
    Join Date
    Jan 2006
    Location
    Norway
    Posts
    445

    OM on Ubuntu

    I'm starting this new thread so that people that are new to linux (like me) can get some help to get OM up and running on linux (even being able to develop on linux).

    Since I don't know anything about linux my self I need some basic step by steps...
    I got a nice how to list from Kevin in another thread but it seems I need some more (the quote below is from that thread).

    Quote Originally Posted by kross View Post
    Go to http://www.virtualbox.org/ and install VirtualBox.
    Go to http://www.ubuntu.com/ and download an Ubuntu .iso disk image.
    Run VirtualBox, and create a new Virtual Machine. Select Linux Ubuntu as the OS type, and use defaults for the rest of the options.
    Click settings, then click Storage, and associate the virtual CD-ROM drive for the VM to the .iso image you downloaded. This will let you boot the VM from the .iso to install Ubuntu into the VM.
    Start the VM, letting it boot from the .iso image. Install Ubuntu onto your VM.
    When it's done installing, you'll need to reboot the VM. Before starting the VM again, make sure you go back into settings, and remove the .iso image, so it doesn't try booting from the .iso image again.

    Now you should have Ubuntu installed in a VM. But when you run it, you'll need to install some development tools. Go to a command prompt (you can also do this from the GUI, but I find command line easier), and install some stuff:

    sudo apt-get install subversion monodevelop

    You'll use subversion to check out the source code into your home folder. This is the command line version of subversion, it doesn't have the nice shell integration like TortoiseSVN. Monodevelop is the development environment, similar to Visual Studio (it can read VS solution and project files).

    I think you'll need some extra library dependencies, as I mentioned in another Linux thread here. libgdiplus and libndesk-dbus-glib1.0-cil-dev are the ones that immediately come to mind. Just apt-get install them, like above.

    This is the bare minimum to get you going. If you run into problems, give me a shout!

    -- Kevin
    I'll try to provide a list of what's needed to load here:

    • libgdiplus
    • libndesk-dbus-glib1.0-cil-dev
    • libasound2
    • libasound2-dev

    Use the following line in a terminal window to load the above libraries:
    Code:
    sudo apt-get install libgdiplus libndesk-dbus-glib1.0-cil-dev libasound2 libasound2-dev

    The following is only valid when testing OM by running the code from Monodevelop (otherwise this is handled by the installer):
    Copy the file libgstreamersharpglue-0.10.so from the OMPlayer folder located under plugin-farm in the source code downloaded from svn to /usr/local/lib by using the following code for a 32bit install:
    Code:
    sudo cp openmobile/branches/plugin-farm/OMPlayer/lin32/libgstreamersharpglue-0.10.so /usr/local/lib
    Then register this new library with the code:
    Code:
    sudo ldconfig
    You should now be ready to test OM by running it from MonoDevelop.

    To add microsoft font's (to allow usage of webdings font) use the following code:
    Code:
    sudo apt-get install msttcorefonts
    sudo fc-cache -fv
    Last edited by Borte; 04-30-2011 at 03:55 PM.
    Failure is not an option...
    __________________________________________________ ______________________________
    The only full multizone / multiscreen cross platform open source Front End -> OpenMobile

  2. #2
    Variable Bitrate
    Join Date
    Jun 2008
    Location
    Seattle, WA
    Posts
    365
    Ah yes, I knew I was forgetting something. See my last post in this thread: http://www.mp3car.com/openmobile/146...too-linux.html

    Basically, libgstreamersharpglue-0.10.so isn't installed. It doesn't exist in the Ubuntu repositories, you need to copy it manually to /usr/local/lib, and run ldconfig after copying it.

    -- Kevin

  3. #3
    Variable Bitrate Borte's Avatar
    Join Date
    Jan 2006
    Location
    Norway
    Posts
    445
    I read that thread before posting. I was trying to find a package for it, wasn't realizing I had to manually copy and register it. I'll try that. Thanks again.

    Edit: Seems like I have to start over... Ubuntu doesn't boot anymore, gives me a Kernel panic message...
    Last edited by Borte; 04-24-2011 at 05:19 PM.
    Failure is not an option...
    __________________________________________________ ______________________________
    The only full multizone / multiscreen cross platform open source Front End -> OpenMobile

  4. #4
    Maximum Bitrate jmullan99's Avatar
    Join Date
    Feb 2009
    Location
    Niagara Falls, Ontario
    Posts
    564
    At some point I would be happy to try this out. But if/when a running (even if not perfect) version of OM has been achieved it would be nice if someone re-built the VM so others can install Virtual Box and give it a spin

    I know there are other things like specific drivers some folks will need to worry about, but I'm sure we'll work it out.

    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

  5. #5
    Variable Bitrate Borte's Avatar
    Join Date
    Jan 2006
    Location
    Norway
    Posts
    445
    Quote Originally Posted by jmullan99 View Post
    At some point I would be happy to try this out. But if/when a running (even if not perfect) version of OM has been achieved it would be nice if someone re-built the VM so others can install Virtual Box and give it a spin
    You mean a fully working preconfigured vm (virtualbox or vmware) that is downloadable?
    Failure is not an option...
    __________________________________________________ ______________________________
    The only full multizone / multiscreen cross platform open source Front End -> OpenMobile

  6. #6
    Maximum Bitrate jmullan99's Avatar
    Join Date
    Feb 2009
    Location
    Niagara Falls, Ontario
    Posts
    564
    Yup! Well, practical I wouldn't know. But ya, a VM with a working OM, updatable. I know different hardware needs different drivers, but Linux tends to be pretty good at covering most of the bases.

    I needed a Linux box for one particular recurring chore at work. I got the VMWare player and a prebuilt Debian VM. Works pretty good for what I need and I didn't have to get into the bowels of Linux to do it. Doing this would help some of us that want to test if their little one-off custom plugins will work in Linux.

    Just a thought. If it's a fruitless effort, flames are tolerated
    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
    Variable Bitrate Borte's Avatar
    Join Date
    Jan 2006
    Location
    Norway
    Posts
    445
    I don't know enough about linux to know how hard it would be to have OM auto update but it should be doable. A dev computer which can get the latest svn should at least be possible (like what's described above).

    One problem might be where to host it, another would be license restrictions (if any).

    ---------- Post added at 11:31 PM ---------- Previous post was at 11:08 PM ----------

    Quote Originally Posted by kross View Post
    Basically, libgstreamersharpglue-0.10.so isn't installed. It doesn't exist in the Ubuntu repositories, you need to copy it manually to /usr/local/lib, and run ldconfig after copying it.
    Got it to work. Had to copy it with elevated privileges to get around some permission problems. Thanks for your help.
    Failure is not an option...
    __________________________________________________ ______________________________
    The only full multizone / multiscreen cross platform open source Front End -> OpenMobile

  8. #8
    Variable Bitrate
    Join Date
    Jun 2008
    Location
    Seattle, WA
    Posts
    365
    Quote Originally Posted by Borte View Post
    I don't know enough about linux to know how hard it would be to have OM auto update but it should be doable. A dev computer which can get the latest svn should at least be possible (like what's described above).
    In general, programs in Linux should never auto-update.

    Quote Originally Posted by Borte View Post
    One problem might be where to host it, another would be license restrictions (if any).
    I think Bittorrent would be the best way to distribute VM images. It wouldn't require much bandwidth from any one person, once enough people start seeding. I don't believe there would be any restrictions on distributing Linux VM images.

    Quote Originally Posted by Borte View Post
    Got it to work. Had to copy it with elevated privileges to get around some permission problems. Thanks for your help.
    Yeah, I forgot to mention you would need to use su or sudo. Glad you got it working.

    -- Kevin

  9. #9
    Variable Bitrate Borte's Avatar
    Join Date
    Jan 2006
    Location
    Norway
    Posts
    445
    Quote Originally Posted by kross View Post
    In general, programs in Linux should never auto-update.
    I meant an update that the user would start from within the vm itself. Like a link running a script that would get the latest svn for OM. Is that possible? Kinda like a bat file for windows.

    Quote Originally Posted by kross View Post
    I think Bittorrent would be the best way to distribute VM images.
    Not if we want to have some kind of control over versions as soon as you release it onto torrent it would end up as multiple versions. It would be easier if we had one single place for hosting (preferably our own OM site but I dont the size limits for the site).[/QUOTE]
    Failure is not an option...
    __________________________________________________ ______________________________
    The only full multizone / multiscreen cross platform open source Front End -> OpenMobile

  10. #10
    Variable Bitrate
    Join Date
    Jun 2008
    Location
    Seattle, WA
    Posts
    365
    To get the latest source code, all you need to do is run "svn update" from the source folder. But yeah, if you want to put that in a script, with a desktop icon, there's no reason you couldn't do that.

    As for Bittorrent, I was just suggesting a way to host large files without worrying about size or bandwidth limits on your web server.

Page 1 of 2 12 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
  •