[ python-Bugs-1306211 ] Python 2.4.2c1 fails to build for 64-bit Solaris 9/10
SourceForge.net
noreply at sourceforge.net
Tue Sep 27 22:30:05 CEST 2005
Bugs item #1306211, was opened at 2005-09-27 20:20
Message generated for change (Comment added) made by jestone
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1306211&group_id=5470
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Build
Group: Python 2.4
Status: Open
Resolution: None
Priority: 5
Submitted By: John Stone (jestone)
Assigned to: Nobody/Anonymous (nobody)
Summary: Python 2.4.2c1 fails to build for 64-bit Solaris 9/10
Initial Comment:
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'
----------------------------------------------------------------------
>Comment By: John Stone (jestone)
Date: 2005-09-27 20:30
Message:
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'
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1306211&group_id=5470
More information about the Python-bugs-list
mailing list