MojoSDK on Fedora
Installing the Mojo SDK on Fedora 11
- 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 ).
- Install the RPM:
rpm -ivh VirtualBox-<version>_fedora11-1.<platform>.rpm
- Download the Ubuntu deb package of the Mojo SDK from:
- Download 'alien' package conversion tool:
You will need RPM building packages installed for the following method:
- Build an RPM of alien and install it:
rpmbuild -tb alien_<version>.tar.gz rpm -ivh ~/rpmbuild/RPMS/noarch/alien-<version>.rpm
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.
- Use Alien to change the .deb file into a .tgz archive (the RPM feature of alien didn't work for me):
alien -tc palm_mojo_sdk-Ubuntu-<version>.deb
Alien should report that the .tgz version is generated.
- Extract the .tgz version:
mkdir tmp cd tmp tar -xzf ../palm-sdk-<version>.tgz
- Copy the extracted files into place:
cp -a opt/* /opt cp -a usr/* /usr
- Run the installation script:
install/doinst.sh
The script above should add a few entries into your /etc/hosts file.
- Download the Novacom linux drivers linked on this page:
Palm Novacom Linux Driver Wiki Page
- This too will be a .deb. You will convert and install it the same way you did the SDK:
alien -tc palm-novacom_<version>_i386.deb mkdir novacom cd novacom tar -xzf ../palm-novacom-<version>.tgz cd novacom cp -a opt/* /opt cp -a usr/* /usr
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
- Copy the novacomd-upstart script into place:
cp /opt/Palm/novacom/novacomd-upstart /etc/event.d/palm-novacomd
- Start the novacomd driver:
start palm-novacomd
- As your normal user account, launch the emulator. The first launch will install it into VirtualBox.
/opt/PalmSDK/Current/bin/palm-emulator
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