OESF Portables Forum

Everything Else => Zaurus Distro Support and Discussion => Distros, Development, and Model Specific Forums => Archived Forums => OpenBSD => Topic started by: sylvain on August 15, 2006, 12:53:40 pm

Title: [crosspost] Stackless Python For Openbsd/zaurus
Post by: sylvain on August 15, 2006, 12:53:40 pm
Hello,

I managed to port and run Stackless to OpenBSD for Zaurus.

WARNING: Stackless installed itselfs as a standard Python distribution, and will crush yours if no installation prefix is provided. I install mine in /usr/local/stackless to avoid this problems.

First, download and uncompress the version 2.4.3 on http://www.stackless.com (http://www.stackless.com)

Here is a link to the files to use for patching : http://basy.free.fr/stackless_arm_zaurus.tgz (http://basy.free.fr/stackless_arm_zaurus.tgz)

The recursive diff arm32.patch should work on any platform, with a little tweaking. The files specific to OpenBSD/Zaurus are the patch_* files.

To build for arm32 :
 - apply the arm32 patch;
 - ./configure=installationprefix;
 - add a -D__arm32__ to the OPT and the CPPFLAGS
 - make, make install

To build for OpenBSD/Zaurus
 - apply the arm32 patch;
 - ./configure --prefix=installationprefix
 - apply the patch_* on the proper files
 - make, make install

Sorry to produce post configure patches I'm not very fond/skilled in ./configure scripts.