# Installation

The I Ching application is free software an can be obtain without any warranty from http://iching.sourceforge.net. To build you application for the SHARP SL5000:

1. After downloaded uncompress the tar ball:

   - tar zxvf iching.tar.gz
2. Check the environment is correctly set for the SHARP SL5000:

   - export QPEDIR=/opt/Qtopia/sharp
   - export QTDIR=/opt/Qtopia/sharp
   - export PATH=$QTDIR/bin:/usr/local/arm/bin:$PATH
   - export TMAKEPATH=/opt/Qtopia/tmake/lib/qws/linux-sharp-g++
3. Build and install (note that the files are installed in a different place than in the desktop version):

   - cd iching/
   - make clean
   - tmake -o Makefile iching.pr
   - make
4. To install it on a device, build an ipk package file:

   - mkipks iching.control (The resulting iching-0.1.ipk can be installed on the SL5000 by using Qtopia Desktop).