What I did was to compile the thing directly on the iPod, and to do that I went through the following steps:
- Jailbreak: I used QuickPWN 2.2.5 under Windows (it did not work on my Mac for some reason) and that was quite easy.
- Install SSH on the iPod using Cydia (there is an entry in the main menu showing you how to do that).
- SSH in to your iPod as the root user with password "alpine".
- Install Python, the gcc compiler, the code signing tool, and make by issuing this command: apt-get install python iphone-gcc ldid make (alternatively you could install it using Cydia it you like).
- Download the SDK headers, you may find them along with a description of how to use them here.
- [Optional] Download the libjpeg source if you want jpeg support. Untar the source bundle, enter the directory containing the source and issue the following commands:
export C_INCLUDE_PATH=/var/include/
./configure --prefix=/usr/
make
make install
make install-lib - Download the PIL source and unpack it.
- Enter the source directory and issue the following commands:
python setup.py build
python setup.py install
ldid -S /usr/lib/python2.5/site-packages/PIL/*.dylib
No comments:
Post a Comment