This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Python 2.4.2c1 fails to build for 64-bit Solaris 9/10
Type: Stage:
Components: Build Versions: Python 2.4
process
Status: closed Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: jestone
Priority: normal Keywords:

Created on 2005-09-27 20:20 by jestone, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (2)
msg26404 - (view) Author: John Stone (jestone) Date: 2005-09-27 20:20
Python 2.4.2c1 fails to compile on Solaris 10, yielding
the following errors immediately in the build:
% setenv CC "cc"
% ./configure --prefix=/tmp/foo/pytest
--without-pymalloc --enable-threads --without-gcc
--without-cxx
% make OPT="-xc99=%none -xarch=native64"
cc -c  -xc99=%none -xarch=native64 -I. -I./Include 
-DPy_BUILD_CORE -o Modules/python.o Modules/python.c
"/usr/include/limits.h", line 290: invalid type combination
"/usr/include/limits.h", line 290: warning: useless
declaration
"/usr/include/limits.h", line 290: warning: typedef
declares no type name
"/usr/include/stdio.h", line 146: warning: useless
declaration
"/usr/include/stdio.h", line 146: warning: typedef
declares no type name
"/usr/include/sys/types.h", line 344: warning:
modification of typedef with "int" ignored
"/usr/include/sys/types.h", line 344: invalid type
combination
"/usr/include/sys/types.h", line 344: warning: useless
declaration
"/usr/include/sys/types.h", line 344: warning: typedef
declares no type name
"/usr/include/sys/types.h", line 484: invalid type
combination
"/usr/include/sys/types.h", line 484: warning: useless
declaration
"/usr/include/sys/types.h", line 484: warning: typedef
declares no type name
"Include/pyport.h", line 612: #error: "LONG_BIT
definition appears wrong for platform (bad gcc/glibc
config?)."
cc: acomp failed for Modules/python.c
*** Error code 2
make: Fatal error: Command failed for target
`Modules/python.o'
msg26405 - (view) Author: John Stone (jestone) Date: 2005-09-27 20:30
Logged In: YES 
user_id=48806

The Solaris 9 version of this compile failure is shorter:
make OPT="-xc99=%none -xarch=native64"
cc -c  -xc99=%none -xarch=native64 -I. -I./Include 
-DPy_BUILD_CORE -o Modules/python.o Modules/python.c
"Include/pyport.h", line 612: #error: "LONG_BIT definition
appears wrong for platform (bad gcc/glibc config?)."
cc: acomp failed for Modules/python.c
*** Error code 2
make: Fatal error: Command failed for target `Modules/python.o'
History
Date User Action Args
2022-04-11 14:56:13adminsetgithub: 42420
2005-09-27 20:20:03jestonecreate