webOS Nation Forums >  webOS apps and software >  webOS development > WebOS SDK on Ubuntu 11.04
WebOS SDK on Ubuntu 11.04

  Reply
 
LinkBack Thread Tools Display Modes
Old 06/22/2011, 08:33 AM   #1 (permalink)
Member
 
Shura's Avatar
 
Join Date: Dec 2009
Location: Russia
Posts: 182
Likes Received: 0
Thanks: 9
Thanked 31 Times in 17 Posts
Default WebOS SDK on Ubuntu 11.04

Hello.

Can anybody explain how to install WebOS SDK on Ubuntu 11.04? The SDK is supporting VirtualBox 3.x only, but Ubuntu has VirtualBox 4.x in their repos.
So, how to install old virtualbox on Ubuntu 11.04?
__________________
Jabber: shura0@ya.ru
Shura is offline   Reply With Quote
Old 06/22/2011, 10:15 AM   #2 (permalink)
Member
 
Join Date: Jun 2009
Posts: 1,041
Likes Received: 9
Thanks: 26
Thanked 100 Times in 67 Posts
Default

You need to use the Ubuntu Software Center to remove VirtualBox 4. Then go to Virtual Box's website and download the proper old version of virtual box (for Ubuntu, a .deb version). Follow the instructions on how to install (if they don't have those instructions: Ubuntu Desktop Guide - Install/uninstall .deb files ).
6tr6tr is offline   Reply With Quote
Old 06/22/2011, 10:20 AM   #3 (permalink)
Member
 
giggles's Avatar
 
Join Date: Apr 2010
Posts: 677
Likes Received: 17
Thanks: 45
Thanked 51 Times in 42 Posts
Default

ive been trying out how to do this myself. but with the webos 3.0 sdk
giggles is offline   Reply With Quote
Old 06/22/2011, 12:00 PM   #4 (permalink)
Member
 
unfairSurprisery's Avatar
 
Join Date: Nov 2009
Location: Utah
Posts: 261
Likes Received: 0
Thanks: 7
Thanked 65 Times in 56 Posts
Default

FWIW, the palm emulator images work fine with VirtualBox 4, it's just the palm cli scripts that don't work. Just manually load the images from the SDK install directory into VirtualBox.
__________________
danNielson.com - Slalom - twitter - facebook
A posted thanks dies with the thread. Clicking the button lasts until the admins get bored with this site and throw it in the recycling bin.
unfairSurprisery is offline   Reply With Quote
Old 06/22/2011, 12:52 PM   #5 (permalink)
Member
 
giggles's Avatar
 
Join Date: Apr 2010
Posts: 677
Likes Received: 17
Thanks: 45
Thanked 51 Times in 42 Posts
Default

what are the palm cli scripts?
giggles is offline   Reply With Quote
Old 06/22/2011, 01:13 PM   #6 (permalink)
Member
 
Join Date: Jun 2009
Posts: 1,041
Likes Received: 9
Thanks: 26
Thanked 100 Times in 67 Posts
Default

Quote:
Originally Posted by giggles View Post
what are the palm cli scripts?
command-line-interface. It's the commands like palm-emulator, etc.
6tr6tr is offline   Reply With Quote
Old 06/22/2011, 01:19 PM   #7 (permalink)
Member
 
unfairSurprisery's Avatar
 
Join Date: Nov 2009
Location: Utah
Posts: 261
Likes Received: 0
Thanks: 7
Thanked 65 Times in 56 Posts
Default

Most Windows users probably just double-click 'palm-emulator' in the folder the SDK made on your desktop, or click on the link in the start menu. That link just opens the Command-Prompt and runs a script. For everyone else, when you type palm-emulator into the Command-Line-Interface(bash, windows command prompt) you're running a script that ask you what emulator you want to run, imports the desired disk image into a VirtualBox machine and runs it. VirtualBox 4 takes different command-line arguments then 3.x does, and that's why the SDK requires a 3.x version, because they *still haven't re-written the scripts to use the new command-line interface for VirtualBox.

If you install a 3.x VirtualBox, then run all the different emulators(Pre/Pixi/TouchPad) once, they should now be imported into VirtualBox(i.e. you see them listed when you run VirtualBox from the start/whatever menu). Once they're all there, you can then safely upgrade your VirtualBox to 4.x you'll just have to run the emulators from the VirtualBox interface instead of the palm-emulator command.

Alternatively, if you're comfortable with VirtualBox, you can import the virtual machines manually and bypass the 'run each emulator from the palm-emulator menu once' step.
__________________
danNielson.com - Slalom - twitter - facebook
A posted thanks dies with the thread. Clicking the button lasts until the admins get bored with this site and throw it in the recycling bin.
unfairSurprisery is offline   Reply With Quote
Thanked By: zelmo
Old 06/23/2011, 07:04 AM   #8 (permalink)
Member
 
Shura's Avatar
 
Join Date: Dec 2009
Location: Russia
Posts: 182
Likes Received: 0
Thanks: 9
Thanked 31 Times in 17 Posts
Default

Wow! It's realy working. So, SDK works well with VirtualBox4.
__________________
Jabber: shura0@ya.ru
Shura is offline   Reply With Quote
Reply

 

Tags
sdk, ubuntu, virtual box

Thread Tools
Display Modes



 


Content Relevant URLs by vBSEO 3.6.0