MojoSDK on Fedora

Installing the Mojo SDK on Fedora
This guide describes how to install the Mojo SDK provided by Palm and Novacom on a Fedora system. The procedure described is an extension of the post by mtk on the TreoCentral forums. It is current as of Fedora 15 and palm-sdk_1.4.5-svn307799-sdk1457-pho465.

Commands shown in this guide use the standard notation for indicating which can be run as the normal user and which must be run as root: commands preceded by "#" are to be run as root, whereas those preceded by "$" are to be run as the normal user.

Install VirtualBox
VirtualBox is available from RPM Fusion. Install VirtualBox and load the kernel modules:
 * 1) yum install VirtualBox-OSE
 * 2) /etc/sysconfig/modules/VirtualBox-OSE.modules

Install the Mojo SDK
Download the Ubuntu deb package of the Mojo SDK from the Official Palm SDK Page. deb files are simple archives that can be extracted using ar: $ ar xv palm-sdk_1.4.5-svn307799-sdk1457-pho465_i386.deb

Extract the contents of data.tar.gz and move them to their respective locations in your filesystem: $ tar -zxvf data.tar.gz
 * 1) mv opt/PalmSDK /opt/.
 * 2) mv usr/local/bin/* /usr/local/bin/.
 * 3) mv usr/share/doc/palm-sdk /usr/share/doc/.

Extract the contents of control.tar.gz and run the post-install script: $ tar -zxvf control.tar.gz
 * 1) ./postinst

Optionally clean up the extracted files: $ rm -fr debian-binary data.tar.gz control.tar.gz opt/ usr/ control md5sums postinst

Install Novacom
Installing the Novacom tool is now very easy for Fedora 15+ as it's been added to the Fedora repositories.

Install novacom from the Fedora repositories:
 * 1) yum install novacom

Start the novacomd service:
 * 1) systemctl start novacomd.service

If you want the novacom service to start on boot, run:
 * 1) systemctl enable novacomd.service

Run the Mojo SDK
The Mojo SDK should now be installed successfully. The first launch will load it into the VirtualBox environment. It can be launched from the command line: $ palm-emulator

Other Notes
For development, using Eclipse and the plugins for Mojo are strongly recommended. Installation instructions of these plugins can be found at the Official Palm Eclipse plugin Installation Guide

Install Mojo SDK on Fedora 11 (Legacy Instructions)
Note: These instructions provide an alternate method of installing the Mojo SDK on Fedora. These are more involved and therefore might not be as easy as the previous instructions. They are currently left here for historical reasons but may be removed in the future. VirtualBox Linux Downloads
 * Install VirtualBox RPM package available at:

''NOTE: If you're running Fedora 64 bit, get the AMD64 version. ( Even if you have an Intel Processor ).

rpm -ivh VirtualBox- _fedora11-1. .rpm
 * Install the RPM:

the Official PalmSDK Linux Page
 * Download the Ubuntu deb package of the Mojo SDK from:

Debian Alien utility
 * Download 'alien' package conversion tool:

''You will need RPM building packages installed for the following method: rpmbuild -tb alien_ .tar.gz rpm -ivh ~/rpmbuild/RPMS/noarch/alien- .rpm
 * Build an RPM of alien and install it:

''If rpmbuild gives an error similar to: error: File /download/pre/alien_8.77.tar.gz: No such file or directory

You'll need to extract the archive manually and edit the alien.spec file. Inside that file, find all instances of the old version number ( in my case 8.77 ) and replace it with the version number of the file you downloaded. ( in my case, 8.78 ). Once this is done, regenerate the tar.gz file with the following syntax: tar -czf alien_8.78.tar.gz alien

''Once this completes, then build and install the RPM as above.

alien -tc palm_mojo_sdk-Ubuntu- .deb
 * Use Alien to change the .deb file into a .tgz archive (the RPM feature of alien didn't work for me):

Alien should report that the .tgz version is generated.

mkdir tmp cd tmp tar -xzf ../palm-sdk- .tgz
 * Extract the .tgz version:

cp -a opt/* /opt cp -a usr/* /usr
 * Copy the extracted files into place:

install/doinst.sh
 * Run the installation script:

The script above should add a few entries into your /etc/hosts file.

Palm Novacom Linux Driver Wiki Page
 * Download the Novacom linux drivers linked on this page:

alien -tc palm-novacom_ _i386.deb mkdir novacom cd novacom tar -xzf ../palm-novacom- .tgz cd novacom cp -a opt/* /opt cp -a usr/* /usr
 * This too will be a .deb. You will convert and install it the same way you did the SDK:

''NOTE: If you are using Fedora 64bit, You'll need to install the 32bit version of libusb for the novacom driver to work. yum install libusb.i586

cp /opt/Palm/novacom/novacomd-upstart /etc/event.d/palm-novacomd
 * Copy the novacomd-upstart script into place:

start palm-novacomd
 * Start the novacomd driver:

/opt/PalmSDK/Current/bin/palm-emulator
 * As your normal user account, launch the emulator. The first launch will install it into VirtualBox.

'''For development, you should strongly consider using Eclipse and the plugins for Mojo. Installation instructions of these plugins can be found at: Official Palm Eclipse plugin Installation Guide