[Python-Dev] Addition of "pyprocessing" module to standard lib.

"Martin v. Löwis" martin at v.loewis.de
Thu May 22 23:06:37 CEST 2008


> % make
> cc -c  -DNDEBUG -O  -I. -IInclude -I./Include  -DPy_BUILD_CORE -o Modules/python.o ./Modules/python.c
> "/usr/include/sys/feature_tests.h", line 353: #error: "Compiler or
> options invalid for pre-UNIX 03 X/Open applications 	and pre-2001
> POSIX applications"
> cc: acomp failed for ./Modules/python.c

which cc?

It works fine for me, with

cc: Sun C 5.9 SunOS_sparc Patch 124867-01 2007/07/12

(it just complains about not supporting -OPT:Olimit)


> *** Error code 2
> make: Fatal error: Command failed for target `Modules/python.o'
> %
> 
> So maybe Python just doesn't run on Solaris with the Sun C compiler.
> Certainly doesn't build out of the box.

Apparently, there were some intermediate releases of SunPRO which had
this problem; in these cases, setting -xc99=%none may help.

Regards,
Martin


More information about the Python-Dev mailing list