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.2 does not compile on SunOS 5.10 using gcc
Type: Stage:
Components: Build Versions:
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: georg.brandl, loewis, schiotz
Priority: normal Keywords:

Created on 2006-03-29 11:22 by schiotz, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (4)
msg27956 - (view) Author: Jakob Schiøtz (schiotz) Date: 2006-03-29 11:22
Core Python does not compile on my university's Sun server.

$ ./configure --prefix=$HOME
$ gmake
   [ lots of output deleted ]
gcc -c -fno-strict-aliasing -DNDEBUG -g -O3 -Wall
-Wstrict-prototypes -I. -I./Include  -DPy_BUILD_CORE -o
Objects/cobject.o Objects/cobject.c
gcc -c -fno-strict-aliasing -DNDEBUG -g -O3 -Wall
-Wstrict-prototypes -I. -I./Include  -DPy_BUILD_CORE -o
Objects/complexobject.o Objects/complexobject.c
Objects/complexobject.c: In function `complex_pow':
Objects/complexobject.c:476: error: invalid operands to
binary ==
Objects/complexobject.c:476: error: wrong type argument
to unary minus
Objects/complexobject.c:476: error: invalid operands to
binary ==
Objects/complexobject.c:476: error: wrong type argument
to unary minus
gmake: *** [Objects/complexobject.o] Error 1

$ uname -a
SunOS hald 5.10 Generic_118822-18 sun4u sparc
SUNW,Sun-Fire-15000
~/src/Python-2.4.2

$ gcc --version
gcc (GCC) 3.4.3 (csl-sol210-3_4-branch+sol_rpath)
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying
conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.

msg27957 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2006-03-29 20:40
Logged In: YES 
user_id=21627

Can you please try 2.4.3 instead?
msg27958 - (view) Author: Jakob Schiøtz (schiotz) Date: 2006-03-30 11:34
Logged In: YES 
user_id=56465

Wow!  You have released a new version while I compiled the
old one.

The new version compiles just fine.

Thanks for your help!

Jakob
msg27959 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2006-03-30 11:58
Logged In: YES 
user_id=849994

Closing as Fixed then.
History
Date User Action Args
2022-04-11 14:56:16adminsetgithub: 43111
2006-03-29 11:22:41schiotzcreate