[ python-Bugs-1460605 ] Python 2.4.2 does not compile on SunOS 5.10 using gcc

SourceForge.net noreply at sourceforge.net
Thu Mar 30 13:34:05 CEST 2006


Bugs item #1460605, was opened at 2006-03-29 13:22
Message generated for change (Comment added) made by schiotz
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1460605&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: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Jakob Schiøtz (schiotz)
Assigned to: Nobody/Anonymous (nobody)
Summary: Python 2.4.2 does not compile on SunOS 5.10 using gcc 

Initial Comment:
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.



----------------------------------------------------------------------

>Comment By: Jakob Schiøtz (schiotz)
Date: 2006-03-30 13:34

Message:
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


----------------------------------------------------------------------

Comment By: Martin v. Löwis (loewis)
Date: 2006-03-29 22:40

Message:
Logged In: YES 
user_id=21627

Can you please try 2.4.3 instead?

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1460605&group_id=5470


More information about the Python-bugs-list mailing list