Compiling python2.5 on IBM AIX

pruebauno at latinmail.com pruebauno at latinmail.com
Tue Jul 17 13:56:23 EDT 2007


On Jul 17, 3:58 am, bravo.l... at gmail.com wrote:
> > I haven't compiled it myself, but I'm told that the installation I
> > work with was compiled with:
>
> > export PATH=$PATH:/usr/vacpp/bin:/usr/vacpp/lib
> > ./configure --with-gcc="xlc_r -q64" --with-cxx="xlC_r -q64" --disable-
> > ipv6 AR="ar -X64"
> > make
> > make install
>
> I've tried with the followong configuration :
> ----------
> export PATH=$PATH:/usr/vacpp/bin:/usr/vacpp/lib
> ./configure --prefix=${BASE} --with-gcc="xlc_r -q64" --with-cxx="xlC_r
> -q64" --disable-ipv6 AR="ar -X64" LDFLAGS="-L\${BASE}/lib/" PPFLAGS="-I
> \${BASE}/include/"
>
> make
> ---------
>
> but it doesn't compile either :
>
> make
>         xlc_r -q64 -c  -DNDEBUG -O  -I. -I./Include   -DPy_BUILD_CORE -
> o Modules/python.o ./Modules/python.c
>         xlc_r -q64 -c  -DNDEBUG -O  -I. -I./Include   -DPy_BUILD_CORE -
> o Modules/_typesmodule.o Modules/_typesmodule.c
>         xlc_r -q64 -c  -DNDEBUG -O  -I. -I./Include   -DPy_BUILD_CORE -
> o Parser/acceler.o Parser/acceler.c
>         xlc_r -q64 -c  -DNDEBUG -O  -I. -I./Include   -DPy_BUILD_CORE -
> o Parser/grammar1.o Parser/grammar1.c
>         xlc_r -q64 -c  -DNDEBUG -O  -I. -I./Include   -DPy_BUILD_CORE -
> o Parser/listnode.o Parser/listnode.c
>         xlc_r -q64 -c  -DNDEBUG -O  -I. -I./Include   -DPy_BUILD_CORE -
> o Parser/node.o Parser/node.c
>         xlc_r -q64 -c  -DNDEBUG -O  -I. -I./Include   -DPy_BUILD_CORE -
> o Parser/parser.o Parser/parser.c
>         xlc_r -q64 -c  -DNDEBUG -O  -I. -I./Include   -DPy_BUILD_CORE -
> o Parser/parsetok.o Parser/parsetok.c
>         xlc_r -q64 -c  -DNDEBUG -O  -I. -I./Include   -DPy_BUILD_CORE -
> o Parser/bitset.o Parser/bitset.c
>         xlc_r -q64 -c  -DNDEBUG -O  -I. -I./Include   -DPy_BUILD_CORE -
> o Parser/metagrammar.o Parser/metagrammar.c
>         xlc_r -q64 -c  -DNDEBUG -O  -I. -I./Include   -DPy_BUILD_CORE -
> o Parser/firstsets.o Parser/firstsets.c
>         xlc_r -q64 -c  -DNDEBUG -O  -I. -I./Include   -DPy_BUILD_CORE -
> o Parser/grammar.o Parser/grammar.c
>         xlc_r -q64 -c  -DNDEBUG -O  -I. -I./Include   -DPy_BUILD_CORE -
> o Parser/pgen.o Parser/pgen.c
>         xlc_r -q64 -c  -DNDEBUG -O  -I. -I./Include   -DPy_BUILD_CORE -
> o Parser/myreadline.o Parser/myreadline.c
>         xlc_r -q64 -c  -DNDEBUG -O  -I. -I./Include   -DPy_BUILD_CORE -
> o Parser/tokenizer.o Parser/tokenizer.c
>         xlc_r -q64 -c  -DNDEBUG -O  -I. -I./Include   -DPy_BUILD_CORE -
> o Objects/abstract.o Objects/abstract.c
>         xlc_r -q64 -c  -DNDEBUG -O  -I. -I./Include   -DPy_BUILD_CORE -
> o Objects/boolobject.o Objects/boolobject.c
>         xlc_r -q64 -c  -DNDEBUG -O  -I. -I./Include   -DPy_BUILD_CORE -
> o Objects/bufferobject.o Objects/bufferobject.c
> "Objects/bufferobject.c", line 22.15: 1506-275 (S) Unexpected text ','
> encountered.
> make: 1254-004 The error code from the last command is 1.
>
> any idea ?
>
> thanks
>
> --
> BL

Remove the extra comma at the end of line 22 of bufferobject.c
That should help you fix it.

I sent a bug report for that:

http://sourceforge.net/tracker/index.php?func=detail&aid=1557983&group_id=5470&atid=105470





More information about the Python-list mailing list