Python on Linux on Palm
20 08 06 - 20:25 Now that we expanded the rootfs, we actually should put something on it.Let's install Python, so we can program with it on the move.
Searching for an arm-linux version of Python gets us this... which looks rather nice.
Now, we can't just put in the url into the ipkg feed... because our Palm has no net connection. No wifi drivers, unfortunately.
Anyway, we can either set up usbnet (... maybe later), or we can just install from the SD card.
The packages can be downloaded from here. We need the "Modern" set of packages - we run Familiar 0.8. Now, we could grab all of these, and install them manually (ipkg install something.ipk), or you could let me do the hard work, and ...
Now, I made a custom installer package, which you can get here.
Unzip it to the SD card, such that there is a directory named Python inside the SD card.
Boot up to Linux on the Palm, and open a console, and run the following:
cd /media/mmc1/python/
chmod +x install.sh
./install.sh
Wait while it installs. Some of the packages fail to install if you don't have other libraries installed - ignore them, unless it's something important like libpython or python-core.
Once it's installed, type python at the console, and enjoy!
What should I install next? Maybe gcc, so that I can compile stuff right on the Palm!
Trackback link: http://gm.stackunderflow.com/blog/pivot/tb.php?tb_id=31