By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,627 Members | 1,211 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,627 IT Pros & Developers. It's quick & easy.

python 2.5 build problem on AIX 5.3

P: n/a
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
Oct 11 '06 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.