How to Compile Titanium Appcelerator Source Code in Linux Ubuntu 11

This document explains the steps to compile Titanium Appcelerator in Ubuntu 11

1. Install Phyton

Follow these steps wget http://www.python.org/ftp/python/2.5.5/Python-2.5.5.tgz tar -xvzf Python-2.5.5.tgz cd Python-2.5.5 ./configure –prefix=/usr/local/python2.5 make make test sudo make install sudo ln -s /usr/local/python2.5/bin/python /usr/bin/python2.5

2. Install Scons

Visit the www.scons.org website and select the “Tarball”, because we are going to build the scons manually

3. Download the Appcelerator source code from GitHub

4. Make sure that you extract the sourcecode files into the folder which contains NO space, otherwise it will not be able to compile later on

5. Set the JAVA_HOME

Type: JAVA_HOME= Type: export JAVA_HOME

6. Set the PATH

Type: PATH=$JAVA_HOME/bin:$PATH Type: export PATH

7. In Linux, you can only build android codes, so you need to add the Android SDK into your scons parameter as follow

scons android_sdk=

for example: scons android_sdk=/apps/android/androidSDK11/android-sdk-linux_x86/

8. Compiling and make sure that you see the BUILD SUCCESSFUL

Google API

Possible Errors: 1. package com.google.android.maps does not exist

Make sure that you have installed the Google API in the Android SDK. How to do this? Use the Android SDK and AVD Manager to install Google API from the Available Packages, then select Google Inc, and select the latest Google API.

Google API

You might need to add the maps.jar into the ANT build classpath. Edit the common.xml, and Find the path id=”android”, to add the maps.jar

Google API

iPhone JailBreak Novice Guide

Hi Guys, after spending the whole weekend, I finally managed to jailbreak my first iPhone 3.1.3. This article will explain detailed step by step how to jailbreak iPhone 3.1.3 for beginners.

Read more

Lotus Quickr – How to Add Group Membership

This is the first article of the complete four useful tricks on Lotus Quickr 8.1.1 WebSphere Portal version. This article will talk about how to add the group membership in the Quickr.

Read more

How to Change the WAS on AIX TimeZone Setting

Actually, the basic way to change the WAS on AIX TimeZone setting is to change the AIX server date/time & timezone using SMITTY tool. But if you cannot, then follow the rest of this article to get it done.

Read more

IBM WCM Expiry and Process Now Behavior

Some of you may have encountered some problem when trying to identify the different purposes of the IBM WCM Expiry and Process Now buttons. Just click on the ‘read more’ link of this article and you will find the clue.

Read more

Internet Explorer (IE) 7 and 8 Back Button Behavior for Post Method

Some of  you may have experienced the strange behavior for some of the Websphere Portal, especially in the WCM related pages, that when you click the Browser (IE) BACK button, it throws “Webpage has expired” message

Read more

EPHOX – New Way for IBM WCM Rich Text Editor

Hi Folks,

It’s been a very long time not to post anything into my blog. It’s been very busy lately. Well, now let me start off by posting new technology on how to use EPHOX and customize it to replace the IBM WCM Rich Text Editor (RTE)

Read more

WebSphere Portal 6.0 Multi /GET/Command.Login issue

Hi Folks,

After months of troubleshooting in our client side, we finallymanaged to solve the Multi /GET/Command.Login issue in our WebSphere Portal environment.

Read more

Lotus Domino Quickr Group Authorization not Working

Hi Folks,

What a long weekend, just to troubleshoot why the Group Authorization does not work in my Lotus Domino Quickr server. Actually it is just a silly mistake that I did when adding the group into that Place ACL. Basically these are the correct steps…

Read more

WCM Syndication – Failed to Fetch Error

Hi Folks,

Last weekend I hit the “Failed to Fetch” error during the WCM Syndication. After consulting to several IBM engineers, I finally managed to solve it.

This article shows you how to solve this issue.

Read more

Follow

Get every new post delivered to your Inbox.