compiling python on irix for samba4
Matthieu Patou
mat at samba.org
Sun Dec 12 03:37:55 MST 2010
Tridge,
I tested you script for compiling python, here is the result on irix:
cc -c -OPT:Olimit=0 -DNDEBUG -O -I. -IInclude -I./Include
-DPy_BUILD_CORE -o Objects/unicodectype.o Objects/unicodectype.c
cc -c -OPT:Olimit=0 -DNDEBUG -O -I. -IInclude -I./Include
-DPy_BUILD_CORE -o Python/_warnings.o Python/_warnings.c
cc -c -OPT:Olimit=0 -DNDEBUG -O -I. -IInclude -I./Include
-DPy_BUILD_CORE -o Python/Python-ast.o Python/Python-ast.c
cc-1185 cc: WARNING File = Python/Python-ast.c, Line = 614
An enumerated type is mixed with another type.
*out = (obj == Py_True);
^
cc-1028 cc: ERROR File = Python/Python-ast.c, Line = 6460
The expression used must have a constant value.
PyObject *req_type[] = {(PyObject*)Module_type,
(PyObject*)Expression_type,
^
cc-1028 cc: ERROR File = Python/Python-ast.c, Line = 6460
The expression used must have a constant value.
PyObject *req_type[] = {(PyObject*)Module_type,
(PyObject*)Expression_type,
^
cc-1028 cc: ERROR File = Python/Python-ast.c, Line = 6461
The expression used must have a constant value.
(PyObject*)Interactive_type};
^
3 errors detected in the compilation of "Python/Python-ast.c".
make: *** [Python/Python-ast.o] Error 2
So no success building python on irix. If you have an idea please tell me !
Matthieu
--
Matthieu Patou
Samba Team http://samba.org
Private repo http://git.samba.org/?p=mat/samba.git;a=summary
More information about the samba-technical
mailing list