python 2.5 build problem on AIX 5.3

George Trojan george.trojan at noaa.gov
Wed Oct 11 17:41:51 EDT 2006


Is there a known problem with ctypes module on AIX? Google did not help 
me to find anything. Here is part of the output from "make":

building '_ctypes' extension
xlc_r -q64 -DNDEBUG -O -I. 
-I/gpfs/m2/home/wx22gt/tools/src/Python-2.5-cc/./Include 
-Ibuild/temp.aix-5.3-2.5/libffi/include -Ibuild/temp.aix-5.3-2.5/libffi 
-I/gpfs/m2/home/wx22gt/tools/src/Python-2.5-cc/Modules/_ctypes/libffi/src 
-I/u/wx22gt/tools/Python-2.5-cc/include -I./Include -I. 
-I/gpfs/m2/home/wx22gt/tools/src/Python-2.5-cc/Include 
-I/gpfs/m2/home/wx22gt/tools/src/Python-2.5-cc -c 
/gpfs/m2/home/wx22gt/tools/src/Python-2.5-cc/Modules/_ctypes/libffi/src/powerpc/aix.S 
-obuild/temp.aix-5.3-2.5/gpfs/m2/home/wx22gt/tools/src/Python-2.5-cc/Modules/_ctypes/libffi/src/powerpc/aix.o
Assembler:
line 1: 1252-162 Invalid -m flag assembly mode operand: PWR5X.
         Valid values are:COM PWR PWR2 PPC 601 603 604 PPC64 620 A35 
PWR4 PWR5 970 PPC970 PWR6 ANY

export OBJECT_MODE=64
cd $TOOLS/src/Python-2.5-cc
./configure --prefix=$TOOLS/Python-2.5-cc --with-gcc="xlc_r -q64" 
--with-cxx="xlC_r -q64" --disable-ipv6 AR="ar -X64"

George



More information about the Python-list mailing list