[issue11946] 2.7.1 'test_commands' build test fails

Jason Vas Dias report at bugs.python.org
Sat Apr 30 13:57:48 CEST 2011


Jason Vas Dias <jason.vas.dias at gmail.com> added the comment:

BTW, while I'm here :

Any advice on how to setup a truly multi-architecture python installation? 

I'm considering doing something like :

1. build same python source for both 32-bit and 64-bit, with
   64-bit installing /usr/lib/python-$V as /usr/lib64/python-$V  &
   32-bit installing /usr/lib/python-$V as /usr/lib32/python-$V

2. Replace /usr/bin/python with a shell script or program which does
   something like (in shell):
  
   #!/bin/sh
   if "`uname -m`" = i686 ; then # I'm in a 'setarch i686' env
      exec /usr/bin/32/python${0#python} $*
   else
      exec /usr/bin/python${0#python} $*
   fi

Any thoughts about / advice on doing something like this ?

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11946>
_______________________________________


More information about the Python-bugs-list mailing list