[Python-Dev] Problems compiling Python 2.3.3 on Solaris 10 with gcc 3.4.1

Guido van Rossum gvanrossum at gmail.com
Thu Dec 16 17:15:43 CET 2004


If this still occurs with Python 2.3.4 or 2.4, please file a bug so it
can be fixed (python-dev isn't a good place to remember fixes).


On Thu, 16 Dec 2004 14:03:55 +0100, Eirik Mikkelsen
<eirik.mikkelsen at unix.net> wrote:
> On Thu, 2004-12-16 at 12:30 +0000, Johan Carlstedt wrote:
> > Hello,
> >
> > I am having problems compiling Python 2.3.3 on Solaris 10 X86 using gcc
> > 3.4.1. The error message below is generated.
> > 
> [SNIP]
> > Objects/complexobject.c
> > Objects/complexobject.c: In function `complex_pow':
> > Objects/complexobject.c:469: error: invalid operands to binary ==
> > Objects/complexobject.c:469: error: wrong type argument to unary minus
> > Objects/complexobject.c:469: error: invalid operands to binary ==
> > Objects/complexobject.c:469: error: wrong type argument to unary minus
> 
> Solaris 10 doesn't correctly define HUGE_VAL (I think it's called HUGE
> in their header files) - so you may want to change the #define in
> Include/pyport.h from
> 
> #define Py_HUGE_VAL HUGE_VAL
> 
> to
> 
> #define Py_HUGE_VAL HUGE
> 
> --
> Eirik Mikkelsen <eirik.mikkelsen at unix.net>
> 
> _______________________________________________
> Python-Dev mailing list
> Python-Dev at python.org
> http://mail.python.org/mailman/listinfo/python-dev
> Unsubscribe: http://mail.python.org/mailman/options/python-dev/guido%40python.org
> 


-- 
--Guido van Rossum (home page: http://www.python.org/~guido/)


More information about the Python-Dev mailing list